diff --git a/.github/workflows/integration-tests-against-emulator.yaml b/.github/workflows/integration-tests-against-emulator.yaml index 8a96013f0..07c17b664 100644 --- a/.github/workflows/integration-tests-against-emulator.yaml +++ b/.github/workflows/integration-tests-against-emulator.yaml @@ -149,6 +149,29 @@ jobs: - run: gcloud spanner instances create test-instance --config=emulator-config --description="Test Instance" --nodes=1 # run tests + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 16 + + - name: Install Dependencies + run: | + cd ui + npm ci + + - name: Start Local Server + run: | + cd ui + npm start & + + - name: Wait for Local Server to Start + run: npx wait-on http://localhost:4200 -t 30000 + + - name: Cypress run + run: | + cd ui + npx cypress run + - uses: actions/setup-go@v2 with: go-version: "1.19" @@ -157,4 +180,4 @@ jobs: env: SPANNER_EMULATOR_HOST: localhost:9010 SPANNER_MIGRATION_TOOL_TESTS_GCLOUD_PROJECT_ID: emulator-test-project - SPANNER_MIGRATION_TOOL_TESTS_GCLOUD_INSTANCE_ID: test-instance + SPANNER_MIGRATION_TOOL_TESTS_GCLOUD_INSTANCE_ID: test-instance \ No newline at end of file diff --git a/ui/cypress.config.ts b/ui/cypress.config.ts new file mode 100644 index 000000000..cb0b78113 --- /dev/null +++ b/ui/cypress.config.ts @@ -0,0 +1,10 @@ +import { defineConfig } from "cypress"; + +export default defineConfig({ + e2e: { + setupNodeEvents(on, config) { + // implement node event listeners here + }, + supportFile: false + }, +}); diff --git a/ui/cypress/e2e/spec.cy.ts b/ui/cypress/e2e/spec.cy.ts new file mode 100644 index 000000000..71e948140 --- /dev/null +++ b/ui/cypress/e2e/spec.cy.ts @@ -0,0 +1,88 @@ +import mockIConv from "../../src/mocks/conv"; + +describe('template spec', () => { + let url = window.location.origin; + beforeEach(() => { + // Intercept the backend APIs and return desired response. + cy.intercept('GET', `${url}/IsOffline`, { statusCode: 200, body: false }).as('getIsOffline'); + cy.intercept('GET', `${url}/GetSessions`, { statusCode: 200, body: [] }).as('getSessions'); + cy.intercept('GET', `${url}/GetConfig`, { statusCode: 200 }).as('getConfig'); + cy.intercept('GET', `${url}/GetLatestSessionDetails`, { statusCode: 200 }).as('getLatestSessionDetails'); + cy.visit('http://localhost:4200/'); + }); + + it('verify direct connection to mysql non-sharded database', () => { + cy.intercept('GET', `${url}/ping`, { statusCode: 200 }).as('checkBackendHealth'); + cy.intercept('GET', `${url}/convert/infoschema`, { statusCode: 200, body: mockIConv }).as('directConnection'); + + cy.get('.primary-header').eq(0).should('have.text', 'Get started with Spanner migration tool'); + cy.get('#edit-icon').should('exist').click(); + + cy.fixture('config').then((json) => { + cy.intercept('POST', `${url}/SetSpannerConfig`, (req) => { + req.reply({ + status: 200, + body: { + GCPProjectID: json.projectId, + SpannerInstanceID: json.instanceId, + IsMetadataDbCreated: false, + IsConfigValid: true, + }, + }); + }).as('setSpannerConfig'); + cy.get('#project-id').clear().type(json.projectId) + cy.get('#instance-id').clear().type(json.instanceId) + }) + + cy.get('#save-button').click(); + cy.get('#save-button', { timeout: 50000 }).should("not.exist"); + cy.get('#check-icon').should('exist'); + cy.get('#connect-to-database-btn', { timeout: 10000 }).should('exist'); + cy.get('#connect-to-database-btn').click(); + + // Wait for the connection to complete + cy.get('#direct-connection-component', { timeout: 10000 }).should('be.visible'); + + cy.get('#dbengine-input').click(); + cy.get('mat-option').contains('MySQL').click(); + + cy.fixture('mysql-config').then((json) => { + cy.intercept('POST', `${url}/connect`, (req) => { + if (req.body && req.body.Host === json.hostname && req.body.User === json.username && req.body.Driver === 'mysql' + && req.body.Password === json.password && req.body.Port === json.port && req.body.Database === json.dbName) { + req.reply({ + statusCode: 200, + }); + } else { + req.reply({ + statusCode: 400, + }); + } + }).as('testConnection'); + cy.get('#hostname-input').clear().type(json.hostname) + cy.get('#username-input').clear().type(json.username) + cy.get('#password-input').clear().type(json.password) + cy.get('#port-input').clear().type(json.port) + cy.get('#dbname-input').clear().type(json.dbName) + }) + + cy.get('#spanner-dialect-input').click(); + cy.fixture('constants').then((json) => { + cy.get('mat-option').contains(json.googleDialect).click(); + }) + + // Check if the button is enabled + cy.get('#test-connect-btn').should('be.enabled') + + // Submit the form + cy.get('#test-connect-btn').click(); + cy.get('#connect-btn', { timeout: 10000 }).should('be.enabled') + cy.get('#connect-btn').click(); + + // Check that workspace is rendered with correct number of tables in Object Viewer + cy.url().should('include', '/workspace'); + cy.fixture('mysql-config').then((json) => { + cy.get('#table-and-index-list').find('tbody tr').should('have.length', json.tableCount + 2); + }) + }); +}); \ No newline at end of file diff --git a/ui/cypress/fixtures/config.json b/ui/cypress/fixtures/config.json new file mode 100644 index 000000000..a34241612 --- /dev/null +++ b/ui/cypress/fixtures/config.json @@ -0,0 +1,4 @@ +{ + "projectId": "emulator-test-project", + "instanceId": "test-instance" +} diff --git a/ui/cypress/fixtures/constants.json b/ui/cypress/fixtures/constants.json new file mode 100644 index 000000000..998657865 --- /dev/null +++ b/ui/cypress/fixtures/constants.json @@ -0,0 +1,3 @@ +{ + "googleDialect": "Google Standard SQL Dialect" +} \ No newline at end of file diff --git a/ui/cypress/fixtures/mysql-config.json b/ui/cypress/fixtures/mysql-config.json new file mode 100644 index 000000000..2c22a667e --- /dev/null +++ b/ui/cypress/fixtures/mysql-config.json @@ -0,0 +1,8 @@ +{ + "hostname": "localhost", + "username": "root", + "password": "root", + "port": "3306", + "dbName": "test_interleave_table_data", + "tableCount": 1 +} \ No newline at end of file diff --git a/ui/dist/ui/index.html b/ui/dist/ui/index.html index e5676bee8..a58a0a959 100644 --- a/ui/dist/ui/index.html +++ b/ui/dist/ui/index.html @@ -12,5 +12,5 @@ - + diff --git a/ui/dist/ui/main.3729a3d5131db51a.js b/ui/dist/ui/main.3729a3d5131db51a.js deleted file mode 100644 index a0e3c0163..000000000 --- a/ui/dist/ui/main.3729a3d5131db51a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkui=self.webpackChunkui||[]).push([[179],{525:(bl,G,Pe)=>{"use strict";function z(t){return"function"==typeof t}function F(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const P=F(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function S(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class T{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;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:i}=this;if(z(i))try{i()}catch(r){n=r instanceof P?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{H(r)}catch(a){n=n??[],a instanceof P?n=[...n,...a.errors]:n.push(a)}}if(n)throw new P(n)}}add(n){var e;if(n&&n!==this)if(this.closed)H(n);else{if(n instanceof T){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&S(e,n)}remove(n){const{_finalizers:e}=this;e&&S(e,n),n instanceof T&&n._removeParent(this)}}T.EMPTY=(()=>{const t=new T;return t.closed=!0,t})();const $=T.EMPTY;function K(t){return t instanceof T||t&&"closed"in t&&z(t.remove)&&z(t.add)&&z(t.unsubscribe)}function H(t){z(t)?t():t.unsubscribe()}const U={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},M={setTimeout(t,n,...e){const{delegate:i}=M;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=M;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function B(t){M.setTimeout(()=>{const{onUnhandledError:n}=U;if(!n)throw t;n(t)})}function k(){}const R=q("C",void 0,void 0);function q(t,n,e){return{kind:t,value:n,error:e}}let ee=null;function J(t){if(U.useDeprecatedSynchronousErrorHandling){const n=!ee;if(n&&(ee={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=ee;if(ee=null,e)throw i}}else t()}class ge extends T{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,K(n)&&n.add(this)):this.destination=ye}static create(n,e,i){return new dt(n,e,i)}next(n){this.isStopped?x(function V(t){return q("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?x(function I(t){return q("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?x(R,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Be=Function.prototype.bind;function pe(t,n){return Be.call(t,n)}class $e{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){j(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){j(i)}else j(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){j(e)}}}class dt extends ge{constructor(n,e,i){let o;if(super(),z(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&U.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&pe(n.next,r),error:n.error&&pe(n.error,r),complete:n.complete&&pe(n.complete,r)}):o=n}this.destination=new $e(o)}}function j(t){U.useDeprecatedSynchronousErrorHandling?function De(t){U.useDeprecatedSynchronousErrorHandling&&ee&&(ee.errorThrown=!0,ee.error=t)}(t):B(t)}function x(t,n){const{onStoppedNotification:e}=U;e&&M.setTimeout(()=>e(t,n))}const ye={closed:!0,next:k,error:function be(t){throw t},complete:k},Ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function Te(t){return t}function Ve(t){return 0===t.length?Te:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let Ye=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function gt(t){return t&&t instanceof ge||function re(t){return t&&z(t.next)&&z(t.error)&&z(t.complete)}(t)&&K(t)}(e)?e:new dt(e,i,o);return J(()=>{const{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=le(i))((o,r)=>{const a=new dt({next:s=>{try{e(s)}catch(c){r(c),a.unsubscribe()}},error:r,complete:o});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Ct](){return this}pipe(...e){return Ve(e)(this)}toPromise(e){return new(e=le(e))((i,o)=>{let r;this.subscribe(a=>r=a,a=>o(a),()=>i(r))})}}return t.create=n=>new t(n),t})();function le(t){var n;return null!==(n=t??U.Promise)&&void 0!==n?n:Promise}const tt=F(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let te=(()=>{class t extends Ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new yi(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new tt}next(e){J(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){J(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){J(()=>{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:i,isStopped:o,observers:r}=this;return i||o?$:(this.currentObservers=null,r.push(e),new T(()=>{this.currentObservers=null,S(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new Ye;return e.source=this,e}}return t.create=(n,e)=>new yi(n,e),t})();class yi extends te{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:$}}function Ji(t){return z(t?.lift)}function rt(t){return n=>{if(Ji(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ct(t,n,e,i,o){return new Wi(t,n,e,i,o)}class Wi extends ge{constructor(n,e,i,o,r,a){super(n),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){n.error(c)}}:super._next,this._error=o?function(s){try{o(s)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Ge(t,n){return rt((e,i)=>{let o=0;e.subscribe(ct(i,r=>{i.next(t.call(n,r,o++))}))})}function Yn(t){return this instanceof Yn?(this.v=t,this):new Yn(t)}function Bs(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Jt(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(a){return new Promise(function(s,c){!function o(r,a,s,c){Promise.resolve(c).then(function(u){r({value:u,done:s})},a)}(s,c,(a=t[r](a)).done,a.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Cf=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function N0(t){return z(t?.then)}function L0(t){return z(t[Ct])}function B0(t){return Symbol.asyncIterator&&z(t?.[Symbol.asyncIterator])}function V0(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const j0=function ZA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function z0(t){return z(t?.[j0])}function H0(t){return function xi(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(y){i[y]&&(o[y]=function(C){return new Promise(function(A,O){r.push([y,C,A,O])>1||s(y,C)})})}function s(y,C){try{!function c(y){y.value instanceof Yn?Promise.resolve(y.value.v).then(u,p):b(r[0][2],y)}(i[y](C))}catch(A){b(r[0][3],A)}}function u(y){s("next",y)}function p(y){s("throw",y)}function b(y,C){y(C),r.shift(),r.length&&s(r[0][0],r[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield Yn(e.read());if(o)return yield Yn(void 0);yield yield Yn(i)}}finally{e.releaseLock()}})}function U0(t){return z(t?.getReader)}function wn(t){if(t instanceof Ye)return t;if(null!=t){if(L0(t))return function YA(t){return new Ye(n=>{const e=t[Ct]();if(z(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Cf(t))return function QA(t){return new Ye(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,B)})}(t);if(B0(t))return $0(t);if(z0(t))return function JA(t){return new Ye(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(U0(t))return function eP(t){return $0(H0(t))}(t)}throw V0(t)}function $0(t){return new Ye(n=>{(function tP(t,n){var e,i,o,r;return function je(t,n,e,i){return new(e||(e=Promise))(function(r,a){function s(p){try{u(i.next(p))}catch(b){a(b)}}function c(p){try{u(i.throw(p))}catch(b){a(b)}}function u(p){p.done?r(p.value):function o(r){return r instanceof e?r:new e(function(a){a(r)})}(p.value).then(s,c)}u((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Bs(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Mr(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function en(t,n,e=1/0){return z(n)?en((i,o)=>Ge((r,a)=>n(i,r,o,a))(wn(t(i,o))),e):("number"==typeof n&&(e=n),rt((i,o)=>function iP(t,n,e,i,o,r,a,s){const c=[];let u=0,p=0,b=!1;const y=()=>{b&&!c.length&&!u&&n.complete()},C=O=>u{r&&n.next(O),u++;let W=!1;wn(e(O,p++)).subscribe(ct(n,ce=>{o?.(ce),r?C(ce):n.next(ce)},()=>{W=!0},void 0,()=>{if(W)try{for(u--;c.length&&uA(ce)):A(ce)}y()}catch(ce){n.error(ce)}}))};return t.subscribe(ct(n,C,()=>{b=!0,y()})),()=>{s?.()}}(i,o,t,e)))}function js(t=1/0){return en(Te,t)}const so=new Ye(t=>t.complete());function G0(t){return t&&z(t.schedule)}function Df(t){return t[t.length-1]}function W0(t){return z(Df(t))?t.pop():void 0}function vl(t){return G0(Df(t))?t.pop():void 0}function q0(t,n=0){return rt((e,i)=>{e.subscribe(ct(i,o=>Mr(i,t,()=>i.next(o),n),()=>Mr(i,t,()=>i.complete(),n),o=>Mr(i,t,()=>i.error(o),n)))})}function K0(t,n=0){return rt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Z0(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ye(e=>{Mr(e,n,()=>{const i=t[Symbol.asyncIterator]();Mr(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function Bi(t,n){return n?function dP(t,n){if(null!=t){if(L0(t))return function rP(t,n){return wn(t).pipe(K0(n),q0(n))}(t,n);if(Cf(t))return function sP(t,n){return new Ye(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(N0(t))return function aP(t,n){return wn(t).pipe(K0(n),q0(n))}(t,n);if(B0(t))return Z0(t,n);if(z0(t))return function cP(t,n){return new Ye(e=>{let i;return Mr(e,n,()=>{i=t[j0](),Mr(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(a){return void e.error(a)}r?e.complete():e.next(o)},0,!0)}),()=>z(i?.return)&&i.return()})}(t,n);if(U0(t))return function lP(t,n){return Z0(H0(t),n)}(t,n)}throw V0(t)}(t,n):wn(t)}function wi(...t){const n=vl(t),e=function oP(t,n){return"number"==typeof Df(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?wn(i[0]):js(e)(Bi(i,n)):so}class bt extends te{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function qe(...t){return Bi(t,vl(t))}function Mu(t={}){const{connector:n=(()=>new te),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let a,s,c,u=0,p=!1,b=!1;const y=()=>{s?.unsubscribe(),s=void 0},C=()=>{y(),a=c=void 0,p=b=!1},A=()=>{const O=a;C(),O?.unsubscribe()};return rt((O,W)=>{u++,!b&&!p&&y();const ce=c=c??n();W.add(()=>{u--,0===u&&!b&&!p&&(s=kf(A,o))}),ce.subscribe(W),!a&&u>0&&(a=new dt({next:ie=>ce.next(ie),error:ie=>{b=!0,y(),s=kf(C,e,ie),ce.error(ie)},complete:()=>{p=!0,y(),s=kf(C,i),ce.complete()}}),wn(O).subscribe(a))})(r)}}function kf(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new dt({next:()=>{i.unsubscribe(),t()}});return wn(n(...e)).subscribe(i)}function qi(t,n){return rt((e,i)=>{let o=null,r=0,a=!1;const s=()=>a&&!o&&i.complete();e.subscribe(ct(i,c=>{o?.unsubscribe();let u=0;const p=r++;wn(t(c,p)).subscribe(o=ct(i,b=>i.next(n?n(c,b,p,u++):b),()=>{o=null,s()}))},()=>{a=!0,s()}))})}function zs(t,n=Te){return t=t??uP,rt((e,i)=>{let o,r=!0;e.subscribe(ct(i,a=>{const s=n(a);(r||!t(o,s))&&(r=!1,o=s,i.next(a))}))})}function uP(t,n){return t===n}function ri(t){for(let n in t)if(t[n]===ri)return n;throw Error("Could not find renamed property on target object.")}function Tu(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function tn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(tn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Sf(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const hP=ri({__forward_ref__:ri});function Ht(t){return t.__forward_ref__=Ht,t.toString=function(){return tn(this())},t}function Dt(t){return Mf(t)?t():t}function Mf(t){return"function"==typeof t&&t.hasOwnProperty(hP)&&t.__forward_ref__===Ht}function Tf(t){return t&&!!t.\u0275providers}const Y0="https://g.co/ng/security#xss";class de extends Error{constructor(n,e){super(function Iu(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function St(t){return"string"==typeof t?t:null==t?"":String(t)}function If(t,n){throw new de(-201,!1)}function Mo(t,n){null==t&&function vt(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function ke(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function st(t){return{providers:t.providers||[],imports:t.imports||[]}}function Eu(t){return Q0(t,Au)||Q0(t,X0)}function Q0(t,n){return t.hasOwnProperty(n)?t[n]:null}function Ou(t){return t&&(t.hasOwnProperty(Ef)||t.hasOwnProperty(yP))?t[Ef]:null}const Au=ri({\u0275prov:ri}),Ef=ri({\u0275inj:ri}),X0=ri({ngInjectableDef:ri}),yP=ri({ngInjectorDef:ri});var Vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Vt||{});let Of;function Qn(t){const n=Of;return Of=t,n}function ex(t,n,e){const i=Eu(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Vt.Optional?null:void 0!==n?n:void If(tn(t))}const mi=globalThis,yl={},Nf="__NG_DI_FLAG__",Pu="ngTempTokenPath",CP=/\n/gm,ix="__source";let Hs;function da(t){const n=Hs;return Hs=t,n}function SP(t,n=Vt.Default){if(void 0===Hs)throw new de(-203,!1);return null===Hs?ex(t,void 0,n):Hs.get(t,n&Vt.Optional?null:void 0,n)}function Z(t,n=Vt.Default){return(function J0(){return Of}()||SP)(Dt(t),n)}function Fe(t,n=Vt.Default){return Z(t,Ru(n))}function Ru(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Lf(t){const n=[];for(let e=0;en){a=r-1;break}}}for(;rr?"":o[b+1].toLowerCase();const C=8&i?y:null;if(C&&-1!==ax(C,u,0)||2&i&&u!==y){if(Uo(i))return!1;a=!0}}}}else{if(!a&&!Uo(i)&&!Uo(c))return!1;if(a&&Uo(c))continue;a=!1,i=c|1&i}}return Uo(i)||a}function Uo(t){return 0==(1&t)}function PP(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o-1)for(e++;e0?'="'+s+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!Uo(a)&&(n+=mx(r,o),o=""),i=a,r=r||!Uo(i);e++}return""!==o&&(n+=mx(r,o)),n}function Ee(t){return Tr(()=>{const n=fx(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Fu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||To.Emulated,styles:t.styles||qt,_:null,schemas:t.schemas||null,tView:null,id:""};gx(e);const i=t.dependencies;return e.directiveDefs=Lu(i,!1),e.pipeDefs=Lu(i,!0),e.id=function WP(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(e),e})}function HP(t){return $t(t)||hn(t)}function UP(t){return null!==t}function lt(t){return Tr(()=>({type:t.type,bootstrap:t.bootstrap||qt,declarations:t.declarations||qt,imports:t.imports||qt,exports:t.exports||qt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function px(t,n){if(null==t)return nr;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,n&&(n[o]=r)}return e}function X(t){return Tr(()=>{const n=fx(t);return gx(n),n})}function Xn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function $t(t){return t[Nu]||null}function hn(t){return t[Bf]||null}function Fn(t){return t[Vf]||null}function lo(t,n){const e=t[ox]||null;if(!e&&!0===n)throw new Error(`Type ${tn(t)} does not have '\u0275mod' property.`);return e}function fx(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||nr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||qt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:px(t.inputs,n),outputs:px(t.outputs)}}function gx(t){t.features?.forEach(n=>n(t))}function Lu(t,n){if(!t)return null;const e=n?Fn:HP;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(UP)}const Pi=0,Qe=1,Ot=2,Ci=3,$o=4,Dl=5,Cn=6,$s=7,Vi=8,ua=9,Gs=10,Mt=11,kl=12,_x=13,Ws=14,ji=15,Sl=16,qs=17,or=18,Ml=19,bx=20,ha=21,Er=22,Tl=23,Il=24,jt=25,zf=1,vx=2,rr=7,Ks=9,mn=11;function Jn(t){return Array.isArray(t)&&"object"==typeof t[zf]}function Nn(t){return Array.isArray(t)&&!0===t[zf]}function Hf(t){return 0!=(4&t.flags)}function es(t){return t.componentOffset>-1}function Vu(t){return 1==(1&t.flags)}function Go(t){return!!t.template}function Uf(t){return 0!=(512&t[Ot])}function ts(t,n){return t.hasOwnProperty(Ir)?t[Ir]:null}let pn=null,ju=!1;function Io(t){const n=pn;return pn=t,n}const wx={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Dx(t){if(!Ol(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Mx(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function Sx(t){t.dirty=!0,function kx(t){if(void 0===t.liveConsumerNode)return;const n=ju;ju=!0;try{for(const e of t.liveConsumerNode)e.dirty||Sx(e)}finally{ju=n}}(t),t.consumerMarkedDirty?.(t)}function Gf(t){return t&&(t.nextProducerIndex=0),Io(t)}function Wf(t,n){if(Io(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(Ol(t))for(let e=t.nextProducerIndex;et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Mx(t){Zs(t);for(let n=0;n0}function Zs(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let Ox=null;function Rx(t){const n=Io(null);try{return t()}finally{Io(n)}}const Fx=()=>{},rR=(()=>({...wx,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:Fx}))();class aR{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ai(){return Nx}function Nx(t){return t.type.prototype.ngOnChanges&&(t.setInput=cR),sR}function sR(){const t=Bx(this),n=t?.current;if(n){const e=t.previous;if(e===nr)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function cR(t,n,e,i){const o=this.declaredInputs[e],r=Bx(t)||function lR(t,n){return t[Lx]=n}(t,{previous:nr,current:null}),a=r.current||(r.current={}),s=r.previous,c=s[o];a[o]=new aR(c&&c.currentValue,n,s===nr),t[i]=n}ai.ngInherit=!0;const Lx="__ngSimpleChanges__";function Bx(t){return t[Lx]||null}const ar=function(t,n,e){},Vx="svg";function pi(t){for(;Array.isArray(t);)t=t[Pi];return t}function Hu(t,n){return pi(n[t])}function eo(t,n){return pi(n[t.index])}function zx(t,n){return t.data[n]}function Ys(t,n){return t[n]}function uo(t,n){const e=n[t];return Jn(e)?e:e[Pi]}function pa(t,n){return null==n?null:t[n]}function Hx(t){t[qs]=0}function fR(t){1024&t[Ot]||(t[Ot]|=1024,$x(t,1))}function Ux(t){1024&t[Ot]&&(t[Ot]&=-1025,$x(t,-1))}function $x(t,n){let e=t[Ci];if(null===e)return;e[Dl]+=n;let i=e;for(e=e[Ci];null!==e&&(1===n&&1===i[Dl]||-1===n&&0===i[Dl]);)e[Dl]+=n,i=e,e=e[Ci]}const yt={lFrame:tw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function qx(){return yt.bindingsEnabled}function Qs(){return null!==yt.skipHydrationRootTNode}function Ce(){return yt.lFrame.lView}function Gt(){return yt.lFrame.tView}function ae(t){return yt.lFrame.contextLView=t,t[Vi]}function se(t){return yt.lFrame.contextLView=null,t}function fn(){let t=Kx();for(;null!==t&&64===t.type;)t=t.parent;return t}function Kx(){return yt.lFrame.currentTNode}function sr(t,n){const e=yt.lFrame;e.currentTNode=t,e.isParent=n}function Qf(){return yt.lFrame.isParent}function Xf(){yt.lFrame.isParent=!1}function Ln(){const t=yt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Or(){return yt.lFrame.bindingIndex}function Xs(){return yt.lFrame.bindingIndex++}function Ar(t){const n=yt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function MR(t,n){const e=yt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Jf(n)}function Jf(t){yt.lFrame.currentDirectiveIndex=t}function eg(t){const n=yt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Xx(){return yt.lFrame.currentQueryIndex}function tg(t){yt.lFrame.currentQueryIndex=t}function IR(t){const n=t[Qe];return 2===n.type?n.declTNode:1===n.type?t[Cn]:null}function Jx(t,n,e){if(e&Vt.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&Vt.Host||(o=IR(r),null===o||(r=r[Ws],10&o.type))););if(null===o)return!1;n=o,t=r}const i=yt.lFrame=ew();return i.currentTNode=n,i.lView=t,!0}function ig(t){const n=ew(),e=t[Qe];yt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function ew(){const t=yt.lFrame,n=null===t?null:t.child;return null===n?tw(t):n}function tw(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function iw(){const t=yt.lFrame;return yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const nw=iw;function ng(){const t=iw();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Bn(){return yt.lFrame.selectedIndex}function is(t){yt.lFrame.selectedIndex=t}function Ei(){const t=yt.lFrame;return zx(t.tView,t.selectedIndex)}function di(){yt.lFrame.currentNamespace=Vx}function Pr(){!function PR(){yt.lFrame.currentNamespace=null}()}let rw=!0;function Uu(){return rw}function fa(t){rw=t}function $u(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[c]<0&&(t[qs]+=65536),(s>13>16&&(3&t[Ot])===n&&(t[Ot]+=8192,sw(s,r)):sw(s,r)}const Js=-1;class Pl{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function ag(t){return t!==Js}function Rl(t){return 32767&t}function Fl(t,n){let e=function VR(t){return t>>16}(t),i=n;for(;e>0;)i=i[Ws],e--;return i}let sg=!0;function qu(t){const n=sg;return sg=t,n}const cw=255,lw=5;let jR=0;const cr={};function Ku(t,n){const e=dw(t,n);if(-1!==e)return e;const i=n[Qe];i.firstCreatePass&&(t.injectorIndex=n.length,cg(i.data,t),cg(n,null),cg(i.blueprint,null));const o=Zu(t,n),r=t.injectorIndex;if(ag(o)){const a=Rl(o),s=Fl(o,n),c=s[Qe].data;for(let u=0;u<8;u++)n[r+u]=s[a+u]|c[a+u]}return n[r+8]=o,r}function cg(t,n){t.push(0,0,0,0,0,0,0,0,n)}function dw(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Zu(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=_w(o),null===i)return Js;if(e++,o=o[Ws],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Js}function lg(t,n,e){!function zR(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(wl)&&(i=e[wl]),null==i&&(i=e[wl]=jR++);const o=i&cw;n.data[t+(o>>lw)]|=1<=0?n&cw:WR:n}(e);if("function"==typeof r){if(!Jx(n,t,i))return i&Vt.Host?uw(o,0,i):hw(n,e,i,o);try{let a;if(a=r(i),null!=a||i&Vt.Optional)return a;If()}finally{nw()}}else if("number"==typeof r){let a=null,s=dw(t,n),c=Js,u=i&Vt.Host?n[ji][Cn]:null;for((-1===s||i&Vt.SkipSelf)&&(c=-1===s?Zu(t,n):n[s+8],c!==Js&&gw(i,!1)?(a=n[Qe],s=Rl(c),n=Fl(c,n)):s=-1);-1!==s;){const p=n[Qe];if(fw(r,s,p.data)){const b=UR(s,n,e,a,i,u);if(b!==cr)return b}c=n[s+8],c!==Js&&gw(i,n[Qe].data[s+8]===u)&&fw(r,s,n)?(a=p,s=Rl(c),n=Fl(c,n)):s=-1}}return o}function UR(t,n,e,i,o,r){const a=n[Qe],s=a.data[t+8],p=Yu(s,a,e,null==i?es(s)&&sg:i!=a&&0!=(3&s.type),o&Vt.Host&&r===s);return null!==p?ns(n,a,p,s):cr}function Yu(t,n,e,i,o){const r=t.providerIndexes,a=n.data,s=1048575&r,c=t.directiveStart,p=r>>20,y=o?s+p:t.directiveEnd;for(let C=i?s:s+p;C=c&&A.type===e)return C}if(o){const C=a[c];if(C&&Go(C)&&C.type===e)return c}return null}function ns(t,n,e,i){let o=t[e];const r=n.data;if(function NR(t){return t instanceof Pl}(o)){const a=o;a.resolving&&function mP(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new de(-200,`Circular dependency in DI detected for ${t}${e}`)}(function ei(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():St(t)}(r[e]));const s=qu(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Qn(a.injectImpl):null;Jx(t,i,Vt.Default);try{o=t[e]=a.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function RR(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const a=Nx(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}(e,r[e],n)}finally{null!==u&&Qn(u),qu(s),a.resolving=!1,nw()}}return o}function fw(t,n,e){return!!(e[n+(t>>lw)]&1<{const n=t.prototype.constructor,e=n[Ir]||dg(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[Ir]||dg(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function dg(t){return Mf(t)?()=>{const n=dg(Dt(t));return n&&n()}:ts(t)}function _w(t){const n=t[Qe],e=n.type;return 2===e?n.declTNode:1===e?t[Cn]:null}function jn(t){return function HR(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{const i=function ug(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const a=new o(...r);return s.annotation=a,s;function s(c,u,p){const b=c.hasOwnProperty(tc)?c[tc]:Object.defineProperty(c,tc,{value:[]})[tc];for(;b.length<=p;)b.push(null);return(b[p]=b[p]||[]).push(a),c}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function rc(t,n){t.forEach(e=>Array.isArray(e)?rc(e,n):n(e))}function vw(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Qu(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Bl(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function eF(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function hg(t,n){const e=ac(t,n);if(e>=0)return t[1|e]}function ac(t,n){return function yw(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),a=t[r<n?o=r:i=r+1}return~(o<|^->||--!>|)/g,CF="\u200b$1\u200b";const _g=new Map;let DF=0;const vg="__ngContext__";function Dn(t,n){Jn(n)?(t[vg]=n[Ml],function SF(t){_g.set(t[Ml],t)}(n)):t[vg]=n}let yg;function xg(t,n){return yg(t,n)}function Hl(t){const n=t[Ci];return Nn(n)?n[Ci]:n}function jw(t){return Hw(t[kl])}function zw(t){return Hw(t[$o])}function Hw(t){for(;null!==t&&!Nn(t);)t=t[$o];return t}function lc(t,n,e,i,o){if(null!=i){let r,a=!1;Nn(i)?r=i:Jn(i)&&(a=!0,i=i[Pi]);const s=pi(i);0===t&&null!==e?null==o?Ww(n,e,s):rs(n,e,s,o||null,!0):1===t&&null!==e?rs(n,e,s,o||null,!0):2===t?function dh(t,n,e){const i=ch(t,n);i&&function GF(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,s,a):3===t&&n.destroyNode(s),null!=r&&function KF(t,n,e,i,o){const r=e[rr];r!==pi(e)&&lc(n,t,i,r,o);for(let s=mn;sn.replace(wF,CF))}(n))}function ah(t,n,e){return t.createElement(n,e)}function $w(t,n){const e=t[Ks],i=e.indexOf(n);Ux(n),e.splice(i,1)}function sh(t,n){if(t.length<=mn)return;const e=mn+n,i=t[e];if(i){const o=i[Sl];null!==o&&o!==t&&$w(o,i),n>0&&(t[e-1][$o]=i[$o]);const r=Qu(t,mn+n);!function LF(t,n){$l(t,n,n[Mt],2,null,null),n[Pi]=null,n[Cn]=null}(i[Qe],i);const a=r[or];null!==a&&a.detachView(r[Qe]),i[Ci]=null,i[$o]=null,i[Ot]&=-129}return i}function Cg(t,n){if(!(256&n[Ot])){const e=n[Mt];n[Tl]&&Tx(n[Tl]),n[Il]&&Tx(n[Il]),e.destroyNode&&$l(t,n,e,3,null,null),function jF(t){let n=t[kl];if(!n)return Dg(t[Qe],t);for(;n;){let e=null;if(Jn(n))e=n[kl];else{const i=n[mn];i&&(e=i)}if(!e){for(;n&&!n[$o]&&n!==t;)Jn(n)&&Dg(n[Qe],n),n=n[Ci];null===n&&(n=t),Jn(n)&&Dg(n[Qe],n),e=n&&n[$o]}n=e}}(n)}}function Dg(t,n){if(!(256&n[Ot])){n[Ot]&=-129,n[Ot]|=256,function $F(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[a]():i[-a].unsubscribe(),r+=2}else e[r].call(i[e[r+1]]);null!==i&&(n[$s]=null);const o=n[ha];if(null!==o){n[ha]=null;for(let r=0;r-1){const{encapsulation:r}=t.data[i.directiveStart+o];if(r===To.None||r===To.Emulated)return null}return eo(i,e)}}(t,n.parent,e)}function rs(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Ww(t,n,e){t.appendChild(n,e)}function qw(t,n,e,i,o){null!==i?rs(t,n,e,i,o):Ww(t,n,e)}function ch(t,n){return t.parentNode(n)}function Kw(t,n,e){return Yw(t,n,e)}let Sg,uh,Eg,hh,Yw=function Zw(t,n,e){return 40&t.type?eo(t,e):null};function lh(t,n,e,i){const o=kg(t,i,n),r=n[Mt],s=Kw(i.parent||n[Cn],i,n);if(null!=o)if(Array.isArray(e))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return uh}()?.createHTML(t)||t}function uc(){if(void 0!==Eg)return Eg;if(typeof document<"u")return document;throw new de(210,!1)}function Og(){if(void 0===hh&&(hh=null,mi.trustedTypes))try{hh=mi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hh}function nC(t){return Og()?.createHTML(t)||t}function rC(t){return Og()?.createScriptURL(t)||t}class as{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Y0})`}}class tN extends as{getTypeName(){return"HTML"}}class iN extends as{getTypeName(){return"Style"}}class nN extends as{getTypeName(){return"Script"}}class oN extends as{getTypeName(){return"URL"}}class rN extends as{getTypeName(){return"ResourceURL"}}function mo(t){return t instanceof as?t.changingThisBreaksApplicationSecurity:t}function lr(t,n){const e=function aN(t){return t instanceof as&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Y0})`)}return e===n}class hN{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(dc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class mN{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=dc(n),e}}const fN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function mh(t){return(t=String(t)).match(fN)?t:"unsafe:"+t}function Rr(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function Gl(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const sC=Rr("area,br,col,hr,img,wbr"),cC=Rr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lC=Rr("rp,rt"),Ag=Gl(sC,Gl(cC,Rr("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")),Gl(lC,Rr("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")),Gl(lC,cC)),Pg=Rr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dC=Gl(Pg,Rr("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"),Rr("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")),gN=Rr("script,style,template");class _N{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!Ag.hasOwnProperty(e))return this.sanitizedSomething=!0,!gN.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();Ag.hasOwnProperty(e)&&!sC.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(uC(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const bN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vN=/([^\#-~ |!])/g;function uC(t){return t.replace(/&/g,"&").replace(bN,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(vN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ph;function hC(t,n){let e=null;try{ph=ph||function aC(t){const n=new mN(t);return function pN(){try{return!!(new window.DOMParser).parseFromString(dc(""),"text/html")}catch{return!1}}()?new hN(n):n}(t);let i=n?String(n):"";e=ph.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=ph.getInertBodyElement(i)}while(i!==r);return dc((new _N).sanitizeChildren(Rg(e)||e))}finally{if(e){const i=Rg(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Rg(t){return"content"in t&&function yN(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(gn||{});function mC(t){const n=Wl();return n?nC(n.sanitize(gn.HTML,t)||""):lr(t,"HTML")?nC(mo(t)):hC(uc(),St(t))}function kn(t){const n=Wl();return n?n.sanitize(gn.URL,t)||"":lr(t,"URL")?mo(t):mh(St(t))}function pC(t){const n=Wl();if(n)return rC(n.sanitize(gn.RESOURCE_URL,t)||"");if(lr(t,"ResourceURL"))return rC(mo(t));throw new de(904,!1)}function Wl(){const t=Ce();return t&&t[Gs].sanitizer}class oe{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ke({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ql=new oe("ENVIRONMENT_INITIALIZER"),gC=new oe("INJECTOR",-1),_C=new oe("INJECTOR_DEF_TYPES");class Fg{get(n,e=yl){if(e===yl){const i=new Error(`NullInjectorError: No provider for ${tn(n)}!`);throw i.name="NullInjectorError",i}return e}}function SN(...t){return{\u0275providers:bC(0,t),\u0275fromNgModule:!0}}function bC(t,...n){const e=[],i=new Set;let o;const r=a=>{e.push(a)};return rc(n,a=>{const s=a;fh(s,r,[],i)&&(o||=[],o.push(s))}),void 0!==o&&vC(o,r),e}function vC(t,n){for(let e=0;e{n(r,i)})}}function fh(t,n,e,i){if(!(t=Dt(t)))return!1;let o=null,r=Ou(t);const a=!r&&$t(t);if(r||a){if(a&&!a.standalone)return!1;o=t}else{const c=t.ngModule;if(r=Ou(c),!r)return!1;o=c}const s=i.has(o);if(a){if(s)return!1;if(i.add(o),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const u of c)fh(u,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!s){let u;i.add(o);try{rc(r.imports,p=>{fh(p,n,e,i)&&(u||=[],u.push(p))})}finally{}void 0!==u&&vC(u,n)}if(!s){const u=ts(o)||(()=>new o);n({provide:o,useFactory:u,deps:qt},o),n({provide:_C,useValue:o,multi:!0},o),n({provide:ql,useValue:()=>Z(o),multi:!0},o)}const c=r.providers;if(null!=c&&!s){const u=t;Lg(c,p=>{n(p,u)})}}}return o!==t&&void 0!==t.providers}function Lg(t,n){for(let e of t)Tf(e)&&(e=e.\u0275providers),Array.isArray(e)?Lg(e,n):n(e)}const MN=ri({provide:String,useValue:ri});function Bg(t){return null!==t&&"object"==typeof t&&MN in t}function ss(t){return"function"==typeof t}const Vg=new oe("Set Injector scope."),gh={},IN={};let jg;function _h(){return void 0===jg&&(jg=new Fg),jg}class po{}class bh extends po{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Hg(n,a=>this.processProvider(a)),this.records.set(gC,hc(void 0,this)),o.has("environment")&&this.records.set(po,hc(void 0,this));const r=this.records.get(Vg);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(_C.multi,qt,Vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of n)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=da(this),i=Qn(void 0);try{return n()}finally{da(e),Qn(i)}}get(n,e=yl,i=Vt.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(rx))return n[rx](this);i=Ru(i);const r=da(this),a=Qn(void 0);try{if(!(i&Vt.SkipSelf)){let c=this.records.get(n);if(void 0===c){const u=function RN(t){return"function"==typeof t||"object"==typeof t&&t instanceof oe}(n)&&Eu(n);c=u&&this.injectableDefInScope(u)?hc(zg(n),gh):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(i&Vt.Self?_h():this.parent).get(n,e=i&Vt.Optional&&e===yl?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Pu]=s[Pu]||[]).unshift(tn(n)),r)throw s;return function TP(t,n,e,i){const o=t[Pu];throw n[ix]&&o.unshift(n[ix]),t.message=function IP(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=tn(n);if(Array.isArray(n))o=n.map(tn).join(" -> ");else if("object"==typeof n){let r=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];r.push(a+":"+("string"==typeof s?JSON.stringify(s):tn(s)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(CP,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[Pu]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Qn(a),da(r)}}resolveInjectorInitializers(){const n=da(this),e=Qn(void 0);try{const o=this.get(ql.multi,qt,Vt.Self);for(const r of o)r()}finally{da(n),Qn(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(tn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new de(205,!1)}processProvider(n){let e=ss(n=Dt(n))?n:Dt(n&&n.provide);const i=function ON(t){return Bg(t)?hc(void 0,t.useValue):hc(wC(t),gh)}(n);if(ss(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=hc(void 0,gh,!0),o.factory=()=>Lf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===gh&&(e.value=IN,e.value=e.factory()),"object"==typeof e.value&&e.value&&function PN(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Dt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function zg(t){const n=Eu(t),e=null!==n?n.factory:ts(t);if(null!==e)return e;if(t instanceof oe)throw new de(204,!1);if(t instanceof Function)return function EN(t){const n=t.length;if(n>0)throw Bl(n,"?"),new de(204,!1);const e=function vP(t){return t&&(t[Au]||t[X0])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new de(204,!1)}function wC(t,n,e){let i;if(ss(t)){const o=Dt(t);return ts(o)||zg(o)}if(Bg(t))i=()=>Dt(t.useValue);else if(function xC(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Lf(t.deps||[]));else if(function yC(t){return!(!t||!t.useExisting)}(t))i=()=>Z(Dt(t.useExisting));else{const o=Dt(t&&(t.useClass||t.provide));if(!function AN(t){return!!t.deps}(t))return ts(o)||zg(o);i=()=>new o(...Lf(t.deps))}return i}function hc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Hg(t,n){for(const e of t)Array.isArray(e)?Hg(e,n):e&&Tf(e)?Hg(e.\u0275providers,n):n(e)}const Kl=new oe("AppId",{providedIn:"root",factory:()=>FN}),FN="ng",CC=new oe("Platform Initializer"),_a=new oe("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ti=new oe("AnimationModuleType"),Ug=new oe("CSP nonce",{providedIn:"root",factory:()=>uc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let DC=(t,n,e)=>null;function Qg(t,n,e=!1){return DC(t,n,e)}class GN{}class MC{}class qN{resolveComponentFactory(n){throw function WN(t){const n=Error(`No component factory found for ${tn(t)}.`);return n.ngComponent=t,n}(n)}}let cs=(()=>{class t{static#e=this.NULL=new qN}return t})();function KN(){return fc(fn(),Ce())}function fc(t,n){return new Le(eo(t,n))}let Le=(()=>{class t{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=KN}return t})();function ZN(t){return t instanceof Le?t.nativeElement:t}class Ql{}let Fr=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function YN(){const t=Ce(),e=uo(fn().index,t);return(Jn(e)?e:t)[Mt]}()}return t})(),QN=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>null})}return t})();class ls{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const XN=new ls("16.2.10"),e_={};function AC(t,n=null,e=null,i){const o=PC(t,n,e,i);return o.resolveInjectorInitializers(),o}function PC(t,n=null,e=null,i,o=new Set){const r=[e||qt,SN(t)];return i=i||("object"==typeof t?void 0:tn(t)),new bh(r,n||_h(),i||null,o)}let Di=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=yl;static#t=this.NULL=new Fg;static create(e,i){if(Array.isArray(e))return AC({name:""},i,e,"");{const o=e.name??"";return AC({name:o},e.parent,e.providers,o)}}static#i=this.\u0275prov=ke({token:t,providedIn:"any",factory:()=>Z(gC)});static#n=this.__NG_ELEMENT_ID__=-1}return t})();function i_(t){return t.ngOriginalError}class Oo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&i_(n);for(;e&&i_(e);)e=i_(e);return e||null}}function o_(t){return n=>{setTimeout(t,void 0,n)}}const Ne=class a3 extends te{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,r=e||(()=>null),a=i;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),r=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(r=o_(r),o&&(o=o_(o)),a&&(a=o_(a)));const s=super.subscribe({next:o,error:r,complete:a});return n instanceof T&&n.add(s),s}};function FC(...t){}class We{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),typeof Zone>"u")throw new de(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function s3(){const t="function"==typeof mi.requestAnimationFrame;let n=mi[t?"requestAnimationFrame":"setTimeout"],e=mi[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&e){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const o=e[Zone.__symbol__("OriginalDelegate")];o&&(e=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function d3(t){const n=()=>{!function l3(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(mi,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,a_(t),t.isCheckStableRunning=!0,r_(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),a_(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,a,s)=>{if(function h3(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(s))return e.invokeTask(o,r,a,s);try{return NC(t),e.invokeTask(o,r,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),LC(t)}},onInvoke:(e,i,o,r,a,s,c)=>{try{return NC(t),e.invoke(o,r,a,s,c)}finally{t.shouldCoalesceRunChangeDetection&&n(),LC(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,a_(t),r_(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!We.isInAngularZone())throw new de(909,!1)}static assertNotInAngularZone(){if(We.isInAngularZone())throw new de(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,n,c3,FC,FC);try{return r.runTask(a,e,i)}finally{r.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const c3={};function r_(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function a_(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function NC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function LC(t){t._nesting--,r_(t)}class u3{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const BC=new oe("",{providedIn:"root",factory:VC});function VC(){const t=Fe(We);let n=!0;return wi(new Ye(o=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(n),o.complete()})}),new Ye(o=>{let r;t.runOutsideAngular(()=>{r=t.onStable.subscribe(()=>{We.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const a=t.onUnstable.subscribe(()=>{We.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{r.unsubscribe(),a.unsubscribe()}}).pipe(Mu()))}function Nr(t){return t instanceof Function?t():t}let s_=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>new t})}return t})();function Xl(t){for(;t;){t[Ot]|=64;const n=Hl(t);if(Uf(t)&&!n)return t;t=n}return null}const $C=new oe("",{providedIn:"root",factory:()=>!1});let kh=null;function KC(t,n){return t[n]??QC()}function ZC(t,n){const e=QC();e.producerNode?.length&&(t[n]=kh,e.lView=t,kh=YC())}const w3={...wx,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Xl(t.lView)},lView:null};function YC(){return Object.create(w3)}function QC(){return kh??=YC(),kh}const It={};function m(t){XC(Gt(),Ce(),Bn()+t,!1)}function XC(t,n,e,i){if(!i)if(3==(3&n[Ot])){const r=t.preOrderCheckHooks;null!==r&&Gu(n,r,e)}else{const r=t.preOrderHooks;null!==r&&Wu(n,r,0,e)}is(e)}function g(t,n=Vt.Default){const e=Ce();return null===e?Z(t,n):mw(fn(),e,Dt(t),n)}function Lr(){throw new Error("invalid")}function Sh(t,n,e,i,o,r,a,s,c,u,p){const b=n.blueprint.slice();return b[Pi]=o,b[Ot]=140|i,(null!==u||t&&2048&t[Ot])&&(b[Ot]|=2048),Hx(b),b[Ci]=b[Ws]=t,b[Vi]=e,b[Gs]=a||t&&t[Gs],b[Mt]=s||t&&t[Mt],b[ua]=c||t&&t[ua]||null,b[Cn]=r,b[Ml]=function kF(){return DF++}(),b[Er]=p,b[bx]=u,b[ji]=2==n.type?t[ji]:b,b}function bc(t,n,e,i,o){let r=t.data[n];if(null===r)r=function c_(t,n,e,i,o){const r=Kx(),a=Qf(),c=t.data[n]=function E3(t,n,e,i,o,r){let a=n?n.injectorIndex:-1,s=0;return Qs()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?r:r&&r.parent,e,n,i,o);return null===t.firstChild&&(t.firstChild=c),null!==r&&(a?null==r.child&&null!==c.parent&&(r.child=c):null===r.next&&(r.next=c,c.prev=r)),c}(t,n,e,i,o),function SR(){return yt.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=e,r.value=i,r.attrs=o;const a=function Al(){const t=yt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();r.injectorIndex=null===a?-1:a.injectorIndex}return sr(r,!0),r}function Jl(t,n,e,i){if(0===e)return-1;const o=n.length;for(let r=0;rjt&&XC(t,n,jt,!1),ar(s?2:0,o);const u=s?r:null,p=Gf(u);try{null!==u&&(u.dirty=!1),e(i,o)}finally{Wf(u,p)}}finally{s&&null===n[Tl]&&ZC(n,Tl),is(a),ar(s?3:1,o)}}function l_(t,n,e){if(Hf(n)){const i=Io(null);try{const r=n.directiveEnd;for(let a=n.directiveStart;anull;function n1(t,n,e,i){for(let o in t)if(t.hasOwnProperty(o)){e=null===e?{}:e;const r=t[o];null===i?o1(e,n,o,r):i.hasOwnProperty(o)&&o1(e,n,i[o],r)}return e}function o1(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function fo(t,n,e,i,o,r,a,s){const c=eo(n,e);let p,u=n.inputs;!s&&null!=u&&(p=u[i])?(__(t,e,p,i,o),es(n)&&function P3(t,n){const e=uo(n,t);16&e[Ot]||(e[Ot]|=64)}(e,n.index)):3&n.type&&(i=function A3(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=a?a(o,n.value||"",i):o,r.setProperty(c,i,o))}function m_(t,n,e,i){if(qx()){const o=null===i?null:{"":-1},r=function V3(t,n){const e=t.directiveRegistry;let i=null,o=null;if(e)for(let r=0;r0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,i,r)}}(t,n,i,Jl(t,e,o.hostVars,It),o)}function dr(t,n,e,i,o,r){const a=eo(t,n);!function f_(t,n,e,i,o,r,a){if(null==r)t.removeAttribute(n,o,e);else{const s=null==a?St(r):a(r,i||"",o);t.setAttribute(n,o,s,e)}}(n[Mt],a,r,t.value,e,i,o)}function G3(t,n,e,i,o,r){const a=r[n];if(null!==a)for(let s=0;s{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,i,o){const r=typeof Zone>"u"?null:Zone.current,a=function oR(t,n,e){const i=Object.create(rR);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;const o=a=>{i.cleanupFn=a};return i.ref={notify:()=>Sx(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Mx(i))return;i.hasRun=!0;const a=Gf(i);try{i.cleanupFn(),i.cleanupFn=Fx,i.fn(o)}finally{Wf(i,a)}},cleanup:()=>i.cleanupFn()},i.ref}(e,u=>{this.all.has(u)&&this.queue.set(u,r)},o);let s;this.all.add(a),a.notify();const c=()=>{a.cleanup(),s?.(),this.all.delete(a),this.queue.delete(a)};return s=i?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>new t})}return t})();function Th(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(null!==n)for(let a=0;a0){_1(t,1);const o=e.components;null!==o&&v1(t,o,1)}}function v1(t,n,e){for(let i=0;i-1&&(sh(n,i),Qu(e,i))}this._attachedToViewContainer=!1}Cg(this._lView[Qe],this._lView)}onDestroy(n){!function Gx(t,n){if(256==(256&t[Ot]))throw new de(911,!1);null===t[ha]&&(t[ha]=[]),t[ha].push(n)}(this._lView,n)}markForCheck(){Xl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ot]&=-129}reattach(){this._lView[Ot]|=128}detectChanges(){Ih(this._lView[Qe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new de(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function VF(t,n){$l(t,n,n[Mt],2,null,null)}(this._lView[Qe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new de(902,!1);this._appRef=n}}class eL extends td{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Ih(n[Qe],n,n[Vi],!1)}checkNoChanges(){}get context(){return null}}class y1 extends cs{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=$t(n);return new id(e,this.ngModule)}}function x1(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class iL{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Ru(i);const o=this.injector.get(n,e_,i);return o!==e_||e===e_?o:this.parentInjector.get(n,e,i)}}class id extends MC{get inputs(){const n=this.componentDef,e=n.inputTransforms,i=x1(n.inputs);if(null!==e)for(const o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return x1(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function VP(t){return t.map(BP).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=(o=o||this.ngModule)instanceof po?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const a=r?new iL(n,r):n,s=a.get(Ql,null);if(null===s)throw new de(407,!1);const b={rendererFactory:s,sanitizer:a.get(QN,null),effectManager:a.get(p1,null),afterRenderEventManager:a.get(s_,null)},y=s.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||"div",A=i?function k3(t,n,e,i){const r=i.get($C,!1)||e===To.ShadowDom,a=t.selectRootElement(n,r);return function S3(t){t1(t)}(a),a}(y,i,this.componentDef.encapsulation,a):ah(y,C,function tL(t){const n=t.toLowerCase();return"svg"===n?Vx:"math"===n?"math":null}(C)),ce=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let ie=null;null!==A&&(ie=Qg(A,a,!0));const He=h_(0,null,null,1,0,null,null,null,null,null,null),Je=Sh(null,He,null,ce,null,null,b,y,a,null,ie);let kt,li;ig(Je);try{const bi=this.componentDef;let xn,Do=null;bi.findHostDirectiveDefs?(xn=[],Do=new Map,bi.findHostDirectiveDefs(bi,xn,Do),xn.push(bi)):xn=[bi];const ir=function oL(t,n){const e=t[Qe],i=jt;return t[i]=n,bc(e,i,2,"#host",null)}(Je,A),bf=function rL(t,n,e,i,o,r,a){const s=o[Qe];!function aL(t,n,e,i){for(const o of t)n.mergedAttrs=Cl(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Th(n,n.mergedAttrs,!0),null!==e&&iC(i,e,n))}(i,t,n,a);let c=null;null!==n&&(c=Qg(n,o[ua]));const u=r.rendererFactory.createRenderer(n,e);let p=16;e.signals?p=4096:e.onPush&&(p=64);const b=Sh(o,e1(e),null,p,o[t.index],t,r,u,null,null,c);return s.firstCreatePass&&p_(s,t,i.length-1),Mh(o,b),o[t.index]=b}(ir,A,bi,xn,Je,b,y);li=zx(He,jt),A&&function cL(t,n,e,i){if(i)jf(t,e,["ng-version",XN.full]);else{const{attrs:o,classes:r}=function jP(t){const n=[],e=[];let i=1,o=2;for(;i0&&tC(t,e,r.join(" "))}}(y,bi,A,i),void 0!==e&&function lL(t,n,e){const i=t.projection=[];for(let o=0;o=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Cl(o.hostAttrs,e=Cl(e,o.hostAttrs))}}(i)}function Eh(t){return t===nr?{}:t===qt?[]:t}function hL(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function mL(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function pL(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function S1(t){const n=t.inputConfig,e={};for(const i in n)if(n.hasOwnProperty(i)){const o=n[i];Array.isArray(o)&&o[2]&&(e[i]=o[2])}t.inputTransforms=e}function Oh(t){return!!v_(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function v_(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ur(t,n,e){return t[n]=e}function nd(t,n){return t[n]}function Sn(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function ds(t,n,e,i){const o=Sn(t,n,e);return Sn(t,n+1,i)||o}function Ah(t,n,e,i,o){const r=ds(t,n,e,i);return Sn(t,n+2,o)||r}function Ao(t,n,e,i,o,r){const a=ds(t,n,e,i);return ds(t,n+2,o,r)||a}function et(t,n,e,i){const o=Ce();return Sn(o,Xs(),n)&&(Gt(),dr(Ei(),o,t,n,e,i)),et}function yc(t,n,e,i){return Sn(t,Xs(),e)?n+St(e)+i:It}function _(t,n,e,i,o,r,a,s){const c=Ce(),u=Gt(),p=t+jt,b=u.firstCreatePass?function VL(t,n,e,i,o,r,a,s,c){const u=n.consts,p=bc(n,t,4,a||null,pa(u,s));m_(n,e,p,pa(u,c)),$u(n,p);const b=p.tView=h_(2,p,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u,null);return null!==n.queries&&(n.queries.template(n,p),b.queries=n.queries.embeddedTView(p)),p}(p,u,c,n,e,i,o,r,a):u.data[p];sr(b,!1);const y=V1(u,c,b,t);Uu()&&lh(u,c,y,b),Dn(y,c),Mh(c,c[p]=c1(y,c,y,b)),Vu(b)&&d_(u,c,b),null!=a&&u_(c,b,s)}let V1=function j1(t,n,e,i){return fa(!0),n[Mt].createComment("")};function At(t){return Ys(function kR(){return yt.lFrame.contextLView}(),jt+t)}function f(t,n,e){const i=Ce();return Sn(i,Xs(),n)&&fo(Gt(),Ei(),i,t,n,i[Mt],e,!1),f}function k_(t,n,e,i,o){const a=o?"class":"style";__(t,e,n.inputs[a],a,i)}function d(t,n,e,i){const o=Ce(),r=Gt(),a=jt+t,s=o[Mt],c=r.firstCreatePass?function UL(t,n,e,i,o,r){const a=n.consts,c=bc(n,t,2,i,pa(a,o));return m_(n,e,c,pa(a,r)),null!==c.attrs&&Th(c,c.attrs,!1),null!==c.mergedAttrs&&Th(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(a,r,o,n,e,i):r.data[a],u=z1(r,o,c,s,n,t);o[a]=u;const p=Vu(c);return sr(c,!0),iC(s,u,c),32!=(32&c.flags)&&Uu()&&lh(r,o,u,c),0===function _R(){return yt.lFrame.elementDepthCount}()&&Dn(u,o),function bR(){yt.lFrame.elementDepthCount++}(),p&&(d_(r,o,c),l_(r,c,o)),null!==i&&u_(o,c),d}function l(){let t=fn();Qf()?Xf():(t=t.parent,sr(t,!1));const n=t;(function yR(t){return yt.skipHydrationRootTNode===t})(n)&&function DR(){yt.skipHydrationRootTNode=null}(),function vR(){yt.lFrame.elementDepthCount--}();const e=Gt();return e.firstCreatePass&&($u(e,t),Hf(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function LR(t){return 0!=(8&t.flags)}(n)&&k_(e,n,Ce(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function BR(t){return 0!=(16&t.flags)}(n)&&k_(e,n,Ce(),n.stylesWithoutHost,!1),l}function D(t,n,e,i){return d(t,n,e,i),l(),D}let z1=(t,n,e,i,o,r)=>(fa(!0),ah(i,o,function ow(){return yt.lFrame.currentNamespace}()));function xe(t,n,e){const i=Ce(),o=Gt(),r=t+jt,a=o.firstCreatePass?function WL(t,n,e,i,o){const r=n.consts,a=pa(r,i),s=bc(n,t,8,"ng-container",a);return null!==a&&Th(s,a,!0),m_(n,e,s,pa(r,o)),null!==n.queries&&n.queries.elementStart(n,s),s}(r,o,i,n,e):o.data[r];sr(a,!0);const s=H1(o,i,a,t);return i[r]=s,Uu()&&lh(o,i,s,a),Dn(s,i),Vu(a)&&(d_(o,i,a),l_(o,a,i)),null!=e&&u_(i,a),xe}function we(){let t=fn();const n=Gt();return Qf()?Xf():(t=t.parent,sr(t,!1)),n.firstCreatePass&&($u(n,t),Hf(t)&&n.queries.elementEnd(t)),we}function zn(t,n,e){return xe(t,n,e),we(),zn}let H1=(t,n,e,i)=>(fa(!0),wg(n[Mt],""));function _e(){return Ce()}function sd(t){return!!t&&"function"==typeof t.then}function U1(t){return!!t&&"function"==typeof t.subscribe}function L(t,n,e,i){const o=Ce(),r=Gt(),a=fn();return $1(r,o,o[Mt],a,t,n,i),L}function Nh(t,n){const e=fn(),i=Ce(),o=Gt();return $1(o,i,h1(eg(o.data),e,i),e,t,n),Nh}function $1(t,n,e,i,o,r,a){const s=Vu(i),u=t.firstCreatePass&&u1(t),p=n[Vi],b=d1(n);let y=!0;if(3&i.type||a){const O=eo(i,n),W=a?a(O):O,ce=b.length,ie=a?Je=>a(pi(Je[i.index])):i.index;let He=null;if(!a&&s&&(He=function ZL(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;rc?s[c]:null}"string"==typeof a&&(r+=2)}return null}(t,n,o,i.index)),null!==He)(He.__ngLastListenerFn__||He).__ngNextListenerFn__=r,He.__ngLastListenerFn__=r,y=!1;else{r=W1(i,n,p,r,!1);const Je=e.listen(W,o,r);b.push(r,Je),u&&u.push(o,ie,ce,ce+1)}}else r=W1(i,n,p,r,!1);const C=i.outputs;let A;if(y&&null!==C&&(A=C[o])){const O=A.length;if(O)for(let W=0;W-1?uo(t.index,n):n);let c=G1(n,e,i,a),u=r.__ngNextListenerFn__;for(;u;)c=G1(n,e,u,a)&&c,u=u.__ngNextListenerFn__;return o&&!1===c&&a.preventDefault(),c}}function w(t=1){return function ER(t){return(yt.lFrame.contextLView=function OR(t,n){for(;t>0;)n=n[Ws],t--;return n}(t,yt.lFrame.contextLView))[Vi]}(t)}function YL(t,n){let e=null;const i=function RP(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o>17&32767}function M_(t){return 2|t}function us(t){return(131068&t)>>2}function T_(t,n){return-131069&t|n<<2}function I_(t){return 1|t}function iD(t,n,e,i,o){const r=t[e+1],a=null===n;let s=i?ba(r):us(r),c=!1;for(;0!==s&&(!1===c||a);){const p=t[s+1];n4(t[s],n)&&(c=!0,t[s+1]=i?I_(p):M_(p)),s=i?ba(p):us(p)}c&&(t[e+1]=i?M_(r):I_(r))}function n4(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&ac(t,n)>=0}const on={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nD(t){return t.substring(on.key,on.keyEnd)}function oD(t,n){const e=on.textEnd;return e===n?-1:(n=on.keyEnd=function s4(t,n,e){for(;n32;)n++;return n}(t,on.key=n,e),Tc(t,n,e))}function Tc(t,n,e){for(;n=0;e=oD(n,e))ho(t,nD(n),!0)}function Wo(t,n,e,i){const o=Ce(),r=Gt(),a=Ar(2);r.firstUpdatePass&&dD(r,t,a,i),n!==It&&Sn(o,a,n)&&hD(r,r.data[Bn()],o,o[Mt],t,o[a+1]=function v4(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=tn(mo(t)))),t}(n,e),i,a)}function lD(t,n){return n>=t.expandoStartIndex}function dD(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[Bn()],a=lD(t,e);pD(r,i)&&null===n&&!a&&(n=!1),n=function h4(t,n,e,i){const o=eg(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=cd(e=E_(null,t,n,e,i),n.attrs,i),r=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==o)if(e=E_(o,t,n,e,i),null===r){let c=function m4(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==us(i))return t[ba(i)]}(t,n,i);void 0!==c&&Array.isArray(c)&&(c=E_(null,t,n,c[1],i),c=cd(c,n.attrs,i),function p4(t,n,e,i){t[ba(e?n.classBindings:n.styleBindings)]=i}(t,n,i,c))}else r=function f4(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r0)&&(u=!0)):p=e,o)if(0!==c){const y=ba(t[s+1]);t[i+1]=Lh(y,s),0!==y&&(t[y+1]=T_(t[y+1],i)),t[s+1]=function XL(t,n){return 131071&t|n<<17}(t[s+1],i)}else t[i+1]=Lh(s,0),0!==s&&(t[s+1]=T_(t[s+1],i)),s=i;else t[i+1]=Lh(c,0),0===s?s=i:t[c+1]=T_(t[c+1],i),c=i;u&&(t[i+1]=M_(t[i+1])),iD(t,p,i,!0),iD(t,p,i,!1),function t4(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&ac(r,n)>=0&&(e[i+1]=I_(e[i+1]))}(n,p,t,i,r),a=Lh(s,c),r?n.classBindings=a:n.styleBindings=a}(o,r,n,e,a,i)}}function E_(t,n,e,i,o){let r=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s0;){const c=t[o],u=Array.isArray(c),p=u?c[1]:c,b=null===p;let y=e[o+1];y===It&&(y=b?qt:void 0);let C=b?hg(y,i):p===i?y:void 0;if(u&&!Bh(C)&&(C=hg(c,i)),Bh(C)&&(s=C,a))return s;const A=t[o+1];o=a?ba(A):us(A)}if(null!==n){let c=r?n.residualClasses:n.residualStyles;null!=c&&(s=hg(c,i))}return s}function Bh(t){return void 0!==t}function pD(t,n){return 0!=(t.flags&(n?8:16))}function h(t,n=""){const e=Ce(),i=Gt(),o=t+jt,r=i.firstCreatePass?bc(i,o,1,n,null):i.data[o],a=fD(i,e,r,n,t);e[o]=a,Uu()&&lh(i,e,a,r),sr(r,!1)}let fD=(t,n,e,i,o)=>(fa(!0),function rh(t,n){return t.createText(n)}(n[Mt],i));function Re(t){return Se("",t,""),Re}function Se(t,n,e){const i=Ce(),o=yc(i,t,n,e);return o!==It&&Br(i,Bn(),o),Se}function Ic(t,n,e,i,o){const r=Ce(),a=function xc(t,n,e,i,o,r){const s=ds(t,Or(),e,o);return Ar(2),s?n+St(e)+i+St(o)+r:It}(r,t,n,e,i,o);return a!==It&&Br(r,Bn(),a),Ic}function O_(t,n,e,i,o,r,a){const s=Ce(),c=function wc(t,n,e,i,o,r,a,s){const u=Ah(t,Or(),e,o,a);return Ar(3),u?n+St(e)+i+St(o)+r+St(a)+s:It}(s,t,n,e,i,o,r,a);return c!==It&&Br(s,Bn(),c),O_}function A_(t,n,e,i,o,r,a,s,c){const u=Ce(),p=function Cc(t,n,e,i,o,r,a,s,c,u){const b=Ao(t,Or(),e,o,a,c);return Ar(4),b?n+St(e)+i+St(o)+r+St(a)+s+St(c)+u:It}(u,t,n,e,i,o,r,a,s,c);return p!==It&&Br(u,Bn(),p),A_}function xD(t,n,e){!function qo(t,n,e,i){const o=Gt(),r=Ar(2);o.firstUpdatePass&&dD(o,null,r,i);const a=Ce();if(e!==It&&Sn(a,r,e)){const s=o.data[Bn()];if(pD(s,i)&&!lD(o,r)){let c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(e=Sf(c,e||"")),k_(o,s,a,e,i)}else!function b4(t,n,e,i,o,r,a,s){o===It&&(o=qt);let c=0,u=0,p=0>20;if(ss(t)||!t.multi){const C=new Pl(u,o,g),A=L_(c,n,o?p:p+y,b);-1===A?(lg(Ku(s,a),r,c),N_(r,t,n.length),n.push(c),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(C),a.push(C)):(e[A]=C,a[A]=C)}else{const C=L_(c,n,p+y,b),A=L_(c,n,p,p+y),W=A>=0&&e[A];if(o&&!W||!o&&!(C>=0&&e[C])){lg(Ku(s,a),r,c);const ce=function j5(t,n,e,i,o){const r=new Pl(t,e,g);return r.multi=[],r.index=n,r.componentProviders=0,ok(r,o,i&&!e),r}(o?V5:B5,e.length,o,i,u);!o&&W&&(e[A].providerFactory=ce),N_(r,t,n.length,0),n.push(c),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(ce),a.push(ce)}else N_(r,t,C>-1?C:A,ok(e[o?A:C],u,!o&&i));!o&&i&&W&&e[A].componentProviders++}}}function N_(t,n,e,i){const o=ss(n),r=function TN(t){return!!t.useClass}(n);if(o||r){const c=(r?Dt(n.useClass):n).prototype.ngOnDestroy;if(c){const u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const p=u.indexOf(e);-1===p?u.push(e,[i,c]):u[p+1].push(i,c)}else u.push(e,c)}}}function ok(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function L_(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function L5(t,n,e){const i=Gt();if(i.firstCreatePass){const o=Go(t);F_(e,i.data,i.blueprint,o,!0),F_(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class ms{}class rk{}class V_ extends ms{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new y1(this);const o=lo(n);this._bootstrapComponents=Nr(o.bootstrap),this._r3Injector=PC(n,e,[{provide:ms,useValue:this},{provide:cs,useValue:this.componentFactoryResolver},...i],tn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class j_ extends rk{constructor(n){super(),this.moduleType=n}create(n){return new V_(this.moduleType,n,[])}}class ak extends ms{constructor(n){super(),this.componentFactoryResolver=new y1(this),this.instance=null;const e=new bh([...n.providers,{provide:ms,useValue:this},{provide:cs,useValue:this.componentFactoryResolver}],n.parent||_h(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function z_(t,n,e=null){return new ak({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let U5=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=bC(0,e.type),o=i.length>0?z_([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}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=ke({token:t,providedIn:"environment",factory:()=>new t(Z(po))})}return t})();function sk(t){t.getStandaloneInjector=n=>n.get(U5).getOrCreateStandaloneInjector(t)}function Ko(t,n,e){const i=Ln()+t,o=Ce();return o[i]===It?ur(o,i,e?n.call(e):n()):nd(o,i)}function ii(t,n,e,i){return bk(Ce(),Ln(),t,n,e,i)}function pk(t,n,e,i,o){return function vk(t,n,e,i,o,r,a){const s=n+e;return ds(t,s,o,r)?ur(t,s+2,a?i.call(a,o,r):i(o,r)):pd(t,s+2)}(Ce(),Ln(),t,n,e,i,o)}function fk(t,n,e,i,o,r){return function yk(t,n,e,i,o,r,a,s){const c=n+e;return Ah(t,c,o,r,a)?ur(t,c+3,s?i.call(s,o,r,a):i(o,r,a)):pd(t,c+3)}(Ce(),Ln(),t,n,e,i,o,r)}function pd(t,n){const e=t[n];return e===It?void 0:e}function bk(t,n,e,i,o,r){const a=n+e;return Sn(t,a,o)?ur(t,a+1,r?i.call(r,o):i(o)):pd(t,a+1)}function va(t,n){const e=Gt();let i;const o=t+jt;e.firstCreatePass?(i=function i8(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=ts(i.type)),s=Qn(g);try{const c=qu(!1),u=r();return qu(c),function HL(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ce(),o,u),u}finally{Qn(s)}}function ya(t,n,e){const i=t+jt,o=Ce(),r=Ys(o,i);return function fd(t,n){return t[Qe].data[n].pure}(o,i)?bk(o,Ln(),n,r.transform,e,r):r.transform(e)}function s8(){return this._results[Symbol.iterator]()}class Vr{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Ne)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Vr.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=s8)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=function Eo(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XR(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i0&&(e[o-1][$o]=n),i{class t{static#e=this.__NG_ELEMENT_ID__=h8}return t})();const d8=si,u8=class extends d8{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){const o=function c8(t,n,e,i){const o=n.tView,s=Sh(t,o,e,4096&t[Ot]?4096:16,null,n,null,null,null,i?.injector??null,i?.hydrationInfo??null);s[Sl]=t[n.index];const u=t[or];return null!==u&&(s[or]=u.createEmbeddedView(o)),b_(o,s,e),s}(this._declarationLView,this._declarationTContainer,n,{injector:e,hydrationInfo:i});return new td(o)}};function h8(){return $h(fn(),Ce())}function $h(t,n){return 4&t.type?new u8(n,t,fc(t,n)):null}let ui=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=b8}return t})();function b8(){return Ik(fn(),Ce())}const v8=ui,Mk=class extends v8{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return fc(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){const n=Zu(this._hostTNode,this._hostLView);if(ag(n)){const e=Fl(n,this._hostLView),i=Rl(n);return new Vn(e[Qe].data[i+8],e)}return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=Tk(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-mn}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=n.createEmbeddedViewImpl(e||{},r,null);return this.insertImpl(s,o,false),s}createComponent(n,e,i,o,r){const a=n&&!function Ll(t){return"function"==typeof t}(n);let s;if(a)s=e;else{const O=e||{};s=O.index,i=O.injector,o=O.projectableNodes,r=O.environmentInjector||O.ngModuleRef}const c=a?n:new id($t(n)),u=i||this.parentInjector;if(!r&&null==c.ngModule){const W=(a?u:this.parentInjector).get(po,null);W&&(r=W)}$t(c.componentType??{});const C=c.create(u,o,null,r);return this.insertImpl(C.hostView,s,false),C}insert(n,e){return this.insertImpl(n,e,!1)}insertImpl(n,e,i){const o=n._lView;if(function pR(t){return Nn(t[Ci])}(o)){const c=this.indexOf(n);if(-1!==c)this.detach(c);else{const u=o[Ci],p=new Mk(u,u[Cn],u[Ci]);p.detach(p.indexOf(n))}}const a=this._adjustIndex(e),s=this._lContainer;return l8(s,o,a,!i),n.attachToViewContainerRef(),vw(U_(s),a,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=Tk(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=sh(this._lContainer,e);i&&(Qu(U_(this._lContainer),e),Cg(i[Qe],i))}detach(n){const e=this._adjustIndex(n,-1),i=sh(this._lContainer,e);return i&&null!=Qu(U_(this._lContainer),e)?new td(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Tk(t){return t[8]}function U_(t){return t[8]||(t[8]=[])}function Ik(t,n){let e;const i=n[t.index];return Nn(i)?e=i:(e=c1(i,n,null,t),n[t.index]=e,Mh(n,e)),Ek(e,n,t,i),new Mk(e,t,n)}let Ek=function Ok(t,n,e,i){if(t[rr])return;let o;o=8&e.type?pi(i):function y8(t,n){const e=t[Mt],i=e.createComment(""),o=eo(n,t);return rs(e,ch(e,o),i,function WF(t,n){return t.nextSibling(n)}(e,o),!1),i}(n,e),t[rr]=o};class $_{constructor(n){this.queryList=n,this.matches=null}clone(){return new $_(this.queryList)}setDirty(){this.queryList.setDirty()}}class G_{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,o=[];for(let r=0;r0)i.push(a[s/2]);else{const u=r[s+1],p=n[-c];for(let b=mn;b{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=Fe(eb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const o of this.appInits){const r=o();if(sd(r))e.push(r);else if(U1(r)){const a=new Promise((s,c)=>{r.subscribe({complete:s,error:c})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jk=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const pr=new oe("LocaleId",{providedIn:"root",factory:()=>Fe(pr,Vt.Optional|Vt.SkipSelf)||function Z8(){return typeof $localize<"u"&&$localize.locale||Oc}()});let qh=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bt(!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(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class X8{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let eS=(()=>{class t{compileModuleSync(e){return new j_(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=Nr(lo(e).declarations).reduce((a,s)=>{const c=$t(s);return c&&a.push(new id(c)),a},[]);return new X8(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const oS=new oe(""),Zh=new oe("");let ab,ob=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ab||(function b6(t){ab=t}(o),o.addToWindow(i)),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:()=>{We.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(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.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,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!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,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||t)(Z(We),Z(rb),Z(Zh))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),rb=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}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,i=!0){return ab?.findTestabilityInTree(this,e,i)??null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),xa=null;const rS=new oe("AllowMultipleToken"),sb=new oe("PlatformDestroyListeners"),cb=new oe("appBootstrapListener");class sS{constructor(n,e){this.name=n,this.token=e}}function lS(t,n,e=[]){const i=`Platform: ${n}`,o=new oe(i);return(r=[])=>{let a=lb();if(!a||a.injector.get(rS,!1)){const s=[...e,...r,{provide:o,useValue:!0}];t?t(s):function x6(t){if(xa&&!xa.get(rS,!1))throw new de(400,!1);(function aS(){!function JP(t){Ox=t}(()=>{throw new de(600,!1)})})(),xa=t;const n=t.get(uS);(function cS(t){t.get(CC,null)?.forEach(e=>e())})(t)}(function dS(t=[],n){return Di.create({name:n,providers:[{provide:Vg,useValue:"platform"},{provide:sb,useValue:new Set([()=>xa=null])},...t]})}(s,i))}return function C6(t){const n=lb();if(!n)throw new de(401,!1);return n}()}}function lb(){return xa?.get(uS)??null}let uS=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function D6(t="zone.js",n){return"noop"===t?new u3:"zone.js"===t?new We(n):t}(i?.ngZone,function hS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=function H5(t,n,e){return new V_(t,n,e)}(e.moduleType,this.injector,function _S(t){return[{provide:We,useFactory:t},{provide:ql,multi:!0,useFactory:()=>{const n=Fe(S6,{optional:!0});return()=>n.initialize()}},{provide:gS,useFactory:k6},{provide:BC,useFactory:VC}]}(()=>o)),a=r.injector.get(Oo,null);return o.runOutsideAngular(()=>{const s=o.onError.subscribe({next:c=>{a.handleError(c)}});r.onDestroy(()=>{Yh(this._modules,r),s.unsubscribe()})}),function mS(t,n,e){try{const i=e();return sd(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(a,o,()=>{const s=r.injector.get(tb);return s.runInitializers(),s.donePromise.then(()=>(function RD(t){Mo(t,"Expected localeId to be defined"),"string"==typeof t&&(PD=t.toLowerCase().replace(/_/g,"-"))}(r.injector.get(pr,Oc)||Oc),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,i=[]){const o=pS({},i);return function v6(t,n,e){const i=new j_(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(wa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new de(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new de(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(sb,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Di))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function pS(t,n){return Array.isArray(n)?n.reduce(pS,t):{...t,...n}}let wa=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Fe(gS),this.zoneIsStable=Fe(BC),this.componentTypes=[],this.components=[],this.isStable=Fe(qh).hasPendingTasks.pipe(qi(e=>e?qe(!1):this.zoneIsStable),zs(),Mu()),this._injector=Fe(po)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof MC;if(!this._injector.get(tb).done)throw!o&&function Us(t){const n=$t(t)||hn(t)||Fn(t);return null!==n&&n.standalone}(e),new de(405,!1);let a;a=o?e:this._injector.get(cs).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function y6(t){return t.isBoundToModule}(a)?void 0:this._injector.get(ms),u=a.create(Di.NULL,[],i||a.selector,s),p=u.location.nativeElement,b=u.injector.get(oS,null);return b?.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),Yh(this.components,u),b?.unregisterApplication(p)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new de(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 i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Yh(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(cb,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(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),()=>Yh(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new de(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yh(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const gS=new oe("",{providedIn:"root",factory:()=>Fe(Oo).handleError.bind(void 0)});function k6(){const t=Fe(We),n=Fe(Oo);return e=>t.runOutsideAngular(()=>n.handleError(e))}let S6=(()=>{class t{constructor(){this.zone=Fe(We),this.applicationRef=Fe(wa)}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(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();let Nt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=T6}return t})();function T6(t){return function I6(t,n,e){if(es(t)&&!e){const i=uo(t.index,n);return new td(i,i)}return 47&t.type?new td(n[ji],n):null}(fn(),Ce(),16==(16&t))}class xS{constructor(){}supports(n){return Oh(n)}create(n){return new F6(n)}}const R6=(t,n)=>n;class F6{constructor(n){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=n||R6}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(o,s),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,s,a,o)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new N6(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new wS),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wS),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class N6{constructor(n,e){this.item=n,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 L6{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class wS{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new L6,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function CS(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}const i=new V6(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class V6{constructor(n){this.key=n,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 kS(){return new Po([new xS])}let Po=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:kS});constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||kS()),deps:[[t,new Vl,new os]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new de(901,!1)}}return t})();function SS(){return new bd([new DS])}let bd=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:SS});constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||SS()),deps:[[t,new Vl,new os]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new de(901,!1)}}return t})();const H6=lS(null,"core",[]);let U6=(()=>{class t{constructor(e){}static#e=this.\u0275fac=function(i){return new(i||t)(Z(wa))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();function Rc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let fb=null;function Ca(){return fb}class nB{}const at=new oe("DocumentToken");let gb=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(rB)},providedIn:"platform"})}return t})();const oB=new oe("Location Initialized");let rB=(()=>{class t extends gb{constructor(){super(),this._doc=Fe(at),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ca().getBaseHref(this._doc)}onPopState(e){const i=Ca().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Ca().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}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(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return new t},providedIn:"platform"})}return t})();function _b(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function FS(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function jr(t){return t&&"?"!==t[0]?"?"+t:t}let fs=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(LS)},providedIn:"root"})}return t})();const NS=new oe("appBaseHref");let LS=(()=>{class t extends fs{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Fe(at).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 _b(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+jr(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const a=this.prepareExternalUrl(o+jr(r));this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,r){const a=this.prepareExternalUrl(o+jr(r));this._platformLocation.replaceState(e,i,a)}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(i){return new(i||t)(Z(gb),Z(NS,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aB=(()=>{class t extends fs{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}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 i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=_b(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let a=this.prepareExternalUrl(o+jr(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,r){let a=this.prepareExternalUrl(o+jr(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}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(i){return new(i||t)(Z(gb),Z(NS,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),vd=(()=>{class t{constructor(e){this._subject=new Ne,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function lB(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(FS(BS(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+jr(i))}normalize(e){return t.stripTrailingSlash(function cB(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,BS(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+jr(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+jr(i)),o)}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(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}static#e=this.normalizeQueryParams=jr;static#t=this.joinWithSlash=_b;static#i=this.stripTrailingSlash=FS;static#n=this.\u0275fac=function(i){return new(i||t)(Z(fs))};static#o=this.\u0275prov=ke({token:t,factory:function(){return function sB(){return new vd(Z(fs))}()},providedIn:"root"})}return t})();function BS(t){return t.replace(/\/index.html$/,"")}function qS(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const Mb=/\s+/,KS=[];let Qo=(()=>{class t{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this.initialClasses=KS,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Mb):KS}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Mb):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Mb).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Po),g(bd),g(Le),g(Fr))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class KB{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}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 an=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,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 i=this._viewContainer;e.forEachOperation((o,r,a)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new KB(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===r?void 0:r);else if(null!==r){const s=i.get(r);i.move(s,a),YS(s,o)}});for(let o=0,r=i.length;o{YS(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si),g(Po))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function YS(t,n){t.context.$implicit=n.item}let Et=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new ZB,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){QS("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){QS("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,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class ZB{constructor(){this.$implicit=null,this.ngIf=null}}function QS(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${tn(n)}'.`)}class Tb{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Nc=(()=>{class t{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 i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return t})(),dm=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new Tb(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si),g(Nc,9))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return t})(),XS=(()=>{class t{constructor(e,i,o){o._addDefault(new Tb(e,i))}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si),g(Nc,9))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return t})(),eM=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,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,i){const[o,r]=e.split("."),a=-1===o.indexOf("-")?void 0:ga.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(bd),g(Fr))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return t})(),um=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:r,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,r,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ai]})}return t})();function Xo(t,n){return new de(2100,!1)}class QB{createSubscription(n,e){return Rx(()=>n.subscribe({next:e,error:i=>{throw i}}))}dispose(n){Rx(()=>n.unsubscribe())}}class XB{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const JB=new XB,eV=new QB;let tM=(()=>{class t{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,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(sd(e))return JB;if(U1(e))return eV;throw Xo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt,16))};static#t=this.\u0275pipe=Xn({name:"async",type:t,pure:!1,standalone:!0})}return t})(),iM=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Xo();return e.toUpperCase()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275pipe=Xn({name:"uppercase",type:t,pure:!0,standalone:!0})}return t})(),nM=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=oM}transform(e,i=oM){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const o=this.differ.diff(e),r=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(function hV(t,n){return{key:t,value:n}}(a.key,a.currentValue))})),(o||r)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||t)(g(bd,16))};static#t=this.\u0275pipe=Xn({name:"keyvalue",type:t,pure:!1,standalone:!0})}return t})();function oM(t,n){const e=t.key,i=n.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const rM="browser";function aM(t){return"server"===t}let yV=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>new xV(Z(at),window)})}return t})();class xV{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function wV(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const a=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(a)return a}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class sM{}class GV extends nB{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Pb extends GV{static makeCurrent(){!function iB(t){fb||(fb=t)}(new Pb)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function WV(){return Cd=Cd||document.querySelector("base"),Cd?Cd.getAttribute("href"):null}();return null==e?null:function qV(t){pm=pm||document.createElement("a"),pm.setAttribute("href",t);const n=pm.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Cd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return qS(document.cookie,n)}}let pm,Cd=null,ZV=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const Rb=new oe("EventManagerPlugins");let hM=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new de(5101,!1);return this._eventNameToPlugin.set(e,i),i}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Rb),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class mM{constructor(n){this._doc=n}}const Fb="ng-app-id";let pM=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=aM(r),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${Fb}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){const o=this.styleRef;if(o.has(e)){const r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(Fb),r;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Fb,this.appId),a}}addStyleToHost(e,i){const o=this.getStyleElement(e,i);e.appendChild(o);const r=this.styleRef,a=r.get(i)?.elements;a?a.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Kl),Z(Ug,8),Z(_a))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const Nb={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/"},Lb=/%COMP%/g,JV=new oe("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function gM(t,n){return n.map(e=>e.replace(Lb,t))}let Bb=(()=>{class t{constructor(e,i,o,r,a,s,c,u=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=aM(s),this.defaultRenderer=new Vb(e,a,c,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===To.ShadowDom&&(i={...i,encapsulation:To.Emulated});const o=this.getOrCreateRenderer(e,i);return o instanceof bM?o.applyToHost(e):o instanceof jb&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const a=this.doc,s=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,b=this.platformIsServer;switch(i.encapsulation){case To.Emulated:r=new bM(c,u,i,this.appId,p,a,s,b);break;case To.ShadowDom:return new nj(c,u,e,i,a,s,this.nonce,b);default:r=new jb(c,u,i,p,a,s,b)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(hM),Z(pM),Z(Kl),Z(JV),Z(at),Z(_a),Z(We),Z(Ug))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class Vb{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Nb[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(_M(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(_M(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new de(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=Nb[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=Nb[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(ga.DashCase|ga.Important)?n.style.setProperty(e,i,o&ga.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&ga.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=Ca().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function _M(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class nj extends Vb{constructor(n,e,i,o,r,a,s,c){super(n,r,a,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=gM(o.id,o.styles);for(const p of u){const b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=p,this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class jb extends Vb{constructor(n,e,i,o,r,a,s,c){super(n,r,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=c?gM(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bM extends jb{constructor(n,e,i,o,r,a,s,c){const u=o+"-"+i.id;super(n,e,i,r,a,s,c,u),this.contentAttr=function ej(t){return"_ngcontent-%COMP%".replace(Lb,t)}(u),this.hostAttr=function tj(t){return"_nghost-%COMP%".replace(Lb,t)}(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let oj=(()=>{class t extends mM{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const vM=["alt","control","meta","shift"],rj={"\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"},aj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let sj=(()=>{class t extends mM{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),a=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ca().onAndCancel(e,r.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),vM.forEach(u=>{const p=i.indexOf(u);p>-1&&(i.splice(p,1),a+=u+".")}),a+=r,0!=i.length||0===r.length)return null;const c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let o=rj[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),vM.forEach(a=>{a!==o&&(0,aj[a])(e)&&(r+=a+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const uj=lS(H6,"browser",[{provide:_a,useValue:rM},{provide:CC,useValue:function cj(){Pb.makeCurrent()},multi:!0},{provide:at,useFactory:function dj(){return function eN(t){Eg=t}(document),document},deps:[]}]),hj=new oe(""),wM=[{provide:Zh,useClass:class KV{addToWindow(n){mi.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new de(5103,!1);return r},mi.getAllAngularTestabilities=()=>n.getAllTestabilities(),mi.getAllAngularRootElements=()=>n.getAllRootElements(),mi.frameworkStabilizers||(mi.frameworkStabilizers=[]),mi.frameworkStabilizers.push(i=>{const o=mi.getAllAngularTestabilities();let r=o.length,a=!1;const s=function(c){a=a||c,r--,0==r&&i(a)};o.forEach(c=>{c.whenStable(s)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Ca().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:oS,useClass:ob,deps:[We,rb,Zh]},{provide:ob,useClass:ob,deps:[We,rb,Zh]}],CM=[{provide:Vg,useValue:"root"},{provide:Oo,useFactory:function lj(){return new Oo},deps:[]},{provide:Rb,useClass:oj,multi:!0,deps:[at,We,_a]},{provide:Rb,useClass:sj,multi:!0,deps:[at]},Bb,pM,hM,{provide:Ql,useExisting:Bb},{provide:sM,useClass:ZV,deps:[]},[]];let DM=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Kl,useValue:e.appId}]}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(hj,12))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[...CM,...wM],imports:[Mn,U6]})}return t})(),kM=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:function(i){let o=null;return o=i?new i:function pj(){return new kM(Z(at))}(),o},providedIn:"root"})}return t})();typeof window<"u"&&window;let Hb=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(i){let o=null;return o=i?new(i||t):Z(TM),o},providedIn:"root"})}return t})(),TM=(()=>{class t extends Hb{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case gn.NONE:return i;case gn.HTML:return lr(i,"HTML")?mo(i):hC(this._doc,String(i)).toString();case gn.STYLE:return lr(i,"Style")?mo(i):i;case gn.SCRIPT:if(lr(i,"Script"))return mo(i);throw new de(5200,!1);case gn.URL:return lr(i,"URL")?mo(i):mh(String(i));case gn.RESOURCE_URL:if(lr(i,"ResourceURL"))return mo(i);throw new de(5201,!1);default:throw new de(5202,!1)}}bypassSecurityTrustHtml(e){return function sN(t){return new tN(t)}(e)}bypassSecurityTrustStyle(e){return function cN(t){return new iN(t)}(e)}bypassSecurityTrustScript(e){return function lN(t){return new nN(t)}(e)}bypassSecurityTrustUrl(e){return function dN(t){return new oN(t)}(e)}bypassSecurityTrustResourceUrl(e){return function uN(t){return new rN(t)}(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:function(i){let o=null;return o=i?new i:function bj(t){return new TM(t.get(at))}(Z(Di)),o},providedIn:"root"})}return t})();class EM{}class vj{}const Ur="*";function _o(t,n){return{type:7,name:t,definitions:n,options:{}}}function Fi(t,n=null){return{type:4,styles:n,timings:t}}function Ub(t,n=null){return{type:3,steps:t,options:n}}function OM(t,n=null){return{type:2,steps:t,options:n}}function zt(t){return{type:6,styles:t,offset:null}}function Zi(t,n,e){return{type:0,name:t,styles:n,options:e}}function Ni(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function $b(t=null){return{type:9,options:t}}function Gb(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}class Dd{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class AM{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const r=this.players.length;0==r?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++i==r&&this._onDestroy()}),a.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function PM(t){return new de(3e3,!1)}function ka(t){switch(t.length){case 0:return new Dd;case 1:return t[0];default:return new AM(t)}}function RM(t,n,e=new Map,i=new Map){const o=[],r=[];let a=-1,s=null;if(n.forEach(c=>{const u=c.get("offset"),p=u==a,b=p&&s||new Map;c.forEach((y,C)=>{let A=C,O=y;if("offset"!==C)switch(A=t.normalizePropertyName(A,o),O){case"!":O=e.get(C);break;case Ur:O=i.get(C);break;default:O=t.normalizeStyleValue(C,A,O,o)}b.set(A,O)}),p||r.push(b),s=b,a=u}),o.length)throw function Hj(t){return new de(3502,!1)}();return r}function qb(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Kb(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Kb(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Kb(e,"destroy",t)))}}function Kb(t,n,e){const r=Zb(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(r._data=a),r}function Zb(t,n,e,i,o="",r=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!a}}function bo(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function FM(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const ez=(()=>typeof document>"u"?null:document.documentElement)();function Yb(t){const n=t.parentNode||t.host||null;return n===ez?null:n}let gs=null,NM=!1;function LM(t,n){for(;n;){if(n===t)return!0;n=Yb(n)}return!1}function BM(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let VM=(()=>{class t{validateStyleProperty(e){return function iz(t){gs||(gs=function nz(){return typeof document<"u"?document.body:null}()||{},NM=!!gs.style&&"WebkitAppearance"in gs.style);let n=!0;return gs.style&&!function tz(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in gs.style,!n&&NM&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in gs.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return LM(e,i)}getParentElement(e){return Yb(e)}query(e,i,o){return BM(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,a,s=[],c){return new Dd(o,r)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),Qb=(()=>{class t{static#e=this.NOOP=new VM}return t})();const oz=1e3,Xb="ng-enter",fm="ng-leave",gm="ng-trigger",_m=".ng-trigger",zM="ng-animating",Jb=".ng-animating";function $r(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:ev(parseFloat(n[1]),n[2])}function ev(t,n){return"s"===n?t*oz:t}function bm(t,n,e){return t.hasOwnProperty("duration")?t:function az(t,n,e){let o,r=0,a="";if("string"==typeof t){const s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return n.push(PM()),{duration:0,delay:0,easing:""};o=ev(parseFloat(s[1]),s[2]);const c=s[3];null!=c&&(r=ev(parseFloat(c),s[4]));const u=s[5];u&&(a=u)}else o=t;if(!e){let s=!1,c=n.length;o<0&&(n.push(function yj(){return new de(3100,!1)}()),s=!0),r<0&&(n.push(function xj(){return new de(3101,!1)}()),s=!0),s&&n.splice(c,0,PM())}return{duration:o,delay:r,easing:a}}(t,n,e)}function kd(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function HM(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Sa(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function fr(t,n,e){n.forEach((i,o)=>{const r=iv(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i})}function _s(t,n){n.forEach((e,i)=>{const o=iv(i);t.style[o]=""})}function Sd(t){return Array.isArray(t)?1==t.length?t[0]:OM(t):t}const tv=new RegExp("{{\\s*(.+?)\\s*}}","g");function $M(t){let n=[];if("string"==typeof t){let e;for(;e=tv.exec(t);)n.push(e[1]);tv.lastIndex=0}return n}function Md(t,n,e){const i=t.toString(),o=i.replace(tv,(r,a)=>{let s=n[a];return null==s&&(e.push(function Cj(t){return new de(3003,!1)}()),s=""),s.toString()});return o==i?t:o}function vm(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const lz=/-+([a-z0-9])/g;function iv(t){return t.replace(lz,(...n)=>n[1].toUpperCase())}function vo(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function Dj(t){return new de(3004,!1)}()}}function GM(t,n){return window.getComputedStyle(t)[n]}const ym="*";function hz(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function mz(t,n,e){if(":"==t[0]){const c=function pz(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof c)return void n.push(c);t=c}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Lj(t){return new de(3015,!1)}()),n;const o=i[1],r=i[2],a=i[3];n.push(WM(o,a));"<"==r[0]&&!(o==ym&&a==ym)&&n.push(WM(a,o))}(i,e,n)):e.push(t),e}const xm=new Set(["true","1"]),wm=new Set(["false","0"]);function WM(t,n){const e=xm.has(t)||wm.has(t),i=xm.has(n)||wm.has(n);return(o,r)=>{let a=t==ym||t==o,s=n==ym||n==r;return!a&&e&&"boolean"==typeof o&&(a=o?xm.has(t):wm.has(t)),!s&&i&&"boolean"==typeof r&&(s=r?xm.has(n):wm.has(n)),a&&s}}const fz=new RegExp("s*:selfs*,?","g");function nv(t,n,e,i){return new gz(t).build(n,e,i)}class gz{constructor(n){this._driver=n}build(n,e,i){const o=new vz(e);return this._resetContextStyleTimingState(o),vo(this,Sd(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function Sj(){return new de(3006,!1)}()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const c=s,u=c.name;u.toString().split(/\s*,\s*/).forEach(p=>{c.name=p,r.push(this.visitState(c,e))}),c.name=u}else if(1==s.type){const c=this.visitTransition(s,e);i+=c.queryCount,o+=c.depCount,a.push(c)}else e.errors.push(function Mj(){return new de(3007,!1)}())}),{type:7,name:n.name,states:r,transitions:a,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,a=o||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(c=>{$M(c).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&(vm(r.values()),e.errors.push(function Tj(t,n){return new de(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=vo(this,Sd(n.animation),e);return{type:1,matchers:hz(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:bs(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>vo(this,i,e)),options:bs(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(a=>{e.currentTime=i;const s=vo(this,a,e);return o=Math.max(o,e.currentTime),s});return e.currentTime=o,{type:3,steps:r,options:bs(n.options)}}visitAnimate(n,e){const i=function xz(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return ov(bm(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=ov(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=bm(e,n);return ov(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:zt({});if(5==r.type)o=this.visitKeyframes(r,e);else{let a=n.styles,s=!1;if(!a){s=!0;const u={};i.easing&&(u.easing=i.easing),a=zt(u)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(a,e);c.isEmptyStep=s,o=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of o)"string"==typeof s?s===Ur?i.push(s):e.errors.push(new de(3002,!1)):i.push(HM(s));let r=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!r))for(let c of s.values())if(c.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,c)=>{const u=e.collectedStyles.get(e.currentQuerySelector),p=u.get(c);let b=!0;p&&(r!=o&&r>=p.startTime&&o<=p.endTime&&(e.errors.push(function Ej(t,n,e,i,o){return new de(3010,!1)}()),b=!1),r=p.startTime),b&&u.set(c,{startTime:r,endTime:o}),e.options&&function cz(t,n,e){const i=n.params||{},o=$M(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function wj(t){return new de(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Oj(){return new de(3011,!1)}()),i;let r=0;const a=[];let s=!1,c=!1,u=0;const p=n.steps.map(ce=>{const ie=this._makeStyleAst(ce,e);let He=null!=ie.offset?ie.offset:function yz(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(ie.styles),Je=0;return null!=He&&(r++,Je=ie.offset=He),c=c||Je<0||Je>1,s=s||Je0&&r{const He=y>0?ie==C?1:y*ie:a[ie],Je=He*W;e.currentTime=A+O.delay+Je,O.duration=Je,this._validateStyleAst(ce,e),ce.offset=He,i.styles.push(ce)}),i}visitReference(n,e){return{type:8,animation:vo(this,Sd(n.animation),e),options:bs(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:bs(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:bs(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,a]=function _z(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(fz,"")),t=t.replace(/@\*/g,_m).replace(/@\w+/g,e=>_m+"-"+e.slice(1)).replace(/:animating/g,Jb),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,bo(e.collectedStyles,e.currentQuerySelector,new Map);const s=vo(this,Sd(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:bs(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function Fj(){return new de(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:bm(n.timings,e.errors,!0);return{type:12,animation:vo(this,Sd(n.animation),e),timings:i,options:null}}}class vz{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function bs(t){return t?(t=kd(t)).params&&(t.params=function bz(t){return t?kd(t):null}(t.params)):t={},t}function ov(t,n,e){return{duration:t,delay:n,easing:e}}function rv(t,n,e,i,o,r,a=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:a,subTimeline:s}}class Cm{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Dz=new RegExp(":enter","g"),Sz=new RegExp(":leave","g");function av(t,n,e,i,o,r=new Map,a=new Map,s,c,u=[]){return(new Mz).buildKeyframes(t,n,e,i,o,r,a,s,c,u)}class Mz{buildKeyframes(n,e,i,o,r,a,s,c,u,p=[]){u=u||new Cm;const b=new sv(n,e,u,o,r,p,[]);b.options=c;const y=c.delay?$r(c.delay):0;b.currentTimeline.delayNextStep(y),b.currentTimeline.setStyles([a],null,b.errors,c),vo(this,i,b);const C=b.timelines.filter(A=>A.containsAnimation());if(C.length&&s.size){let A;for(let O=C.length-1;O>=0;O--){const W=C[O];if(W.element===e){A=W;break}}A&&!A.allowOnlyTimelineStyles()&&A.setStyles([s],null,b.errors,c)}return C.length?C.map(A=>A.buildKeyframes()):[rv(e,[],[],[],0,y,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,o,o.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const r=o?.delay;if(r){const a="number"==typeof r?r:$r(Md(r,o?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const a=null!=i.duration?$r(i.duration):null,s=null!=i.delay?$r(i.delay):null;return 0!==a&&n.forEach(c=>{const u=e.appendInstructionToTimeline(c,a,s);r=Math.max(r,u.duration+u.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),vo(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Dm);const a=$r(r.delay);o.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>vo(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?$r(n.options.delay):0;n.steps.forEach(a=>{const s=e.createSubContext(n.options);r&&s.delayNextStep(r),vo(this,a,s),o=Math.max(o,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return bm(e.params?Md(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(c=>{s.forwardTime((c.offset||0)*r),s.setStyles(c.styles,c.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?$r(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Dm);let a=i;const s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;let c=null;s.forEach((u,p)=>{e.currentQueryIndex=p;const b=e.createSubContext(n.options,u);r&&b.delayNextStep(r),u===e.element&&(c=b.currentTimeline),vo(this,n.animation,b),b.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,b.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,a=Math.abs(r.duration),s=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":c=s-c;break;case"full":c=i.currentStaggerTime}const p=e.currentTimeline;c&&p.delayNextStep(c);const b=p.currentTime;vo(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-b+(o.startTime-i.currentTimeline.startTime)}}const Dm={};class sv{constructor(n,e,i,o,r,a,s,c){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Dm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new km(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=$r(i.duration)),null!=i.delay&&(o.delay=$r(i.delay));const r=i.params;if(r){let a=o.params;a||(a=this.options.params={}),Object.keys(r).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=Md(r[s],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new sv(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=Dm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new Tz(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,a){let s=[];if(o&&s.push(this.element),n.length>0){n=(n=n.replace(Dz,"."+this._enterClassName)).replace(Sz,"."+this._leaveClassName);let u=this._driver.query(this.element,n,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),s.push(...u)}return!r&&0==s.length&&a.push(function Nj(t){return new de(3014,!1)}()),s}}class km{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new km(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ur),this._currentKeyframe.set(e,Ur);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},a=function Iz(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let r of i)e.set(r,Ur)}else Sa(o,e)}),e}(n,this._globalTimelineStyles);for(let[s,c]of a){const u=Md(c,r,i);this._pendingStyles.set(s,u),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Ur),this._updateStyle(s,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((s,c)=>{const u=Sa(s,new Map,this._backFill);u.forEach((p,b)=>{"!"===p?n.add(b):p===Ur&&e.add(b)}),i||u.set("offset",c/this.duration),o.push(u)});const r=n.size?vm(n.values()):[],a=e.size?vm(e.values()):[];if(i){const s=o[0],c=new Map(s);s.set("offset",0),c.set("offset",1),o=[s,c]}return rv(this.element,o,r,a,this.duration,this.startTime,this.easing,!1)}}class Tz extends km{constructor(n,e,i,o,r,a,s=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],a=i+e,s=e/a,c=Sa(n[0]);c.set("offset",0),r.push(c);const u=Sa(n[0]);u.set("offset",ZM(s)),r.push(u);const p=n.length-1;for(let b=1;b<=p;b++){let y=Sa(n[b]);const C=y.get("offset");y.set("offset",ZM((e+C*i)/a)),r.push(y)}i=a,e=0,o="",n=r}return rv(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function ZM(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class cv{}const Ez=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Oz extends cv{normalizePropertyName(n,e){return iv(n)}normalizeStyleValue(n,e,i,o){let r="";const a=i.toString().trim();if(Ez.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&o.push(function kj(t,n){return new de(3005,!1)}())}return a+r}}function YM(t,n,e,i,o,r,a,s,c,u,p,b,y){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:a,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:p,totalTime:b,errors:y}}const lv={};class QM{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function Az(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,a,s,c,u,p){const b=[],y=this.ast.options&&this.ast.options.params||lv,A=this.buildStyles(i,s&&s.params||lv,b),O=c&&c.params||lv,W=this.buildStyles(o,O,b),ce=new Set,ie=new Map,He=new Map,Je="void"===o,kt={params:Pz(O,y),delay:this.ast.options?.delay},li=p?[]:av(n,e,this.ast.animation,r,a,A,W,kt,u,b);let bi=0;if(li.forEach(Do=>{bi=Math.max(Do.duration+Do.delay,bi)}),b.length)return YM(e,this._triggerName,i,o,Je,A,W,[],[],ie,He,bi,b);li.forEach(Do=>{const ir=Do.element,bf=bo(ie,ir,new Set);Do.preStyleProps.forEach(Fs=>bf.add(Fs));const Du=bo(He,ir,new Set);Do.postStyleProps.forEach(Fs=>Du.add(Fs)),ir!==e&&ce.add(ir)});const xn=vm(ce.values());return YM(e,this._triggerName,i,o,Je,A,W,li,xn,ie,He,bi)}}function Pz(t,n){const e=kd(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class Rz{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=kd(this.defaultParams);return Object.keys(n).forEach(r=>{const a=n[r];null!==a&&(o[r]=a)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((a,s)=>{a&&(a=Md(a,o,e));const c=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,c,a,e),i.set(s,a)})}),i}}class Nz{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new Rz(o.style,o.options&&o.options.params||{},i))}),XM(this.states,"true","1"),XM(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new QM(n,o,this.states))}),this.fallbackTransition=function Lz(t,n,e){return new QM(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(a=>a.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function XM(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const Bz=new Cm;class Vz{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],r=nv(this._driver,e,i,[]);if(i.length)throw function Uj(t){return new de(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=RM(this._normalizer,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let a;const s=new Map;if(r?(a=av(this._driver,e,r,Xb,fm,new Map,new Map,i,Bz,o),a.forEach(p=>{const b=bo(s,p.element,new Map);p.postStyleProps.forEach(y=>b.set(y,null))})):(o.push(function $j(){return new de(3300,!1)}()),a=[]),o.length)throw function Gj(t){return new de(3504,!1)}();s.forEach((p,b)=>{p.forEach((y,C)=>{p.set(C,this._driver.computeStyle(b,C,Ur))})});const u=ka(a.map(p=>{const b=s.get(p.element);return this._buildPlayer(p,new Map,b)}));return this._playersById.set(n,u),u.onDestroy(()=>this.destroy(n)),this.players.push(u),u}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function Wj(t){return new de(3301,!1)}();return e}listen(n,e,i,o){const r=Zb(e,"","","");return qb(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const JM="ng-animate-queued",dv="ng-animate-disabled",$z=[],eT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Jo="__ng_removed";class uv{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function Zz(t){return t??null}(i?n.value:n),i){const r=kd(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const Td="void",hv=new uv(Td);class Wz{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,No(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function qj(t,n){return new de(3302,!1)}();if(null==i||0==i.length)throw function Kj(t){return new de(3303,!1)}();if(!function Yz(t){return"start"==t||"done"==t}(i))throw function Zj(t,n){return new de(3400,!1)}();const r=bo(this._elementListeners,n,[]),a={name:e,phase:i,callback:o};r.push(a);const s=bo(this._engine.statesByElement,n,new Map);return s.has(e)||(No(n,gm),No(n,gm+"-"+e),s.set(e,hv)),()=>{this._engine.afterFlush(()=>{const c=r.indexOf(a);c>=0&&r.splice(c,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function Yj(t){return new de(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),a=new mv(this.id,e,n);let s=this._engine.statesByElement.get(n);s||(No(n,gm),No(n,gm+"-"+e),this._engine.statesByElement.set(n,s=new Map));let c=s.get(e);const u=new uv(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s.set(e,u),c||(c=hv),u.value!==Td&&c.value===u.value){if(!function Jz(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{_s(n,W),fr(n,ce)})}return}const y=bo(this._engine.playersByElement,n,[]);y.forEach(O=>{O.namespaceId==this.id&&O.triggerName==e&&O.queued&&O.destroy()});let C=r.matchTransition(c.value,u.value,n,u.params),A=!1;if(!C){if(!o)return;C=r.fallbackTransition,A=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:C,fromState:c,toState:u,player:a,isFallbackTransition:A}),A||(No(n,JM),a.onStart(()=>{Lc(n,JM)})),a.onDone(()=>{let O=this.players.indexOf(a);O>=0&&this.players.splice(O,1);const W=this._engine.playersByElement.get(n);if(W){let ce=W.indexOf(a);ce>=0&&W.splice(ce,1)}}),this.players.push(a),y.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,_m,!0);i.forEach(o=>{if(o[Jo])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),a=new Map;if(r){const s=[];if(r.forEach((c,u)=>{if(a.set(u,c.value),this._triggers.has(u)){const p=this.trigger(n,u,Td,o);p&&s.push(p)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&ka(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const a=r.name;if(o.has(a))return;o.add(a);const c=this._triggers.get(a).fallbackTransition,u=i.get(a)||hv,p=new uv(Td),b=new mv(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:c,fromState:u,toState:p,player:b,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[Jo];(!r||r===eT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){No(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,a=this._elementListeners.get(r);a&&a.forEach(s=>{if(s.name==i.triggerName){const c=Zb(r,i.triggerName,i.fromState.value,i.toState.value);c._data=n,qb(i.player,s.phase,c,s.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,a=o.transition.ast.depCount;return 0==r||0==a?r-a:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class qz{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,r)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new Wz(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const c=o.get(s);if(c){const u=i.indexOf(c);i.splice(u+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(Sm(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!Sm(e))return;const r=e[Jo];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),No(n,dv)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Lc(n,dv))}removeNode(n,e,i){if(Sm(e)){const o=n?this._fetchNamespace(n):null;o?o.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);const r=this.namespacesByHostElement.get(e);r&&r.id!==n&&r.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[Jo]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return Sm(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,_m,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Jb,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ka(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Jo];if(e&&e.setForRemoval){if(n[Jo]=eT,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(dv)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ka(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function Qj(t){return new de(3402,!1)}()}_flushAnimations(n,e){const i=new Cm,o=[],r=new Map,a=[],s=new Map,c=new Map,u=new Map,p=new Set;this.disabledNodes.forEach(ot=>{p.add(ot);const ft=this.driver.query(ot,".ng-animate-queued",!0);for(let _t=0;_t{const _t=Xb+O++;A.set(ft,_t),ot.forEach(Wt=>No(Wt,_t))});const W=[],ce=new Set,ie=new Set;for(let ot=0;otce.add(Wt)):ie.add(ft))}const He=new Map,Je=nT(y,Array.from(ce));Je.forEach((ot,ft)=>{const _t=fm+O++;He.set(ft,_t),ot.forEach(Wt=>No(Wt,_t))}),n.push(()=>{C.forEach((ot,ft)=>{const _t=A.get(ft);ot.forEach(Wt=>Lc(Wt,_t))}),Je.forEach((ot,ft)=>{const _t=He.get(ft);ot.forEach(Wt=>Lc(Wt,_t))}),W.forEach(ot=>{this.processLeaveNode(ot)})});const kt=[],li=[];for(let ot=this._namespaceList.length-1;ot>=0;ot--)this._namespaceList[ot].drainQueuedTransitions(e).forEach(_t=>{const Wt=_t.player,un=_t.element;if(kt.push(Wt),this.collectedEnterElements.length){const Rn=un[Jo];if(Rn&&Rn.setForMove){if(Rn.previousTriggersValues&&Rn.previousTriggersValues.has(_t.triggerName)){const Ns=Rn.previousTriggersValues.get(_t.triggerName),zo=this.statesByElement.get(_t.element);if(zo&&zo.has(_t.triggerName)){const vf=zo.get(_t.triggerName);vf.value=Ns,zo.set(_t.triggerName,vf)}}return void Wt.destroy()}}const Sr=!b||!this.driver.containsElement(b,un),ko=He.get(un),Ya=A.get(un),Ai=this._buildInstruction(_t,i,Ya,ko,Sr);if(Ai.errors&&Ai.errors.length)return void li.push(Ai);if(Sr)return Wt.onStart(()=>_s(un,Ai.fromStyles)),Wt.onDestroy(()=>fr(un,Ai.toStyles)),void o.push(Wt);if(_t.isFallbackTransition)return Wt.onStart(()=>_s(un,Ai.fromStyles)),Wt.onDestroy(()=>fr(un,Ai.toStyles)),void o.push(Wt);const WA=[];Ai.timelines.forEach(Rn=>{Rn.stretchStartingKeyframe=!0,this.disabledNodes.has(Rn.element)||WA.push(Rn)}),Ai.timelines=WA,i.append(un,Ai.timelines),a.push({instruction:Ai,player:Wt,element:un}),Ai.queriedElements.forEach(Rn=>bo(s,Rn,[]).push(Wt)),Ai.preStyleProps.forEach((Rn,Ns)=>{if(Rn.size){let zo=c.get(Ns);zo||c.set(Ns,zo=new Set),Rn.forEach((vf,F0)=>zo.add(F0))}}),Ai.postStyleProps.forEach((Rn,Ns)=>{let zo=u.get(Ns);zo||u.set(Ns,zo=new Set),Rn.forEach((vf,F0)=>zo.add(F0))})});if(li.length){const ot=[];li.forEach(ft=>{ot.push(function Xj(t,n){return new de(3505,!1)}())}),kt.forEach(ft=>ft.destroy()),this.reportError(ot)}const bi=new Map,xn=new Map;a.forEach(ot=>{const ft=ot.element;i.has(ft)&&(xn.set(ft,ft),this._beforeAnimationBuild(ot.player.namespaceId,ot.instruction,bi))}),o.forEach(ot=>{const ft=ot.element;this._getPreviousPlayers(ft,!1,ot.namespaceId,ot.triggerName,null).forEach(Wt=>{bo(bi,ft,[]).push(Wt),Wt.destroy()})});const Do=W.filter(ot=>rT(ot,c,u)),ir=new Map;iT(ir,this.driver,ie,u,Ur).forEach(ot=>{rT(ot,c,u)&&Do.push(ot)});const Du=new Map;C.forEach((ot,ft)=>{iT(Du,this.driver,new Set(ot),c,"!")}),Do.forEach(ot=>{const ft=ir.get(ot),_t=Du.get(ot);ir.set(ot,new Map([...ft?.entries()??[],..._t?.entries()??[]]))});const Fs=[],$A=[],GA={};a.forEach(ot=>{const{element:ft,player:_t,instruction:Wt}=ot;if(i.has(ft)){if(p.has(ft))return _t.onDestroy(()=>fr(ft,Wt.toStyles)),_t.disabled=!0,_t.overrideTotalTime(Wt.totalTime),void o.push(_t);let un=GA;if(xn.size>1){let ko=ft;const Ya=[];for(;ko=ko.parentNode;){const Ai=xn.get(ko);if(Ai){un=Ai;break}Ya.push(ko)}Ya.forEach(Ai=>xn.set(Ai,un))}const Sr=this._buildAnimation(_t.namespaceId,Wt,bi,r,Du,ir);if(_t.setRealPlayer(Sr),un===GA)Fs.push(_t);else{const ko=this.playersByElement.get(un);ko&&ko.length&&(_t.parentPlayer=ka(ko)),o.push(_t)}}else _s(ft,Wt.fromStyles),_t.onDestroy(()=>fr(ft,Wt.toStyles)),$A.push(_t),p.has(ft)&&o.push(_t)}),$A.forEach(ot=>{const ft=r.get(ot.element);if(ft&&ft.length){const _t=ka(ft);ot.setRealPlayer(_t)}}),o.forEach(ot=>{ot.parentPlayer?ot.syncPlayerEvents(ot.parentPlayer):ot.destroy()});for(let ot=0;ot!Sr.destroyed);un.length?Qz(this,ft,un):this.processLeaveNode(ft)}return W.length=0,Fs.forEach(ot=>{this.players.push(ot),ot.onDone(()=>{ot.destroy();const ft=this.players.indexOf(ot);this.players.splice(ft,1)}),ot.play()}),Fs}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let a=[];if(e){const s=this.playersByQueriedElement.get(n);s&&(a=s)}else{const s=this.playersByElement.get(n);if(s){const c=!r||r==Td;s.forEach(u=>{u.queued||!c&&u.triggerName!=o||a.push(u)})}}return(i||o)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||o&&o!=s.triggerName))),a}_beforeAnimationBuild(n,e,i){const r=e.element,a=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const u=c.element,p=u!==r,b=bo(i,u,[]);this._getPreviousPlayers(u,p,a,s,e.toState).forEach(C=>{const A=C.getRealPlayer();A.beforeDestroy&&A.beforeDestroy(),C.destroy(),b.push(C)})}_s(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,a){const s=e.triggerName,c=e.element,u=[],p=new Set,b=new Set,y=e.timelines.map(A=>{const O=A.element;p.add(O);const W=O[Jo];if(W&&W.removedBeforeQueried)return new Dd(A.duration,A.delay);const ce=O!==c,ie=function Xz(t){const n=[];return oT(t,n),n}((i.get(O)||$z).map(bi=>bi.getRealPlayer())).filter(bi=>!!bi.element&&bi.element===O),He=r.get(O),Je=a.get(O),kt=RM(this._normalizer,A.keyframes,He,Je),li=this._buildPlayer(A,kt,ie);if(A.subTimeline&&o&&b.add(O),ce){const bi=new mv(n,s,O);bi.setRealPlayer(li),u.push(bi)}return li});u.forEach(A=>{bo(this.playersByQueriedElement,A.element,[]).push(A),A.onDone(()=>function Kz(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,A.element,A))}),p.forEach(A=>No(A,zM));const C=ka(y);return C.onDestroy(()=>{p.forEach(A=>Lc(A,zM)),fr(c,e.toStyles)}),b.forEach(A=>{bo(o,A,[]).push(C)}),C}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Dd(n.duration,n.delay)}}class mv{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Dd,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>qb(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){bo(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Sm(t){return t&&1===t.nodeType}function tT(t,n){const e=t.style.display;return t.style.display=n??"none",e}function iT(t,n,e,i,o){const r=[];e.forEach(c=>r.push(tT(c)));const a=[];i.forEach((c,u)=>{const p=new Map;c.forEach(b=>{const y=n.computeStyle(u,b,o);p.set(b,y),(!y||0==y.length)&&(u[Jo]=Gz,a.push(u))}),t.set(u,p)});let s=0;return e.forEach(c=>tT(c,r[s++])),a}function nT(t,n){const e=new Map;if(t.forEach(s=>e.set(s,[])),0==n.length)return e;const o=new Set(n),r=new Map;function a(s){if(!s)return 1;let c=r.get(s);if(c)return c;const u=s.parentNode;return c=e.has(u)?u:o.has(u)?1:a(u),r.set(s,c),c}return n.forEach(s=>{const c=a(s);1!==c&&e.get(c).push(s)}),e}function No(t,n){t.classList?.add(n)}function Lc(t,n){t.classList?.remove(n)}function Qz(t,n,e){ka(e).onDone(()=>t.processLeaveNode(n))}function oT(t,n){for(let e=0;eo.add(r)):n.set(t,i),e.delete(t),!0}class Mm{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new qz(n,e,i),this._timelineEngine=new Vz(n,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,i,o,r){const a=n+"-"+o;let s=this._triggerCache[a];if(!s){const c=[],p=nv(this._driver,r,c,[]);if(c.length)throw function zj(t,n){return new de(3404,!1)}();s=function Fz(t,n,e){return new Nz(t,n,e)}(o,p,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,o,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,a]=FM(i);this._timelineEngine.command(r,e,a,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[a,s]=FM(i);return this._timelineEngine.listen(a,e,s,r)}return this._transitionEngine.listen(n,e,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let t7=(()=>{class t{static#e=this.initialStylesByElement=new WeakMap;constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&fr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fr(this._element,this._initialStyles),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(_s(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_s(this._element,this._endStyles),this._endStyles=null),fr(this._element,this._initialStyles),this._state=3)}}return t})();function pv(t){let n=null;return t.forEach((e,i)=>{(function i7(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class aT{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:GM(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class n7{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return LM(n,e)}getParentElement(n){return Yb(n)}query(n,e,i){return BM(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,r,a=[]){const c={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(c.easing=r);const u=new Map,p=a.filter(C=>C instanceof aT);(function dz(t,n){return 0===t||0===n})(i,o)&&p.forEach(C=>{C.currentSnapshot.forEach((A,O)=>u.set(O,A))});let b=function sz(t){return t.length?t[0]instanceof Map?t:t.map(n=>HM(n)):[]}(e).map(C=>Sa(C));b=function uz(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,a)=>{i.has(a)||o.push(a),i.set(a,r)}),o.length)for(let r=1;ra.set(s,GM(t,s)))}}return n}(n,b,u);const y=function e7(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=pv(n[0]),n.length>1&&(i=pv(n[n.length-1]))):n instanceof Map&&(e=pv(n)),e||i?new t7(t,e,i):null}(n,b);return new aT(n,b,c,y)}}let o7=(()=>{class t extends EM{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:To.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?OM(e):e;return sT(this._renderer,null,i,"register",[o]),new r7(i,this._renderer)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Ql),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class r7 extends vj{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new a7(this._id,n,e||{},this._renderer)}}class a7{constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return sT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function sT(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const cT="@.disabled";let s7=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,a)=>{const s=a?.parentNode(r);s&&a.removeChild(s,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(r);return p||(p=new lT("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,p)),p}const a=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const c=p=>{Array.isArray(p)?p.forEach(c):this.engine.registerTrigger(a,s,e,p.name,p)};return i.data.animation.forEach(c),new c7(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[a,s]=r;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Ql),Z(Mm),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class lT{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==cT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class c7 extends lT{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==cT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function l7(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),a="";return"@"!=r.charAt(0)&&([r,a]=function d7(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,i,s)})}return this.delegate.listen(n,e,i)}}const dT=[{provide:EM,useClass:o7},{provide:cv,useFactory:function h7(){return new Oz}},{provide:Mm,useClass:(()=>{class t extends Mm{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Qb),Z(cv),Z(wa))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})()},{provide:Ql,useFactory:function m7(t,n,e){return new s7(t,n,e)},deps:[Bb,Mm,We]}],fv=[{provide:Qb,useFactory:()=>new n7},{provide:ti,useValue:"BrowserAnimations"},...dT],uT=[{provide:Qb,useClass:VM},{provide:ti,useValue:"NoopAnimations"},...dT];let gv,p7=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?uT:fv}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:fv,imports:[DM]})}return t})();try{gv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{gv=!1}let Bc,Qt=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function vV(t){return t===rM}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!gv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||t)(Z(_a))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function mT(){if(Bc)return Bc;if("object"!=typeof document||!document)return Bc=new Set(hT),Bc;let t=document.createElement("input");return Bc=new Set(hT.filter(n=>(t.setAttribute("type",n),t.type===n))),Bc}let Id,Im,vs,_v;function Ma(t){return function f7(){if(null==Id&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Id=!0}))}finally{Id=Id||!1}return Id}()?t:!!t.capture}function pT(){if(null==vs){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return vs=!1,vs;if("scrollBehavior"in document.documentElement.style)vs=!0;else{const t=Element.prototype.scrollTo;vs=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return vs}function Ed(){if("object"!=typeof document||!document)return 0;if(null==Im){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Im=0,0===t.scrollLeft&&(t.scrollLeft=1,Im=0===t.scrollLeft?1:2),t.remove()}return Im}function Em(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Gr(t){return t.composedPath?t.composedPath()[0]:t.target}function bv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function dn(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Ut(t,n,e){const i=z(t)||n||e?{next:t,error:n,complete:e}:t;return i?rt((o,r)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;o.subscribe(ct(r,c=>{var u;null===(u=i.next)||void 0===u||u.call(i,c),r.next(c)},()=>{var c;s=!1,null===(c=i.complete)||void 0===c||c.call(i),r.complete()},c=>{var u;s=!1,null===(u=i.error)||void 0===u||u.call(i,c),r.error(c)},()=>{var c,u;s&&(null===(c=i.unsubscribe)||void 0===c||c.call(i)),null===(u=i.finalize)||void 0===u||u.call(i)}))}):Te}class O7 extends T{constructor(n,e){super()}schedule(n,e=0){return this}}const Rm={setInterval(t,n,...e){const{delegate:i}=Rm;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=Rm;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class xv extends O7{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return Rm.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Rm.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,S(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const wv={now:()=>(wv.delegate||Date).now(),delegate:void 0};class Ad{constructor(n,e=Ad.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}Ad.now=wv.now;class Cv extends Ad{constructor(n,e=Ad.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Pd=new Cv(xv),A7=Pd;function Fm(t,n=Pd){return rt((e,i)=>{let o=null,r=null,a=null;const s=()=>{if(o){o.unsubscribe(),o=null;const u=r;r=null,i.next(u)}};function c(){const u=a+t,p=n.now();if(p{r=u,a=n.now(),o||(o=n.schedule(c,t),i.add(o))},()=>{s(),i.complete()},void 0,()=>{r=o=null}))})}function Tt(t,n){return rt((e,i)=>{let o=0;e.subscribe(ct(i,r=>t.call(n,r,o++)&&i.next(r)))})}function Pt(t){return t<=0?()=>so:rt((n,e)=>{let i=0;n.subscribe(ct(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Dv(t){return Tt((n,e)=>t<=e)}function nt(t){return rt((n,e)=>{wn(t).subscribe(ct(e,()=>e.complete(),k)),!e.closed&&n.subscribe(e)})}function Ue(t){return null!=t&&"false"!=`${t}`}function ki(t,n=0){return function P7(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Nm(t){return Array.isArray(t)?t:[t]}function Yi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function qr(t){return t instanceof Le?t.nativeElement:t}let fT=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),F7=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=qr(e);return new Ye(o=>{const a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new te,o=this._mutationObserverFactory.create(r=>i.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(fT))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gT=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=ki(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new Ne,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Fm(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(F7),g(Le),g(We))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Lm=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[fT]})}return t})();const{isArray:N7}=Array,{getPrototypeOf:L7,prototype:B7,keys:V7}=Object;function _T(t){if(1===t.length){const n=t[0];if(N7(n))return{args:n,keys:null};if(function j7(t){return t&&"object"==typeof t&&L7(t)===B7}(n)){const e=V7(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:z7}=Array;function kv(t){return Ge(n=>function H7(t,n){return z7(n)?t(...n):t(n)}(t,n))}function bT(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function Bm(...t){const n=vl(t),e=W0(t),{args:i,keys:o}=_T(t);if(0===i.length)return Bi([],n);const r=new Ye(function U7(t,n,e=Te){return i=>{vT(n,()=>{const{length:o}=t,r=new Array(o);let a=o,s=o;for(let c=0;c{const u=Bi(t[c],n);let p=!1;u.subscribe(ct(i,b=>{r[c]=b,p||(p=!0,s--),s||i.next(e(r.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,n,o?a=>bT(o,a):Te));return e?r.pipe(kv(e)):r}function vT(t,n,e){t?Mr(e,t,n):n()}function Rd(...t){return function $7(){return js(1)}()(Bi(t,vl(t)))}function Hi(...t){const n=vl(t);return rt((e,i)=>{(n?Rd(t,e,n):Rd(t,e)).subscribe(i)})}const yT=new Set;let ys,G7=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):q7}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function W7(t,n){if(!yT.has(t))try{ys||(ys=document.createElement("style"),n&&(ys.nonce=n),ys.setAttribute("type","text/css"),document.head.appendChild(ys)),ys.sheet&&(ys.sheet.insertRule(`@media ${t} {body{ }}`,0),yT.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(Ug,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function q7(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Sv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new te}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xT(Nm(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=Bm(xT(Nm(e)).map(a=>this._registerQuery(a).observable));return r=Rd(r.pipe(Pt(1)),r.pipe(Dv(1),Fm(0))),r.pipe(Ge(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{s.matches=s.matches||c,s.breakpoints[u]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Ye(a=>{const s=c=>this._zone.run(()=>a.next(c));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Hi(i),Ge(({matches:a})=>({query:e,matches:a})),nt(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static#e=this.\u0275fac=function(i){return new(i||t)(Z(G7),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xT(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Vm(t,n,e){const i=jm(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))}function jc(t,n,e){const o=jm(t,n).filter(r=>r!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}function jm(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const CT="cdk-describedby-message",zm="cdk-describedby-host";let Mv=0,Z7=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Mv++,this._document=e,this._id=Fe(Kl)+"-"+Mv++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const r=Tv(i,o);"string"!=typeof i?(DT(i,this._id),this._messageRegistry.set(r,{messageElement:i,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;const r=Tv(i,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof i){const a=this._messageRegistry.get(r);a&&0===a.referenceCount&&this._deleteMessageElement(r)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${zm}="${this._id}"]`);for(let i=0;i0!=o.indexOf(CT));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);Vm(e,"aria-describedby",o.messageElement.id),e.setAttribute(zm,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,jc(e,"aria-describedby",o.messageElement.id),e.removeAttribute(zm)}_isElementDescribedByMessage(e,i){const o=jm(e,"aria-describedby"),r=this._messageRegistry.get(i),a=r&&r.messageElement.id;return!!a&&-1!=o.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),r=e.getAttribute("aria-label");return!(!o||r&&r.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Qt))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Tv(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function DT(t,n){t.id||(t.id=`${CT}-${n}-${Mv++}`)}class kT{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new te,this._typeaheadSubscription=T.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new te,this.change=new te,n instanceof Vr&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ut(e=>this._pressedLetters.push(e)),Fm(n),Tt(()=>this._pressedLetters.length>0),Ge(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Vr?this._items.toArray():this._items}}class ST extends kT{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Hm extends kT{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Fd=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Q7(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Y7(t){try{return t.frameElement}catch{return null}}(function rH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===TT(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=TT(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function nH(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function oH(t){return!function J7(t){return function tH(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function X7(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function eH(t){return function iH(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||MT(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MT(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function TT(t){if(!MT(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class aH{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Pt(1)).subscribe(n)}}let Um=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new aH(e,this._checker,this._ngZone,this._document,i)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Fd),Z(We),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Iv(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Ev(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const sH=new oe("cdk-input-modality-detector-options"),cH={ignoreKeys:[18,17,224,91,16]},zc=Ma({passive:!0,capture:!0});let lH=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new bt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Gr(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Iv(a)?"keyboard":"mouse"),this._mostRecentTarget=Gr(a))},this._onTouchstart=a=>{Ev(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Gr(a))},this._options={...cH,...r},this.modalityDetected=this._modality.pipe(Dv(1)),this.modalityChanged=this.modalityDetected.pipe(zs()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,zc),o.addEventListener("mousedown",this._onMousedown,zc),o.addEventListener("touchstart",this._onTouchstart,zc)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zc),document.removeEventListener("mousedown",this._onMousedown,zc),document.removeEventListener("touchstart",this._onTouchstart,zc))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(We),Z(at),Z(sH,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const dH=new oe("liveAnnouncerElement",{providedIn:"root",factory:function uH(){return null}}),hH=new oe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mH=0,Ov=(()=>{class t{constructor(e,i,o,r){this._ngZone=i,this._defaultOptions=r,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let r,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[r,a]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{constructor(e,i,o,r,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new te,this._rootNodeFocusAndBlurListener=s=>{for(let u=Gr(s);u;u=u.parentElement)"focus"===s.type?this._onFocus(s,u):this._onBlur(s,u)},this._document=r,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const o=qr(e);if(!this._platform.isBrowser||1!==o.nodeType)return qe();const r=function _7(t){if(function g7(){if(null==_v){const t=typeof document<"u"?document.head:null;_v=!(!t||!t.createShadowRoot&&!t.attachShadow)}return _v}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;const s={checkChildren:i,subject:new te,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const i=qr(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=qr(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([s,c])=>this._originChanged(s,i,c)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=Gr(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,$m),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,$m)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(nt(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$m),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$m),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Ne}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(yo))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();const ET="cdk-high-contrast-black-on-white",OT="cdk-high-contrast-white-on-black",Av="cdk-high-contrast-active";let AT=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Fe(Sv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Av,ET,OT),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Av,ET):2===i&&e.add(Av,OT)}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pv=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(AT))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Lm]})}return t})();const gH=new oe("cdk-dir-doc",{providedIn:"root",factory:function _H(){return Fe(at)}}),bH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Qi=(()=>{class t{constructor(e){this.value="ltr",this.change=new Ne,e&&(this.value=function vH(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?bH.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(gH,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nd=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const yH=["text"];function xH(t,n){if(1&t&&D(0,"mat-pseudo-checkbox",6),2&t){const e=w();f("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function wH(t,n){1&t&&D(0,"mat-pseudo-checkbox",7),2&t&&f("disabled",w().disabled)}function CH(t,n){if(1&t&&(d(0,"span",8),h(1),l()),2&t){const e=w();m(1),Se("(",e.group.label,")")}}const DH=[[["mat-icon"]],"*"],kH=["mat-icon","*"],MH=new oe("mat-sanity-checks",{providedIn:"root",factory:function SH(){return!0}});let wt=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!bv()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(i){return new(i||t)(Z(AT),Z(MH,8),Z(at))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Nd,Nd]})}return t})();function Ia(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=Ue(n)}constructor(...n){super(...n),this._disabled=!1}}}function Ea(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function Oa(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Ue(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function Aa(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?ki(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}function Rv(t){return class extends t{updateErrorState(){const n=this.errorState,r=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);r!==n&&(this.errorState=r,this.stateChanges.next())}constructor(...n){super(...n),this.errorState=!1}}}let Gm=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class IH{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const FT=Ma({passive:!0,capture:!0});class EH{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=Gr(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){const r=this._events.get(e);if(r){const a=r.get(i);a?a.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,FT)})}removeHandler(n,e,i){const o=this._events.get(n);if(!o)return;const r=o.get(e);r&&(r.delete(i),0===r.size&&o.delete(e),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,FT)))}}const NT={enterDuration:225,exitDuration:150},LT=Ma({passive:!0,capture:!0}),BT=["mousedown","touchstart"],VT=["mouseup","mouseleave","touchend","touchcancel"];class Bd{static#e=this._eventManager=new EH;constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=qr(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...NT,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const a=i.radius||function AH(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),s=n-o.left,c=e-o.top,u=r.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=s-a+"px",p.style.top=c-a+"px",p.style.height=2*a+"px",p.style.width=2*a+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(p);const b=window.getComputedStyle(p),C=b.transitionDuration,A="none"===b.transitionProperty||"0s"===C||"0s, 0s"===C||0===o.width&&0===o.height,O=new IH(this,p,i,A);p.style.transform="scale3d(1, 1, 1)",O.state=0,i.persistent||(this._mostRecentTransientRipple=O);let W=null;return!A&&(u||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ce=()=>this._finishRippleTransition(O),ie=()=>this._destroyRipple(O);p.addEventListener("transitionend",ce),p.addEventListener("transitioncancel",ie),W={onTransitionEnd:ce,onTransitionCancel:ie}}),this._activeRipples.set(O,W),(A||!u)&&this._finishRippleTransition(O),O}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...NT,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=qr(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,BT.forEach(i=>{Bd._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{VT.forEach(e=>{this._triggerElement.addEventListener(e,this,LT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=Iv(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(BT.forEach(e=>Bd._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&VT.forEach(e=>n.removeEventListener(e,this,LT)))}}const Hc=new oe("mat-ripple-global-options");let Pa=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Bd(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(Qt),g(Hc,8),g(ti,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),Ra=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})(),PH=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(i){return new(i||t)(g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){2&i&&Xe("mat-pseudo-checkbox-indeterminate","indeterminate"===o.state)("mat-pseudo-checkbox-checked","checked"===o.state)("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal","minimal"===o.appearance)("mat-pseudo-checkbox-full","full"===o.appearance)("_mat-animation-noopable","NoopAnimations"===o._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return t})(),jT=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt]})}return t})();const Fv=new oe("MAT_OPTION_PARENT_COMPONENT"),Nv=new oe("MatOptgroup");let RH=0;class zT{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let FH=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ue(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,r){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+RH++,this.onSelectionChange=new Ne,this._stateChanges=new te}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!dn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new zT(this,e))}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(yH,7),2&i){let r;Oe(r=Ae())&&(o._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return t})(),_n=(()=>{class t extends FH{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Fv,8),g(Nv,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){1&i&&L("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),2&i&&(Hn("id",o.id),et("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),Xe("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},exportAs:["matOption"],features:[fe],ngContentSelectors:kH,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(i,o){1&i&&(Lt(DH),_(0,xH,1,2,"mat-pseudo-checkbox",0),Ke(1),d(2,"span",1,2),Ke(4,1),l(),_(5,wH,1,1,"mat-pseudo-checkbox",3),_(6,CH,2,1,"span",4),D(7,"div",5)),2&i&&(f("ngIf",o.multiple),m(5),f("ngIf",!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator),m(1),f("ngIf",o.group&&o.group._inert),m(1),f("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Pa,Et,PH],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();function HT(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),r=0;for(let a=0;ae+i?Math.max(0,t-i+n):e}let Wm=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Ra,Mn,wt,jT]})}return t})();const $T={capture:!0},GT=["focus","click","mouseenter","touchstart"],Lv="mat-ripple-loader-uninitialized",Bv="mat-ripple-loader-class-name",WT="mat-ripple-loader-centered",qm="mat-ripple-loader-disabled";let qT=(()=>{class t{constructor(){this._document=Fe(at,{optional:!0}),this._animationMode=Fe(ti,{optional:!0}),this._globalRippleOptions=Fe(Hc,{optional:!0}),this._platform=Fe(Qt),this._ngZone=Fe(We),this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;const o=e.target.closest(`[${Lv}]`);o&&this.createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const e of GT)this._document?.addEventListener(e,this._onInteraction,$T)})}ngOnDestroy(){for(const e of GT)this._document?.removeEventListener(e,this._onInteraction,$T)}configureRipple(e,i){e.setAttribute(Lv,""),(i.className||!e.hasAttribute(Bv))&&e.setAttribute(Bv,i.className||""),i.centered&&e.setAttribute(WT,""),i.disabled&&e.setAttribute(qm,"")}getRipple(e){return e.matRipple?e.matRipple:this.createRipple(e)}setDisabled(e,i){const o=e.matRipple;o?o.disabled=i:i?e.setAttribute(qm,""):e.removeAttribute(qm)}createRipple(e){if(!this._document)return;e.querySelector(".mat-ripple")?.remove();const i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Bv)),e.append(i);const o=new Pa(new Le(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(WT),o.disabled=e.hasAttribute(qm),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(Lv),e.matRipple=i}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const NH=["*",[["mat-toolbar-row"]]],LH=["*","mat-toolbar-row"],BH=Ea(class{constructor(t){this._elementRef=t}});let VH=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),jH=(()=>{class t extends BH{constructor(e,i,o){super(e),this._platform=i,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(at))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,o,r){if(1&i&&pt(r,VH,5),2&i){let a;Oe(a=Ae())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",0===o._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[fe],ngContentSelectors:LH,decls:2,vars:0,template:function(i,o){1&i&&(Lt(NH),Ke(0),Ke(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return t})(),KT=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})();const ZT=["mat-button",""],YT=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],QT=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],XT=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",HH=["mat-icon-button",""],UH=["*"],$H=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],GH=Ea(Ia(Oa(class{constructor(t){this._elementRef=t}})));let Vv=(()=>{class t extends GH{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ue(e),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._updateRippleDisabled()}constructor(e,i,o,r){super(e),this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=Fe(yo),this._rippleLoader=Fe(qT),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const a=e.nativeElement.classList;for(const s of $H)this._hasHostAttributes(s.selector)&&s.mdcClasses.forEach(c=>{a.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})(),qH=(()=>{class t extends Vv{constructor(e,i,o,r){super(e,i,o,r),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})(),Kt=(()=>{class t extends Vv{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(i,o){2&i&&(et("disabled",o.disabled||null),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[fe],attrs:ZT,ngContentSelectors:QT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Lt(YT),D(0,"span",0),Ke(1),d(2,"span",1),Ke(3,1),l(),Ke(4,2),D(5,"span",2)(6,"span",3)),2&i&&Xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})(),JT=(()=>{class t extends qH{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(i,o){2&i&&(et("disabled",o.disabled||null)("tabindex",o.disabled?-1:o.tabIndex)("aria-disabled",o.disabled.toString()),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[fe],attrs:ZT,ngContentSelectors:QT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Lt(YT),D(0,"span",0),Ke(1),d(2,"span",1),Ke(3,1),l(),Ke(4,2),D(5,"span",2)(6,"span",3)),2&i&&Xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',XT],encapsulation:2,changeDetection:0})}return t})(),Fa=(()=>{class t extends Vv{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(i,o){2&i&&(et("disabled",o.disabled||null),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[fe],attrs:HH,ngContentSelectors:UH,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Lt(),D(0,"span",0),Ke(1),D(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',XT],encapsulation:2,changeDetection:0})}return t})(),jv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Ra,wt]})}return t})();function Uc(t,n){const e=z(t)?t:()=>t,i=o=>o.error(e());return new Ye(n?o=>n.schedule(i,0,o):i)}function zv(...t){const n=W0(t),{args:e,keys:i}=_T(t),o=new Ye(r=>{const{length:a}=e;if(!a)return void r.complete();const s=new Array(a);let c=a,u=a;for(let p=0;p{b||(b=!0,u--),s[p]=y},()=>c--,void 0,()=>{(!c||!b)&&(u||r.next(i?bT(i,s):s),r.complete())}))}});return n?o.pipe(kv(n)):o}function Si(t){return rt((n,e)=>{let r,i=null,o=!1;i=n.subscribe(ct(e,void 0,void 0,a=>{r=wn(t(a,Si(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function xs(t){return rt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function $c(t,n){return z(n)?en(t,n,1):en(t,1)}class Km{}class Zm{}class gr{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(a):this.headers.set(r,[a])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof gr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new gr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof gr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===r.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(n,e){const i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class ZH{encodeKey(n){return eI(n)}encodeValue(n){return eI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const QH=/%(\d[a-f0-9])/gi,XH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function eI(t){return encodeURIComponent(t).replace(QH,(n,e)=>XH[e]??n)}function Ym(t){return`${t}`}class Na{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new ZH,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function YH(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[a,s]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(Ym):[Ym(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Na({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Ym(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(Ym(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class JH{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function tI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function iI(t){return typeof Blob<"u"&&t instanceof Blob}function nI(t){return typeof FormData<"u"&&t instanceof FormData}class Vd{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function e9(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,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.headers||(this.headers=new gr),this.context||(this.context=new JH),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":sb.set(y,n.setHeaders[y]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((b,y)=>b.set(y,n.setParams[y]),u)),new Vd(e,i,r,{params:u,headers:c,context:p,reportProgress:s,responseType:o,withCredentials:a})}}var Gc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gc||{});class Hv{constructor(n,e=200,i="OK"){this.headers=n.headers||new gr,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Uv extends Hv{constructor(n={}){super(n),this.type=Gc.ResponseHeader}clone(n={}){return new Uv({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Wc extends Hv{constructor(n={}){super(n),this.type=Gc.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Wc({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class oI extends Hv{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function $v(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Qm=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Vd)r=e;else{let c,u;c=o.headers instanceof gr?o.headers:new gr(o.headers),o.params&&(u=o.params instanceof Na?o.params:new Na({fromObject:o.params})),r=new Vd(e,i,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const a=qe(r).pipe($c(c=>this.handler.handle(c)));if(e instanceof Vd||"events"===o.observe)return a;const s=a.pipe(Tt(c=>c instanceof Wc));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return s.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return s.pipe(Ge(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return s.pipe(Ge(c=>c.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Na).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,$v(o,i))}post(e,i,o={}){return this.request("POST",e,$v(o,i))}put(e,i,o={}){return this.request("PUT",e,$v(o,i))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Km))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function sI(t,n){return n(t)}function n9(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const cI=new oe(""),jd=new oe(""),lI=new oe("");function r9(){let t=null;return(n,e)=>{null===t&&(t=(Fe(cI,{optional:!0})??[]).reduceRight(n9,sI));const i=Fe(qh),o=i.add();return t(n,e).pipe(xs(()=>i.remove(o)))}}let dI=(()=>{class t extends Km{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=Fe(qh)}handle(e){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(jd),...this.injector.get(lI,[])]));this.chain=o.reduceRight((r,a)=>function o9(t,n,e){return(i,o)=>e.runInContext(()=>n(i,r=>t(r,o)))}(r,a,this.injector),sI)}const i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(xs(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Zm),Z(po))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const l9=/^\)\]\}',?\n/;let hI=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new de(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Bi(i.\u0275loadImpl()):qe(null)).pipe(qi(()=>new Ye(r=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((O,W)=>a.setRequestHeader(O,W.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const O=e.detectContentTypeHeader();null!==O&&a.setRequestHeader("Content-Type",O)}if(e.responseType){const O=e.responseType.toLowerCase();a.responseType="json"!==O?O:"text"}const s=e.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const O=a.statusText||"OK",W=new gr(a.getAllResponseHeaders()),ce=function d9(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||e.url;return c=new Uv({headers:W,status:a.status,statusText:O,url:ce}),c},p=()=>{let{headers:O,status:W,statusText:ce,url:ie}=u(),He=null;204!==W&&(He=typeof a.response>"u"?a.responseText:a.response),0===W&&(W=He?200:0);let Je=W>=200&&W<300;if("json"===e.responseType&&"string"==typeof He){const kt=He;He=He.replace(l9,"");try{He=""!==He?JSON.parse(He):null}catch(li){He=kt,Je&&(Je=!1,He={error:li,text:He})}}Je?(r.next(new Wc({body:He,headers:O,status:W,statusText:ce,url:ie||void 0})),r.complete()):r.error(new oI({error:He,headers:O,status:W,statusText:ce,url:ie||void 0}))},b=O=>{const{url:W}=u(),ce=new oI({error:O,status:a.status||0,statusText:a.statusText||"Unknown Error",url:W||void 0});r.error(ce)};let y=!1;const C=O=>{y||(r.next(u()),y=!0);let W={type:Gc.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(W.total=O.total),"text"===e.responseType&&a.responseText&&(W.partialText=a.responseText),r.next(W)},A=O=>{let W={type:Gc.UploadProgress,loaded:O.loaded};O.lengthComputable&&(W.total=O.total),r.next(W)};return a.addEventListener("load",p),a.addEventListener("error",b),a.addEventListener("timeout",b),a.addEventListener("abort",b),e.reportProgress&&(a.addEventListener("progress",C),null!==s&&a.upload&&a.upload.addEventListener("progress",A)),a.send(s),r.next({type:Gc.Sent}),()=>{a.removeEventListener("error",b),a.removeEventListener("abort",b),a.removeEventListener("load",p),a.removeEventListener("timeout",b),e.reportProgress&&(a.removeEventListener("progress",C),null!==s&&a.upload&&a.upload.removeEventListener("progress",A)),a.readyState!==a.DONE&&a.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(sM))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const Gv=new oe("XSRF_ENABLED"),mI=new oe("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),pI=new oe("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class fI{}let m9=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,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=qS(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(_a),Z(mI))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function p9(t,n){const e=t.url.toLowerCase();if(!Fe(Gv)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=Fe(fI).getToken(),o=Fe(pI);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var La=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(La||{});function f9(...t){const n=[Qm,hI,dI,{provide:Km,useExisting:dI},{provide:Zm,useExisting:hI},{provide:jd,useValue:p9,multi:!0},{provide:Gv,useValue:!0},{provide:fI,useClass:m9}];for(const e of t)n.push(...e.\u0275providers);return function Ng(t){return{\u0275providers:t}}(n)}const gI=new oe("LEGACY_INTERCEPTOR_FN");function g9(){return function ws(t,n){return{\u0275kind:t,\u0275providers:n}}(La.LegacyInterceptors,[{provide:gI,useFactory:r9},{provide:jd,useExisting:gI,multi:!0}])}let _9=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[f9(g9())]})}return t})();const C9=["*"];let Jm;function zd(t){return function D9(){if(void 0===Jm&&(Jm=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Jm=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Jm}()?.createHTML(t)||t}function _I(t){return Error(`Unable to find icon with the name "${t}"`)}function bI(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function vI(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Cs{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let ep=(()=>{class t{constructor(e,i,o,r){this._httpClient=e,this._sanitizer=i,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,r){return this._addSvgIconConfig(e,i,new Cs(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,r){const a=this._sanitizer.sanitize(gn.HTML,o);if(!a)throw vI(o);const s=zd(a);return this._addSvgIconConfig(e,i,new Cs("",s,r))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Cs(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const r=this._sanitizer.sanitize(gn.HTML,i);if(!r)throw vI(i);const a=zd(r);return this._addSvgIconSetConfig(e,new Cs("",a,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(gn.RESOURCE_URL,e);if(!i)throw bI(e);const o=this._cachedIconsByUrl.get(i);return o?qe(tp(o)):this._loadSvgIconFromConfig(new Cs(e,null)).pipe(Ut(r=>this._cachedIconsByUrl.set(i,r)),Ge(r=>tp(r)))}getNamedSvgIcon(e,i=""){const o=yI(i,e);let r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(i,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Uc(_I(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?qe(tp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ge(i=>tp(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?qe(o):zv(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Si(s=>{const u=`Loading icon set URL: ${this._sanitizer.sanitize(gn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(u)),qe(null)})))).pipe(Ge(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw _I(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const r=i[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ut(i=>e.svgText=i),Ge(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?qe(null):this._fetchIcon(e).pipe(Ut(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const r=e.querySelector(`[id="${i}"]`);if(!r)return null;const a=r.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,o);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),o);const s=this._svgElementFromString(zd(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(zd("")),o=e.attributes;for(let r=0;rzd(u)),xs(()=>this._inProgressUrlFetches.delete(a)),Mu());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(yI(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;on?n.pathname+n.search:""}}}),xI=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],A9=xI.map(t=>`[${t}]`).join(", "),P9=/^url\(['"]?#(.*?)['"]?\)$/;let _i=(()=>{class t extends T9{get inline(){return this._inline}set inline(e){this._inline=Ue(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,r,a,s){super(e),this._iconRegistry=i,this._location=r,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=T.EMPTY,s&&(s.color&&(this.color=this.defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(A9),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{const s=i[r],c=s.getAttribute(a),u=c?c.match(P9):null;if(u){let p=o.get(s);p||(p=[],o.set(s,p)),p.push({name:a,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Pt(1)).subscribe(r=>this._setSvgElement(r),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${r.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(ep),jn("aria-hidden"),g(E9),g(Oo),g(I9,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){2&i&&(et("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Xe("mat-icon-inline",o.inline)("mat-icon-no-color","primary"!==o.color&&"accent"!==o.color&&"warn"!==o.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[fe],ngContentSelectors:C9,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return t})(),wI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})();const R9=["*"],L9=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],B9=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],V9=new oe("MAT_CARD_CONFIG");let Hd=(()=>{class t{constructor(e){this.appearance=e?.appearance||"raised"}static#e=this.\u0275fac=function(i){return new(i||t)(g(V9,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-mdc-card-outlined","outlined"===o.appearance)("mdc-card--outlined","outlined"===o.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:R9,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return t})(),Wv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})(),qv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),CI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:B9,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,o){1&i&&(Lt(L9),Ke(0),d(1,"div",0),Ke(2,1),l(),Ke(3,2))},encapsulation:2,changeDetection:0})}return t})(),DI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Mn,wt]})}return t})();const U9=new oe("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),G9=Ea(class{constructor(t){this._elementRef=t}},"primary");let kI=(()=>{class t extends G9{constructor(e,i,o,r,a){super(e),this._ngZone=i,this._changeDetectorRef=o,this._animationMode=r,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new Ne,this._mode="determinate",this._transitionendHandler=s=>{0===this.animationEnd.observers.length||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===r,a&&(a.color&&(this.color=this.defaultColor=a.color),this.mode=a.mode||this.mode)}get value(){return this._value}set value(e){this._value=SI(ki(e)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=SI(ki(e)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(Nt),g(ti,8),g(U9,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(i,o){2&i&&(et("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Xe("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[fe],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){1&i&&(d(0,"div",0),D(1,"div",1)(2,"div",2),l(),d(3,"div",3),D(4,"span",4),l(),d(5,"div",5),D(6,"span",4),l()),2&i&&(m(1),rn("flex-basis",o._getBufferBarFlexBasis()),m(2),rn("transform",o._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return t})();function SI(t,n=0,e=100){return Math.max(n,Math.min(e,t))}let MI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt]})}return t})(),TI=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=Ue(e)}get inset(){return this._inset}set inset(e){this._inset=Ue(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){2&i&&(et("aria-orientation",o.vertical?"vertical":"horizontal"),Xe("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return t})(),Kv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})();function Zv(){return rt((t,n)=>{let e=null;t._refCount++;const i=ct(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class Yv extends Ye{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Ji(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new T;const e=this.getSubject();n.add(this.source.subscribe(ct(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=T.EMPTY)}return n}refCount(){return Zv()(this)}}class W9{}function ip(t){return t&&"function"==typeof t.connect&&!(t instanceof Yv)}class II{applyChanges(n,e,i,o,r){n.forEachOperation((a,s,c)=>{let u,p;if(null==a.previousIndex){const b=i(a,s,c);u=e.createEmbeddedView(b.templateRef,b.context,b.index),p=1}else null==c?(e.remove(s),p=3):(u=e.get(s),e.move(u,c),p=2);r&&r({context:u?.context,operation:p,record:a})})}detach(){}}class Ud{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new te,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(r)).forEach(r=>this._unmarkSelected(r));const o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n){if(this.compareWith){for(let e of this._selection)if(this.compareWith(n,e))return e;return n}return n}}let Qv=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let o of this._listeners)o(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const $d=new oe("_ViewRepeater");let OI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Fr),g(Le))};static#t=this.\u0275dir=X({type:t})}return t})(),Ds=(()=>{class t extends OI{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})();const Wn=new oe("NgValueAccessor"),K9={provide:Wn,useExisting:Ht(()=>Mi),multi:!0},Y9=new oe("CompositionEventMode");let Mi=(()=>{class t extends OI{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Z9(){const t=Ca()?Ca().getUserAgent():"";return/android (\d+)/.test(t.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(i){return new(i||t)(g(Fr),g(Le),g(Y9,8))};static#t=this.\u0275dir=X({type:t,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(i,o){1&i&&L("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Ze([K9]),fe]})}return t})();function Ba(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function PI(t){return null!=t&&"number"==typeof t.length}const bn=new oe("NgValidators"),Va=new oe("NgAsyncValidators"),Q9=/^(?=.{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 me{static min(n){return function RI(t){return n=>{if(Ba(n.value)||Ba(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(Ba(n.value)||Ba(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return NI(n)}static requiredTrue(n){return function LI(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function BI(t){return Ba(t.value)||Q9.test(t.value)?null:{email:!0}}(n)}static minLength(n){return VI(n)}static maxLength(n){return jI(n)}static pattern(n){return zI(n)}static nullValidator(n){return null}static compose(n){return qI(n)}static composeAsync(n){return KI(n)}}function NI(t){return Ba(t.value)?{required:!0}:null}function VI(t){return n=>Ba(n.value)||!PI(n.value)?null:n.value.lengthPI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function zI(t){if(!t)return np;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Ba(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function np(t){return null}function HI(t){return null!=t}function UI(t){return sd(t)?Bi(t):t}function $I(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function GI(t,n){return n.map(e=>e(t))}function WI(t){return t.map(n=>function X9(t){return!t.validate}(n)?n:e=>n.validate(e))}function qI(t){if(!t)return null;const n=t.filter(HI);return 0==n.length?null:function(e){return $I(GI(e,n))}}function Xv(t){return null!=t?qI(WI(t)):null}function KI(t){if(!t)return null;const n=t.filter(HI);return 0==n.length?null:function(e){return zv(GI(e,n).map(UI)).pipe(Ge($I))}}function Jv(t){return null!=t?KI(WI(t)):null}function ZI(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function YI(t){return t._rawValidators}function QI(t){return t._rawAsyncValidators}function ey(t){return t?Array.isArray(t)?t:[t]:[]}function op(t,n){return Array.isArray(t)?t.includes(n):t===n}function XI(t,n){const e=ey(n);return ey(t).forEach(o=>{op(e,o)||e.push(o)}),e}function JI(t,n){return ey(n).filter(e=>!op(t,e))}class e2{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(n){this._rawValidators=n||[],this._composedValidatorFn=Xv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Jv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class qn extends e2{get formDirective(){return null}get path(){return null}}class er extends e2{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class t2{constructor(n){this._cd=n}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 vi=(()=>{class t extends t2{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(er,2))};static#t=this.\u0275dir=X({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[fe]})}return t})(),Ui=(()=>{class t extends t2{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,10))};static#t=this.\u0275dir=X({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[fe]})}return t})();const Gd="VALID",ap="INVALID",qc="PENDING",Wd="DISABLED";function ny(t){return(sp(t)?t.validators:t)||null}function oy(t,n){return(sp(n)?n.asyncValidators:t)||null}function sp(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function o2(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new de(1e3,"");if(!i[e])throw new de(1001,"")}function r2(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new de(1002,"")})}class cp{constructor(n,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(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Gd}get invalid(){return this.status===ap}get pending(){return this.status==qc}get disabled(){return this.status===Wd}get enabled(){return this.status!==Wd}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(XI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(XI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(JI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(JI(n,this._rawAsyncValidators))}hasValidator(n){return op(this._rawValidators,n)}hasAsyncValidator(n){return op(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=qc,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Wd,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Gd,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gd||this.status===qc)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wd:Gd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=qc,this._hasOwnPendingAsyncValidator=!0;const e=UI(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ne,this.statusChanges=new Ne}_calculateStatus(){return this._allControlsDisabled()?Wd:this.errors?ap:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qc)?qc:this._anyControlsHaveStatus(ap)?ap:Gd}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){sp(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function iU(t){return Array.isArray(t)?Xv(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function nU(t){return Array.isArray(t)?Jv(t):t||null}(this._rawAsyncValidators)}}class ni extends cp{constructor(n,e,i){super(ny(e),oy(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){r2(this,0,n),Object.keys(n).forEach(i=>{o2(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class a2 extends ni{}const ks=new oe("CallSetDisabledState",{providedIn:"root",factory:()=>qd}),qd="always";function lp(t,n){return[...n.path,t]}function Kd(t,n,e=qd){ry(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function rU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&s2(t,n)})}(t,n),function sU(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function aU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&s2(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function oU(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function dp(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),hp(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function up(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function ry(t,n){const e=YI(t);null!==n.validator?t.setValidators(ZI(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=QI(t);null!==n.asyncValidator?t.setAsyncValidators(ZI(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();up(n._rawValidators,o),up(n._rawAsyncValidators,o)}function hp(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=YI(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(a=>a!==n.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(null!==n.asyncValidator){const o=QI(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(a=>a!==n.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}const i=()=>{};return up(n._rawValidators,i),up(n._rawAsyncValidators,i),e}function s2(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function c2(t,n){ry(t,n)}function sy(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function l2(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function cy(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===Mi?e=r:function dU(t){return Object.getPrototypeOf(t.constructor)===Ds}(r)?i=r:o=r}),o||i||e||null}const hU={provide:qn,useExisting:Ht(()=>ja)},Zd=(()=>Promise.resolve())();let ja=(()=>{class t extends qn{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ne,this.form=new ni({},Xv(e),Jv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Zd.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Kd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Zd.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Zd.then(()=>{const i=this._findContainer(e.path),o=new ni({});c2(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Zd.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Zd.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,l2(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(i){return new(i||t)(g(bn,10),g(Va,10),g(ks,8))};static#t=this.\u0275dir=X({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){1&i&&L("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ze([hU]),fe]})}return t})();function d2(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function u2(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Q=class extends cp{constructor(n=null,e,i){super(ny(e),oy(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sp(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=u2(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){d2(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){d2(this._onDisabledChange,n)}_forEachChild(n){}_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(n){u2(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let h2=(()=>{class t extends qn{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return lp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})();const fU={provide:er,useExisting:Ht(()=>Kc)},p2=(()=>Promise.resolve())();let Kc=(()=>{class t extends er{constructor(e,i,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this.control=new Q,this._registered=!1,this.name="",this.update=new Ne,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=cy(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),sy(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(){Kd(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){p2.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&Rc(i);p2.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?lp(e,this._parent):[e]}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,9),g(bn,10),g(Va,10),g(Wn,10),g(Nt,8),g(ks,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ze([fU]),fe,ai]})}return t})(),Tn=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})();const gU={provide:Wn,useExisting:Ht(()=>ly),multi:!0};let ly=(()=>{class t extends Ds{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){1&i&&L("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[Ze([gU]),fe]})}return t})(),f2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const dy=new oe("NgModelWithFormControlWarning"),yU={provide:er,useExisting:Ht(()=>Zc)};let Zc=(()=>{class t extends er{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this.update=new Ne,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=cy(0,o)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&dp(i,this,!1),Kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}sy(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dp(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(i){return new(i||t)(g(bn,10),g(Va,10),g(Wn,10),g(dy,8),g(ks,8))};static#i=this.\u0275dir=X({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ze([yU]),fe,ai]})}return t})();const xU={provide:qn,useExisting:Ht(()=>Ti)};let Ti=(()=>{class t extends qn{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ne,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hp(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 i=this.form.get(e.path);return Kd(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){dp(e.control||null,e,!1),function uU(t,n){const e=t.indexOf(n);e>-1&&t.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,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,l2(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 i=e.control,o=this.form.get(e.path);i!==o&&(dp(i||null,e),(t=>t instanceof Q)(o)&&(Kd(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);c2(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function cU(t,n){return hp(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ry(this.form,this),this._oldForm&&hp(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(bn,10),g(Va,10),g(ks,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&L("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ze([xU]),fe,ai]})}return t})();const wU={provide:qn,useExisting:Ht(()=>Yd)};let Yd=(()=>{class t extends h2{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){b2(this._parent)}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,13),g(bn,10),g(Va,10))};static#t=this.\u0275dir=X({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Ze([wU]),fe]})}return t})();const CU={provide:qn,useExisting:Ht(()=>Qd)};let Qd=(()=>{class t extends qn{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return lp(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){b2(this._parent)}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,13),g(bn,10),g(Va,10))};static#t=this.\u0275dir=X({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Ze([CU]),fe]})}return t})();function b2(t){return!(t instanceof Yd||t instanceof Ti||t instanceof Qd)}const DU={provide:er,useExisting:Ht(()=>Xi)};let Xi=(()=>{class t extends er{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,o,r,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Ne,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=cy(0,r)}ngOnChanges(e){this._added||this._setUpControl(),sy(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return lp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||t)(g(qn,13),g(bn,10),g(Va,10),g(Wn,10),g(dy,8))};static#i=this.\u0275dir=X({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ze([DU]),fe,ai]})}return t})();function x2(t){return"number"==typeof t?t:parseInt(t,10)}let Ss=(()=>{class t{constructor(){this._validator=np}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):np,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(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,features:[ai]})}return t})();const PU={provide:bn,useExisting:Ht(()=>xo),multi:!0};let xo=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Rc,this.createValidator=e=>NI}enabled(e){return e}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){2&i&&et("required",o._enabled?"":null)},inputs:{required:"required"},features:[Ze([PU]),fe]})}return t})();const NU={provide:bn,useExisting:Ht(()=>py),multi:!0};let py=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>x2(e),this.createValidator=e=>VI(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&et("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[Ze([NU]),fe]})}return t})();const LU={provide:bn,useExisting:Ht(()=>fy),multi:!0};let fy=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>x2(e),this.createValidator=e=>jI(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&et("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ze([LU]),fe]})}return t})();const BU={provide:bn,useExisting:Ht(()=>gy),multi:!0};let gy=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>zI(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&et("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[Ze([BU]),fe]})}return t})(),S2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[f2]})}return t})();class M2 extends cp{constructor(n,e,i){super(ny(e),oy(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){r2(this,0,n),n.forEach((i,o)=>{o2(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function T2(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let Kr=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const o=this._reduceControls(e);let r={};return T2(i)?r=i:null!==i&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new ni(o,r)}record(e,i=null){const o=this._reduceControls(e);return new a2(o,i)}control(e,i,o){let r={};return this.useNonNullable?(T2(i)?r=i:(r.validators=i,r.asyncValidators=o),new Q(e,{...r,nonNullable:!0})):new Q(e,i,o)}array(e,i,o){const r=e.map(a=>this._createControl(a));return new M2(r,i,o)}_reduceControls(e){const i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){return e instanceof Q||e instanceof cp?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),VU=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ks,useValue:e.callSetDisabledState??qd}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[S2]})}return t})(),I2=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:dy,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ks,useValue:e.callSetDisabledState??qd}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[S2]})}return t})(),R2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Lm,Mn,wt,Ra,jT,Kv]})}return t})();class f$ extends te{constructor(n=1/0,e=1/0,i=wv){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:a}=this;e||(i.push(n),!o&&i.push(r.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let a=0;athis._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ye(e=>{const i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Tt(e=>e.some(i=>i.target===n)),function g$(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,Mu({connector:()=>new f$(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}({bufferSize:1,refCount:!0}),nt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let b$=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=Fe(We)}ngOnDestroy(){for(const[,e]of this._observers)e.destroy();this._observers.clear()}observe(e,i){const o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new _$(o)),this._observers.get(o).observe(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const v$=["notch"],y$=["matFormFieldNotchedOutline",""],x$=["*"],w$=["textField"],C$=["iconPrefixContainer"],D$=["textPrefixContainer"];function k$(t,n){1&t&&D(0,"span",19)}function S$(t,n){if(1&t&&(d(0,"label",17),Ke(1,1),_(2,k$,1,0,"span",18),l()),2&t){const e=w(2);f("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),et("for",e._control.id),m(2),f("ngIf",!e.hideRequiredMarker&&e._control.required)}}function M$(t,n){1&t&&_(0,S$,3,5,"label",16),2&t&&f("ngIf",w()._hasFloatingLabel())}function T$(t,n){1&t&&D(0,"div",20)}function I$(t,n){}function E$(t,n){1&t&&_(0,I$,0,0,"ng-template",22),2&t&&(w(2),f("ngTemplateOutlet",At(1)))}function O$(t,n){if(1&t&&(d(0,"div",21),_(1,E$,1,1,"ng-template",9),l()),2&t){const e=w();f("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),m(1),f("ngIf",!e._forceDisplayInfixLabel())}}function A$(t,n){1&t&&(d(0,"div",23,24),Ke(2,2),l())}function P$(t,n){1&t&&(d(0,"div",25,26),Ke(2,3),l())}function R$(t,n){}function F$(t,n){1&t&&_(0,R$,0,0,"ng-template",22),2&t&&(w(),f("ngTemplateOutlet",At(1)))}function N$(t,n){1&t&&(d(0,"div",27),Ke(1,4),l())}function L$(t,n){1&t&&(d(0,"div",28),Ke(1,5),l())}function B$(t,n){1&t&&D(0,"div",29)}function V$(t,n){1&t&&(d(0,"div",30),Ke(1,6),l()),2&t&&f("@transitionMessages",w()._subscriptAnimationState)}function j$(t,n){if(1&t&&(d(0,"mat-hint",34),h(1),l()),2&t){const e=w(2);f("id",e._hintLabelId),m(1),Re(e.hintLabel)}}function z$(t,n){if(1&t&&(d(0,"div",31),_(1,j$,2,2,"mat-hint",32),Ke(2,7),D(3,"div",33),Ke(4,8),l()),2&t){const e=w();f("@transitionMessages",e._subscriptAnimationState),m(1),f("ngIf",e.hintLabel)}}const H$=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],U$=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ii=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-label"]]})}return t})(),$$=0;const F2=new oe("MatError");let by=(()=>{class t{constructor(e,i){this.id="mat-mdc-error-"+$$++,e||i.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(i){return new(i||t)(jn("aria-live"),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){2&i&&Hn("id",o.id)},inputs:{id:"id"},features:[Ze([{provide:F2,useExisting:t}])]})}return t})(),G$=0,Yc=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+G$++}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){2&i&&(Hn("id",o.id),et("align",null),Xe("mat-mdc-form-field-hint-end","end"===o.align))},inputs:{align:"align",id:"id"}})}return t})();const W$=new oe("MatPrefix"),N2=new oe("MatSuffix");let vy=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Ze([{provide:N2,useExisting:t}])]})}return t})();const L2=new oe("FloatingLabelParent");let B2=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=Fe(b$),this._ngZone=Fe(We),this._parent=Fe(L2),this._resizeSubscription=new T}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function q$(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();const V2="mdc-line-ripple--active",mp="mdc-line-ripple--deactivating";let j2=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{const r=this._elementRef.nativeElement.classList,a=r.contains(mp);"opacity"===o.propertyName&&a&&r.remove(V2,mp)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(mp),e.add(V2)}deactivate(){this._elementRef.nativeElement.classList.add(mp)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We))};static#t=this.\u0275dir=X({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),z2=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){this._notch.nativeElement.style.width=this.open&&e?`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(1&i&&xt(v$,5),2&i){let r;Oe(r=Ae())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mdc-notched-outline--notched",o.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:y$,ngContentSelectors:x$,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,o){1&i&&(Lt(),D(0,"div",0),d(1,"div",1,2),Ke(3),l(),D(4,"div",3))},encapsulation:2,changeDetection:0})}return t})();const K$={transitionMessages:_o("transitionMessages",[Zi("enter",zt({opacity:1,transform:"translateY(0%)"})),Ni("void => enter",[zt({opacity:0,transform:"translateY(-5px)"}),Fi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pp=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t})}return t})();const Xd=new oe("MatFormField"),Z$=new oe("MAT_FORM_FIELD_DEFAULT_OPTIONS");let H2=0,Oi=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ue(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,r,a,s,c,u){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=r,this._platform=a,this._defaults=s,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+H2++,this._hintLabelId="mat-mdc-hint-"+H2++,this._subscriptAnimationState="",this._destroyed=new te,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(nt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),wi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(nt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(nt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,o=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=i?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${r+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(We),g(Qi),g(Qt),g(Z$,8),g(ti,8),g(at))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,Ii,5),pt(r,Ii,7),pt(r,pp,5),pt(r,W$,5),pt(r,N2,5),pt(r,F2,5),pt(r,Yc,5)),2&i){let a;Oe(a=Ae())&&(o._labelChildNonStatic=a.first),Oe(a=Ae())&&(o._labelChildStatic=a.first),Oe(a=Ae())&&(o._formFieldControl=a.first),Oe(a=Ae())&&(o._prefixChildren=a),Oe(a=Ae())&&(o._suffixChildren=a),Oe(a=Ae())&&(o._errorChildren=a),Oe(a=Ae())&&(o._hintChildren=a)}},viewQuery:function(i,o){if(1&i&&(xt(w$,5),xt(C$,5),xt(D$,5),xt(B2,5),xt(z2,5),xt(j2,5)),2&i){let r;Oe(r=Ae())&&(o._textField=r.first),Oe(r=Ae())&&(o._iconPrefixContainer=r.first),Oe(r=Ae())&&(o._textPrefixContainer=r.first),Oe(r=Ae())&&(o._floatingLabel=r.first),Oe(r=Ae())&&(o._notchedOutline=r.first),Oe(r=Ae())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){2&i&&Xe("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===o._animationMode)("mat-form-field-appearance-fill","fill"==o.appearance)("mat-form-field-appearance-outline","outline"==o.appearance)("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary","accent"!==o.color&&"warn"!==o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color)("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ze([{provide:Xd,useExisting:t},{provide:L2,useExisting:t}])],ngContentSelectors:U$,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(i,o){1&i&&(Lt(H$),_(0,M$,1,1,"ng-template",null,0,Zo),d(2,"div",1,2),L("click",function(a){return o._control.onContainerClick(a)}),_(4,T$,1,0,"div",3),d(5,"div",4),_(6,O$,2,2,"div",5),_(7,A$,3,0,"div",6),_(8,P$,3,0,"div",7),d(9,"div",8),_(10,F$,1,1,"ng-template",9),Ke(11),l(),_(12,N$,2,0,"div",10),_(13,L$,2,0,"div",11),l(),_(14,B$,1,0,"div",12),l(),d(15,"div",13),_(16,V$,2,1,"div",14),_(17,z$,5,2,"div",15),l()),2&i&&(m(2),Xe("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),m(2),f("ngIf",!o._hasOutline()&&!o._control.disabled),m(2),f("ngIf",o._hasOutline()),m(1),f("ngIf",o._hasIconPrefix),m(1),f("ngIf",o._hasTextPrefix),m(2),f("ngIf",!o._hasOutline()||o._forceDisplayInfixLabel()),m(2),f("ngIf",o._hasTextSuffix),m(1),f("ngIf",o._hasIconSuffix),m(1),f("ngIf",!o._hasOutline()),m(1),Xe("mat-mdc-form-field-subscript-dynamic-size","dynamic"===o.subscriptSizing),f("ngSwitch",o._getDisplayedMessages()),m(1),f("ngSwitchCase","error"),m(1),f("ngSwitchCase","hint"))},dependencies:[Et,um,Nc,dm,Yc,B2,z2,j2],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[K$.transitionMessages]},changeDetection:0})}return t})(),Jd=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Mn,Lm,wt]})}return t})();const X$=["addListener","removeListener"],J$=["addEventListener","removeEventListener"],eG=["on","off"];function Bo(t,n,e,i){if(z(e)&&(i=e,e=void 0),i)return Bo(t,n,e).pipe(kv(i));const[o,r]=function nG(t){return z(t.addEventListener)&&z(t.removeEventListener)}(t)?J$.map(a=>s=>t[a](n,s,e)):function tG(t){return z(t.addListener)&&z(t.removeListener)}(t)?X$.map(G2(t,n)):function iG(t){return z(t.on)&&z(t.off)}(t)?eG.map(G2(t,n)):[];if(!o&&Cf(t))return en(a=>Bo(a,n,e))(wn(t));if(!o)throw new TypeError("Invalid event target");return new Ye(a=>{const s=(...c)=>a.next(1r(s)})}function G2(t,n){return e=>i=>t[e](n,i)}function fp(t=0,n,e=A7){let i=-1;return null!=n&&(G0(n)?e=n:i=n),new Ye(o=>{let r=function rG(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let a=0;return e.schedule(function(){o.closed||(o.next(a++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function yy(t,n=Pd){return function oG(t){return rt((n,e)=>{let i=!1,o=null,r=null,a=!1;const s=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const u=o;o=null,e.next(u)}a&&e.complete()},c=()=>{r=null,a&&e.complete()};n.subscribe(ct(e,u=>{i=!0,o=u,r||wn(t(u)).subscribe(r=ct(e,s,c))},()=>{a=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>fp(t,n))}const W2=Ma({passive:!0});let aG=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return so;const i=qr(e),o=this._monitoredElements.get(i);if(o)return o.subject;const r=new te,a="cdk-text-field-autofilled",s=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>r.next({target:c.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>r.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",s,W2),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:()=>{i.removeEventListener("animationstart",s,W2)}}),r}stopMonitoring(e){const i=qr(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),q2=(()=>{class t{get minRows(){return this._minRows}set minRows(e){this._minRows=ki(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=ki(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=Ue(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._destroyed=new te,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=a=>{this._hasFocus="focus"===a.type},this._document=r,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Bo(this._getWindow(),"resize").pipe(yy(16),nt(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",o=this._platform.FIREFOX,r=o&&this._hasFocus,a=o?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";r&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(a);const s=e.scrollHeight-4;return e.classList.remove(a),r&&(e.style.marginBottom=i),s}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,o=i.value;if(!e&&this._minRows===this._previousMinRows&&o===this._previousValue)return;const r=this._measureScrollHeight(),a=Math.max(r,this._cachedPlaceholderHeight||0);i.style.height=`${a}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=o,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:o}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(at,8))};static#t=this.\u0275dir=X({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(i,o){1&i&&L("input",function(){return o._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return t})(),sG=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const cG=new oe("MAT_INPUT_VALUE_ACCESSOR"),lG=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let dG=0;const uG=Rv(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new te}});let sn=(()=>{class t extends uG{get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=Ue(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&mT().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ue(e)}constructor(e,i,o,r,a,s,c,u,p,b){super(s,r,a,o),this._elementRef=e,this._platform=i,this._autofillMonitor=u,this._formField=b,this._uid="mat-input-"+dG++,this.focused=!1,this.stateChanges=new te,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(A=>mT().has(A)),this._iOSKeyupListener=A=>{const O=A.target;!O.value&&0===O.selectionStart&&0===O.selectionEnd&&(O.setSelectionRange(1,1),O.setSelectionRange(0,0))};const y=this._elementRef.nativeElement,C=y.nodeName.toLowerCase();this._inputValueAccessor=c||y,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!b,this._isNativeSelect&&(this.controlType=y.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){lG.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(er,10),g(ja,8),g(Ti,8),g(Gm),g(cG,10),g(aG),g(We),g(Xd,8))};static#t=this.\u0275dir=X({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){1&i&&L("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),2&i&&(Hn("id",o.id)("disabled",o.disabled)("required",o.required),et("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Xe("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ze([{provide:pp,useExisting:t}]),fe,ai]})}return t})(),K2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Jd,Jd,sG,wt]})}return t})();const eu={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=eu;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new T(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=eu;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=eu;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class mG extends Cv{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class hG extends xv{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=eu.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(eu.cancelAnimationFrame(e),n._scheduled=void 0)}});let xy,fG=1;const gp={};function Z2(t){return t in gp&&(delete gp[t],!0)}const gG={setImmediate(t){const n=fG++;return gp[n]=!0,xy||(xy=Promise.resolve()),xy.then(()=>Z2(n)&&t()),n},clearImmediate(t){Z2(t)}},{setImmediate:_G,clearImmediate:bG}=gG,_p={setImmediate(...t){const{delegate:n}=_p;return(n?.setImmediate||_G)(...t)},clearImmediate(t){const{delegate:n}=_p;return(n?.clearImmediate||bG)(t)},delegate:void 0},wy=new class yG extends Cv{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class vG extends xv{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=_p.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(_p.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});let tu=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new te,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ye(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(yy(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):qe()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Tt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=qr(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Bo(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(We),Z(Qt),Z(at,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iu=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new te,this._elementScrolled=new Ye(a=>this.ngZone.runOutsideAngular(()=>Bo(this.elementRef.nativeElement,"scroll").pipe(nt(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,o=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=o?e.end:e.start),null==e.right&&(e.right=o?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&0!=Ed()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Ed()?e.left=e.right:1==Ed()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;pT()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?o:i:"end"==e&&(e=a?i:o),a&&2==Ed()?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&1==Ed()?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(tu),g(We),g(Qi,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return t})(),Zr=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new te,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(yy(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(We),Z(at,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),za=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})(),Cy=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Nd,za,Nd,za]})}return t})();class Dy{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Qc extends Dy{constructor(n,e,i,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class Yr extends Dy{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class DG extends Dy{constructor(n){super(),this.element=n instanceof Le?n.nativeElement:n}}class bp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Qc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Yr?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof DG?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class kG extends bp{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=a=>{const s=a.element,c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||Di.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let SG=(()=>{class t extends Yr{constructor(e,i){super(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(ui))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[fe]})}return t})(),Qr=(()=>{class t extends bp{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Ne,this.attachDomPortal=r=>{const a=r.element,s=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static#e=this.\u0275fac=function(i){return new(i||t)(g(cs),g(ui),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[fe]})}return t})(),Ms=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const Y2=pT();class MG{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yi(-this._previousScrollPosition.left),n.style.top=Yi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Y2&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Y2&&(i.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class TG{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Tt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Q2{enable(){}disable(){}attach(){}}function ky(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function X2(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class IG{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();ky(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let EG=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Q2,this.close=a=>new TG(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new MG(this._viewportRuler,this._document),this.reposition=a=>new IG(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}static#e=this.\u0275fac=function(i){return new(i||t)(Z(tu),Z(Zr),Z(We),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Xc{constructor(n){if(this.scrollStrategy=new Q2,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class OG{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let J2=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AG=(()=>{class t extends J2{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){const s=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(o)):s.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(We,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),PG=(()=>{class t extends J2{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Gr(r)},this._clickListener=r=>{const a=Gr(r),s="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){const p=c[u];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(a)||p.overlayElement.contains(s))break;const b=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>b.next(r)):b.next(r)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Qt),Z(We,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vp=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||bv()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(b),this._backdropTransitionendHandler=b=>{this._disposeBackdrop(b.target)},this._keydownEvents=new te,this._outsidePointerEvents=new te,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Pt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Yi(this._config.width),n.height=Yi(this._config.height),n.minWidth=Yi(this._config.minWidth),n.minHeight=Yi(this._config.minHeight),n.maxWidth=Yi(this._config.maxWidth),n.maxHeight=Yi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=Nm(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(nt(wi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const eE="cdk-overlay-connected-position-bounding-box",RG=/([A-Za-z%]+)$/;class FG{get positions(){return this._preferredPositions}constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new te,this._resizeSubscription=T.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(eE),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,o,s),u=this._getOverlayPoint(c,e,s),p=this._getOverlayFit(u,e,i,s);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,c);this._canFitWithFlexibleDimensions(p,u,i)?r.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)}):(!a||a.overlayFit.visibleAreac&&(c=p,s=u)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ts(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eE),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;o="start"==i.originX?a:s}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=iE(e);let{x:a,y:s}=n,c=this._getOffset(o,"x"),u=this._getOffset(o,"y");c&&(a+=c),u&&(s+=u);let y=0-s,C=s+r.height-i.height,A=this._subtractOverflows(r.width,0-a,a+r.width-i.width),O=this._subtractOverflows(r.height,y,C),W=A*O;return{visibleArea:W,isCompletelyWithinViewport:r.width*r.height===W,fitsInViewportVertically:O===r.height,fitsInViewportHorizontally:A==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,a=tE(this._overlayRef.getConfig().minHeight),s=tE(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=a&&a<=o)&&(n.fitsInViewportHorizontally||null!=s&&s<=r)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=iE(e),r=this._viewportRect,a=Math.max(n.x+o.width-r.width,0),s=Math.max(n.y+o.height-r.height,0),c=Math.max(r.top-i.top-n.y,0),u=Math.max(r.left-i.left-n.x,0);let p=0,b=0;return p=o.width<=r.width?u||-a:n.xA&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-A/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)y=i.width-n.x+this._viewportMargin,p=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)b=n.x,p=i.right-n.x;else{const C=Math.min(i.right-n.x+i.left,n.x),A=this._lastBoundingBoxSize.width;p=2*C,b=n.x-C,p>A&&!this._isInitialRender&&!this._growAfterOpen&&(b=n.x-A/2)}return{top:a,left:b,bottom:s,right:y,width:p,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Yi(i.height),o.top=Yi(i.top),o.bottom=Yi(i.bottom),o.width=Yi(i.width),o.left=Yi(i.left),o.right=Yi(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Yi(r)),a&&(o.maxWidth=Yi(a))}this._lastBoundingBoxSize=i,Ts(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ts(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ts(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();Ts(i,this._getExactOverlayY(e,n,p)),Ts(i,this._getExactOverlayX(e,n,p))}else i.position="static";let s="",c=this._getOffset(e,"x"),u=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),u&&(s+=`translateY(${u}px)`),i.transform=s.trim(),a.maxHeight&&(o?i.maxHeight=Yi(a.maxHeight):r&&(i.maxHeight="")),a.maxWidth&&(o?i.maxWidth=Yi(a.maxWidth):r&&(i.maxWidth="")),Ts(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Yi(r.y),o}_getExactOverlayX(n,e,i){let a,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Yi(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:X2(n,i),isOriginOutsideView:ky(n,i),isOverlayClipped:X2(e,i),isOverlayOutsideView:ky(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Nm(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Le)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Ts(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function tE(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(RG);return e&&"px"!==e?null:parseFloat(n)}return t||null}function iE(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const nE="cdk-global-overlay-wrapper";class NG{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(nE),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=i,c=!("100%"!==o&&"100vw"!==o||a&&"100%"!==a&&"100vw"!==a),u=!("100%"!==r&&"100vh"!==r||s&&"100%"!==s&&"100vh"!==s),p=this._xPosition,b=this._xOffset,y="rtl"===this._overlayRef.getConfig().direction;let C="",A="",O="";c?O="flex-start":"center"===p?(O="center",y?A=b:C=b):y?"left"===p||"end"===p?(O="flex-end",C=b):("right"===p||"start"===p)&&(O="flex-start",A=b):"left"===p||"start"===p?(O="flex-start",C=b):("right"===p||"end"===p)&&(O="flex-end",A=b),n.position=this._cssPosition,n.marginLeft=c?"0":C,n.marginTop=u?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":A,e.justifyContent=O,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(nE),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let LG=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new NG}flexibleConnectedTo(e){return new FG(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Zr),Z(at),Z(Qt),Z(vp))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),BG=0,In=(()=>{class t{constructor(e,i,o,r,a,s,c,u,p,b,y,C){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=u,this._directionality=p,this._location=b,this._outsideClickDispatcher=y,this._animationsModuleType=C}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),a=new Xc(e);return a.direction=a.direction||this._directionality.value,new nu(r,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+BG++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(wa)),new kG(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(EG),Z(vp),Z(cs),Z(LG),Z(AG),Z(Di),Z(We),Z(at),Z(Qi),Z(vd),Z(PG),Z(ti,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const VG=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],oE=new oe("cdk-connected-overlay-scroll-strategy");let Sy=(()=>{class t{constructor(e){this.elementRef=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return t})(),rE=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ue(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ue(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ue(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ue(e)}get push(){return this._push}set push(e){this._push=Ue(e)}constructor(e,i,o,r,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=T.EMPTY,this._attachSubscription=T.EMPTY,this._detachSubscription=T.EMPTY,this._positionSubscription=T.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Ne,this.positionChange=new Ne,this.attach=new Ne,this.detach=new Ne,this.overlayKeydown=new Ne,this.overlayOutsideClick=new Ne,this._templatePortal=new Yr(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=VG);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!dn(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Xc({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Sy?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function CG(t,n=!1){return rt((e,i)=>{let o=0;e.subscribe(ct(i,r=>{const a=t(r,o++);(a||n)&&i.next(r),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(In),g(si),g(ui),g(oE),g(Qi,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ai]})}return t})();const zG={provide:oE,deps:[In],useFactory:function jG(t){return()=>t.scrollStrategies.reposition()}};let Is=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[In,zG],imports:[Nd,Ms,Cy,Cy]})}return t})();function Jc(t){return new Ye(n=>{wn(t()).subscribe(n)})}const HG=["trigger"],UG=["panel"];function $G(t,n){if(1&t&&(d(0,"span",10),h(1),l()),2&t){const e=w();m(1),Re(e.placeholder)}}function GG(t,n){if(1&t&&(d(0,"span",14),h(1),l()),2&t){const e=w(2);m(1),Re(e.triggerValue)}}function WG(t,n){1&t&&Ke(0,0,["*ngSwitchCase","true"])}function qG(t,n){1&t&&(d(0,"span",11),_(1,GG,2,1,"span",12),_(2,WG,1,0,"ng-content",13),l()),2&t&&(f("ngSwitch",!!w().customTrigger),m(2),f("ngSwitchCase",!0))}function KG(t,n){if(1&t){const e=_e();di(),Pr(),d(0,"div",15,16),L("@transformPanel.done",function(o){return ae(e),se(w()._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){return ae(e),se(w()._handleKeydown(o))}),Ke(2,1),l()}if(2&t){const e=w();xD("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),f("ngClass",e.panelClass)("@transformPanel","showing"),et("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const ZG=[[["mat-select-trigger"]],"*"],YG=["mat-select-trigger","*"],QG={transformPanelWrap:_o("transformPanelWrap",[Ni("* => void",Gb("@transformPanel",[$b()],{optional:!0}))]),transformPanel:_o("transformPanel",[Zi("void",zt({opacity:0,transform:"scale(1, 0.8)"})),Ni("void => showing",Fi("120ms cubic-bezier(0, 0, 0.2, 1)",zt({opacity:1,transform:"scale(1, 1)"}))),Ni("* => void",Fi("100ms linear",zt({opacity:0})))])};let aE=0;const sE=new oe("mat-select-scroll-strategy"),JG=new oe("MAT_SELECT_CONFIG"),eW={provide:sE,deps:[In],useFactory:function XG(t){return()=>t.scrollStrategies.reposition()}},tW=new oe("MatSelectTrigger");class iW{constructor(n,e){this.source=n,this.value=e}}const nW=Oa(Aa(Ia(Rv(class{constructor(t,n,e,i,o){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=o,this.stateChanges=new te}}))));let oW=(()=>{class t extends nW{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=Ue(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ue(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ue(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=ki(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,o,r,a,s,c,u,p,b,y,C,A,O){super(a,r,c,u,b),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=s,this._parentFormField=p,this._liveAnnouncer=A,this._defaultOptions=O,this._panelOpen=!1,this._compareWith=(W,ce)=>W===ce,this._uid="mat-select-"+aE++,this._triggerAriaLabelledBy=null,this._destroy=new te,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+aE++,this._panelDoneAnimatingStream=new te,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Jc(()=>{const W=this.options;return W?W.changes.pipe(Hi(W),qi(()=>wi(...W.map(ce=>ce.onSelectionChange)))):this._ngZone.onStable.pipe(Pt(1),qi(()=>this.optionSelectionChanges))}),this.openedChange=new Ne,this._openedStream=this.openedChange.pipe(Tt(W=>W),Ge(()=>{})),this._closedStream=this.openedChange.pipe(Tt(W=>!W),Ge(()=>{})),this.selectionChange=new Ne,this.valueChange=new Ne,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=O?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=O.typeaheadDebounceInterval),this._scrollStrategyFactory=C,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(y)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ud(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(zs(),nt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(nt(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Hi(null),nt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=`${this.id}-panel`;this._trackedModal&&jc(this._trackedModal,"aria-owns",i),Vm(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(jc(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,o=40===i||38===i||37===i||39===i,r=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&r&&!dn(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;a.onKeydown(e);const c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,o=e.keyCode,r=40===o||38===o,a=i.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(a||13!==o&&32!==o||!i.activeItem||dn(e))if(!a&&this._multiple&&65===o&&e.ctrlKey){e.preventDefault();const s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{const s=i.activeItemIndex;i.onKeydown(e),this._multiple&&r&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Pt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new ST(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=wi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(nt(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),wi(...this.options.map(i=>i._stateChanges)).pipe(nt(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const o=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(i){return new(i||t)(g(Zr),g(Nt),g(We),g(Gm),g(Le),g(Qi,8),g(ja,8),g(Ti,8),g(Xd,8),g(er,10),jn("tabindex"),g(sE),g(Ov),g(JG,8))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&(xt(HG,5),xt(UG,5),xt(rE,5)),2&i){let r;Oe(r=Ae())&&(o.trigger=r.first),Oe(r=Ae())&&(o.panel=r.first),Oe(r=Ae())&&(o._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[fe,ai]})}return t})(),oo=(()=>{class t extends oW{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=e=>!this.panelOpen&&e.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(nt(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const o=this.panel.nativeElement,r=HT(e,this.options,this.optionGroups),a=i._getHostElement();o.scrollTop=0===e&&1===r?0:UT(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new iW(this,e)}_getOverlayWidth(e){return"auto"===this.panelWidth?(e instanceof Sy?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ue(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-select"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,tW,5),pt(r,_n,5),pt(r,Nv,5)),2&i){let a;Oe(a=Ae())&&(o.customTrigger=a.first),Oe(a=Ae())&&(o.options=a),Oe(a=Ae())&&(o.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),2&i&&(et("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),Xe("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Ze([{provide:pp,useExisting:t},{provide:Fv,useExisting:t}]),fe],ngContentSelectors:YG,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(i,o){if(1&i&&(Lt(ZG),d(0,"div",0,1),L("click",function(){return o.toggle()}),d(3,"div",2),_(4,$G,2,1,"span",3),_(5,qG,3,2,"span",4),l(),d(6,"div",5)(7,"div",6),di(),d(8,"svg",7),D(9,"path",8),l()()()(),_(10,KG,3,9,"ng-template",9),L("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),2&i){const r=At(1);m(3),f("ngSwitch",o.empty),et("id",o._valueId),m(1),f("ngSwitchCase",!0),m(1),f("ngSwitchCase",!1),m(5),f("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Qo,Nc,dm,XS,rE,Sy],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[QG.transformPanel]},changeDetection:0})}return t})(),cE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[eW],imports:[Mn,Is,Wm,wt,za,Jd,Wm,wt]})}return t})();function yp(t){return Ge(()=>t)}function lE(t,n){return n?e=>Rd(n.pipe(Pt(1),function rW(){return rt((t,n)=>{t.subscribe(ct(n,k))})}()),e.pipe(lE(t))):en((e,i)=>wn(t(e,i)).pipe(Pt(1),yp(e)))}function My(t,n=Pd){const e=fp(t,n);return lE(()=>e)}const aW=["mat-menu-item",""];function sW(t,n){1&t&&(di(),d(0,"svg",3),D(1,"polygon",4),l())}const cW=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],lW=["mat-icon, [matMenuItemIcon]","*"];function dW(t,n){if(1&t){const e=_e();d(0,"div",0),L("keydown",function(o){return ae(e),se(w()._handleKeydown(o))})("click",function(){return ae(e),se(w().closed.emit("click"))})("@transformMenu.start",function(o){return ae(e),se(w()._onAnimationStart(o))})("@transformMenu.done",function(o){return ae(e),se(w()._onAnimationDone(o))}),d(1,"div",1),Ke(2),l()()}if(2&t){const e=w();f("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),et("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const uW=["*"],Ty=new oe("MAT_MENU_PANEL"),hW=Oa(Ia(class{}));let Xr=(()=>{class t extends hW{constructor(e,i,o,r,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=r,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new te,this._focused=new te,this._highlighted=!1,this._triggersSubmenu=!1,r?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",Fi("120ms cubic-bezier(0, 0, 0.2, 1)",zt({opacity:1,transform:"scale(1)"}))),Ni("* => void",Fi("100ms 25ms linear",zt({opacity:0})))]),fadeInItems:_o("fadeInItems",[Zi("showing",zt({opacity:1})),Ni("void => *",[zt({opacity:0}),Fi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pW=0;const dE=new oe("mat-menu-default-options",{providedIn:"root",factory:function fW(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ou=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ue(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ue(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,o,r){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=r,this._directDescendantItems=new Vr,this._classList={},this._panelAnimationState="void",this._animationDone=new te,this.closed=new Ne,this.close=this.closed,this.panelId="mat-menu-panel-"+pW++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Hm(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Hi(this._directDescendantItems),qi(e=>wi(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const o=e.toArray(),r=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[r]&&!o[r].disabled?i.setActiveItem(r):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Hi(this._directDescendantItems),qi(i=>wi(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:dn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Pt(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,r=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!r||r===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,i=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===i,o["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Hi(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(dE),g(Nt))};static#t=this.\u0275dir=X({type:t,contentQueries:function(i,o,r){if(1&i&&(pt(r,mW,5),pt(r,Xr,5),pt(r,Xr,4)),2&i){let a;Oe(a=Ae())&&(o.lazyContent=a.first),Oe(a=Ae())&&(o._allItems=a),Oe(a=Ae())&&(o.items=a)}},viewQuery:function(i,o){if(1&i&&xt(si,5),2&i){let r;Oe(r=Ae())&&(o.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return t})(),el=(()=>{class t extends ou{constructor(e,i,o,r){super(e,i,o,r),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(dE),g(Nt))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(i,o){2&i&&et("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ze([{provide:Ty,useExisting:t}]),fe],ngContentSelectors:uW,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(i,o){1&i&&(Lt(),_(0,dW,3,6,"ng-template"))},dependencies:[Qo],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[xp.transformMenu,xp.fadeInItems]},changeDetection:0})}return t})();const uE=new oe("mat-menu-scroll-strategy"),_W={provide:uE,deps:[In],useFactory:function gW(t){return()=>t.scrollStrategies.reposition()}},hE=Ma({passive:!0});let bW=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,o,r,a,s,c,u,p){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=s,this._dir=c,this._focusMonitor=u,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=T.EMPTY,this._hoverSubscription=T.EMPTY,this._menuCloseSubscription=T.EMPTY,this._changeDetectorRef=Fe(Nt),this._handleTouchStart=b=>{Ev(b)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ne,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ne,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=a instanceof ou?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,hE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),o=i.getConfig(),r=o.positionStrategy;this._setPosition(e,r),o.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof ou&&(e._startAnimation(),e._directDescendantItems.changes.pipe(nt(e.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof ou?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Tt(o=>"void"===o.toState),Pt(1),nt(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,o=e.parentMenu;for(;o;)i++,o=o.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Xc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(o=>{const r="start"===o.connectionPair.overlayX?"after":"before",a="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(r,a)):e.setPositionClasses(r,a)})}_setPosition(e,i){let[o,r]="before"===e.xPosition?["end","start"]:["start","end"],[a,s]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[c,u]=[a,s],[p,b]=[o,r],y=0;if(this.triggersSubmenu()){if(b=o="before"===e.xPosition?"start":"end",r=p="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const C=this._parentMaterialMenu.items.first;this._parentInnerPadding=C?C._getHostElement().offsetTop:0}y="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c="top"===a?"bottom":"top",u="top"===s?"bottom":"top");i.withPositions([{originX:o,originY:c,overlayX:p,overlayY:a,offsetY:y},{originX:r,originY:c,overlayX:b,overlayY:a,offsetY:y},{originX:o,originY:u,overlayX:p,overlayY:s,offsetY:-y},{originX:r,originY:u,overlayX:b,overlayY:s,offsetY:-y}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return wi(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:qe(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Tt(a=>a!==this._menuItemInstance),Tt(()=>this._menuOpen)):qe(),i)}_handleMousedown(e){Iv(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Tt(e=>e===this._menuItemInstance&&!e.disabled),My(0,wy)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ou&&this.menu._isAnimating?this.menu._animationDone.pipe(Pt(1),My(0,wy),nt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Yr(e.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(i){return new(i||t)(g(In),g(Le),g(ui),g(uE),g(Ty,8),g(Xr,10),g(Qi,8),g(yo),g(We))};static#t=this.\u0275dir=X({type:t,hostVars:3,hostBindings:function(i,o){1&i&&L("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),2&i&&et("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return t})(),tl=(()=>{class t extends bW{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[fe]})}return t})(),mE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[_W],imports:[Mn,Ra,wt,Is,za,wt]})}return t})();function wp(t){return!!t&&(t instanceof Ye||z(t.lift)&&z(t.subscribe))}const vW=[[["caption"]],[["colgroup"],["col"]]],yW=["caption","colgroup, col"];function Iy(t){return class extends t{get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=Ue(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}}}const il=new oe("CDK_TABLE");let nl=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),ol=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),Cp=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})();class DW{}const kW=Iy(DW);let Jr=(()=>{class t extends kW{get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=Ue(e),this._hasStickyChanged=i!==this._stickyEnd}constructor(e){super(),this._table=e,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(i){return new(i||t)(g(il,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,r){if(1&i&&(pt(r,nl,5),pt(r,ol,5),pt(r,Cp,5)),2&i){let a;Oe(a=Ae())&&(o.cell=a.first),Oe(a=Ae())&&(o.headerCell=a.first),Oe(a=Ae())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ze([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),fe]})}return t})();class Ey{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let Oy=(()=>{class t extends Ey{constructor(e,i){super(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Jr),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[fe]})}return t})(),Ay=(()=>{class t extends Ey{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const o=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===o||"treegrid"===o?"gridcell":"cell")}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Jr),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[fe]})}return t})();class fE{constructor(){this.tasks=[],this.endTasks=[]}}const Py=new oe("_COALESCED_STYLE_SCHEDULER");let gE=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new te}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new fE,this._getScheduleObservable().pipe(nt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new fE;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Bi(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Pt(1))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),Ry=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof ru?e.headerCell.template:this instanceof au?e.footerCell.template:e.cell.template}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po))};static#t=this.\u0275dir=X({type:t,features:[ai]})}return t})();class SW extends Ry{}const MW=Iy(SW);let ru=(()=>{class t extends MW{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po),g(il,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[fe,ai]})}return t})();class TW extends Ry{}const IW=Iy(TW);let au=(()=>{class t extends IW{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po),g(il,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[fe,ai]})}return t})(),Dp=(()=>{class t extends Ry{constructor(e,i,o){super(e,i),this._table=o}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po),g(il,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[fe]})}return t})(),ea=(()=>{class t{static#e=this.mostRecentCellOutlet=null;constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(i){return new(i||t)(g(ui))};static#i=this.\u0275dir=X({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),Fy=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),Ly=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),kp=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})();const _E=["top","bottom","left","right"];class EW{constructor(n,e,i,o,r=!0,a=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const o of n)if(o.nodeType===o.ELEMENT_NODE){i.push(o);for(let r=0;r{for(const o of i)this._removeStickyStyle(o,e)})}updateStickyColumns(n,e,i,o=!0){if(!n.length||!this._isBrowser||!e.some(y=>y)&&!i.some(y=>y))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const r=n[0],a=r.children.length,s=this._getCellWidths(r,o),c=this._getStickyStartColumnPositions(s,e),u=this._getStickyEndColumnPositions(s,i),p=e.lastIndexOf(!0),b=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const y="rtl"===this.direction,C=y?"right":"left",A=y?"left":"right";for(const O of n)for(let W=0;We[W]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===b?[]:s.slice(b).map((O,W)=>i[W+b]?O:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const o="bottom"===i?n.slice().reverse():n,r="bottom"===i?e.slice().reverse():e,a=[],s=[],c=[];for(let p=0,b=0;p{for(let p=0;p{e.some(o=>!o)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const o of e)n.style[o]="",n.classList.remove(this._borderCellCss[o]);_E.some(o=>-1===e.indexOf(o)&&n.style[o])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,o){n.classList.add(this._stickCellCss),o&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const o of _E)n.style[o]&&(i+=e[o]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],o=n.children;for(let r=0;r0;r--)e[r]&&(i[r]=o,o+=n[r]);return i}}const By=new oe("CDK_SPL");let Sp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","rowOutlet",""]]})}return t})(),Mp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),Tp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),Ip=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),Ep=(()=>{class t{get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Ue(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Ue(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,o,r,a,s,c,u,p,b,y,C){this._differs=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=a,this._platform=c,this._viewRepeater=u,this._coalescedStyleScheduler=p,this._viewportRuler=b,this._stickyPositioningListener=y,this._ngZone=C,this._onDestroy=new te,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Ne,this.viewChange=new bt({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(nt(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ip(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(o,r,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{1===o.operation&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{i.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&We.isInAngularZone()?this._ngZone.onStable.pipe(Pt(1),nt(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=e.length?"":"none");const r=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,r,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=e.length?"":"none");const r=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{const a=[];for(let s=0;s{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{const s=o&&o.has(a)?o.get(a):[];if(s.length){const c=s.shift();return c.dataIndex=i,c}return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Op(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Op(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Op(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Op(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(a,s)=>a||!!s.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),i||o||r}_switchDataSource(e){this._data=[],ip(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ip(this.dataSource)?e=this.dataSource.connect(this):wp(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=qe(this.dataSource)),this._renderChangeSubscription=e.pipe(nt(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const o=Array.from(i.columns||[]).map(s=>this._columnDefsByName.get(s)),r=o.map(s=>s.sticky),a=o.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let o=0;o!r.when||r.when(i,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;r&&o.push(r)}return o}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,o,r={}){const a=e.viewContainer.createEmbeddedView(i.template,r,o);return this._renderCellTemplateForItem(i,r),a}_renderCellTemplateForItem(e,i){for(let o of this._getCellTemplates(e))ea.mostRecentCellOutlet&&ea.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,o=e.length;i{const o=this._columnDefsByName.get(i);return e.extractCellTemplate(o)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const o of i){const r=this._document.createElement(o.tag);r.setAttribute("role","rowgroup");for(const a of o.outlets)r.appendChild(a.elementRef.nativeElement);e.appendChild(r)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new EW(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:qe()).pipe(nt(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const o=this._noDataRowOutlet.viewContainer;if(i){const r=o.createEmbeddedView(e.templateRef),a=r.rootNodes[0];1===r.rootNodes.length&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Po),g(Nt),g(Le),jn("role"),g(Qi,8),g(at),g(Qt),g($d),g(Py),g(Zr),g(By,12),g(We,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,r){if(1&i&&(pt(r,kp,5),pt(r,Jr,5),pt(r,Dp,5),pt(r,ru,5),pt(r,au,5)),2&i){let a;Oe(a=Ae())&&(o._noDataRow=a.first),Oe(a=Ae())&&(o._contentColumnDefs=a),Oe(a=Ae())&&(o._contentRowDefs=a),Oe(a=Ae())&&(o._contentHeaderRowDefs=a),Oe(a=Ae())&&(o._contentFooterRowDefs=a)}},viewQuery:function(i,o){if(1&i&&(xt(Sp,7),xt(Mp,7),xt(Tp,7),xt(Ip,7)),2&i){let r;Oe(r=Ae())&&(o._rowOutlet=r.first),Oe(r=Ae())&&(o._headerRowOutlet=r.first),Oe(r=Ae())&&(o._footerRowOutlet=r.first),Oe(r=Ae())&&(o._noDataRowOutlet=r.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ze([{provide:il,useExisting:t},{provide:$d,useClass:II},{provide:Py,useClass:gE},{provide:By,useValue:null}])],ngContentSelectors:yW,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){1&i&&(Lt(vW),Ke(0),Ke(1,1),zn(2,0)(3,1)(4,2)(5,3))},dependencies:[Sp,Mp,Tp,Ip],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return t})();function Op(t,n){return t.concat(Array.from(n))}let AW=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Cy]})}return t})();const PW=[[["caption"]],[["colgroup"],["col"]]],RW=["caption","colgroup, col"];let Ha=(()=>{class t extends Ep{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[Ze([{provide:Ep,useExisting:t},{provide:il,useExisting:t},{provide:Py,useClass:gE},{provide:$d,useClass:II},{provide:By,useValue:null}]),fe],ngContentSelectors:RW,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){1&i&&(Lt(PW),Ke(0),Ke(1,1),zn(2,0)(3,1)(4,2)(5,3))},dependencies:[Sp,Mp,Tp,Ip],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return t})(),ta=(()=>{class t extends nl{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matCellDef",""]],features:[Ze([{provide:nl,useExisting:t}]),fe]})}return t})(),ia=(()=>{class t extends ol{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matHeaderCellDef",""]],features:[Ze([{provide:ol,useExisting:t}]),fe]})}return t})(),na=(()=>{class t extends Jr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ze([{provide:Jr,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),fe]})}return t})(),oa=(()=>{class t extends Oy{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[fe]})}return t})(),ra=(()=>{class t extends Ay{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[fe]})}return t})(),Ua=(()=>{class t extends ru{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ze([{provide:ru,useExisting:t}]),fe]})}return t})(),$a=(()=>{class t extends Dp{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ze([{provide:Dp,useExisting:t}]),fe]})}return t})(),Ga=(()=>{class t extends Fy{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ze([{provide:Fy,useExisting:t}]),fe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),Wa=(()=>{class t extends Ly{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ze([{provide:Ly,useExisting:t}]),fe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),Ap=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,AW,wt]})}return t})();const vE=new oe("CdkAccordion");let UW=0,$W=(()=>{class t{get expanded(){return this._expanded}set expanded(e){e=Ue(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e)}constructor(e,i,o){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=T.EMPTY,this.closed=new Ne,this.opened=new Ne,this.destroyed=new Ne,this.expandedChange=new Ne,this.id="cdk-accordion-child-"+UW++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((r,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==r&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(vE,12),g(Nt),g(Qv))};static#t=this.\u0275dir=X({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ze([{provide:vE,useValue:void 0}])]})}return t})(),GW=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const WW=["body"];function qW(t,n){}const KW=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ZW=["mat-expansion-panel-header","*","mat-action-row"];function YW(t,n){1&t&&D(0,"span",2),2&t&&f("@indicatorRotate",w()._getExpandedState())}const QW=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],XW=["mat-panel-title","mat-panel-description","*"],yE=new oe("MAT_ACCORDION"),xE="225ms cubic-bezier(0.4,0.0,0.2,1)",wE={indicatorRotate:_o("indicatorRotate",[Zi("collapsed, void",zt({transform:"rotate(0deg)"})),Zi("expanded",zt({transform:"rotate(180deg)"})),Ni("expanded <=> collapsed, void => collapsed",Fi(xE))]),bodyExpansion:_o("bodyExpansion",[Zi("collapsed, void",zt({height:"0px",visibility:"hidden"})),Zi("expanded",zt({height:"*",visibility:""})),Ni("expanded <=> collapsed, void => collapsed",Fi(xE))])},CE=new oe("MAT_EXPANSION_PANEL");let JW=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(CE,8))};static#t=this.\u0275dir=X({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),eq=0;const DE=new oe("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Vy=(()=>{class t extends $W{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ue(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,o,r,a,s,c){super(e,i,o),this._viewContainerRef=r,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new Ne,this.afterCollapse=new Ne,this._inputChanges=new te,this._headerId="mat-expansion-panel-header-"+eq++,this._bodyAnimationDone=new te,this.accordion=e,this._document=a,this._bodyAnimationDone.pipe(zs((u,p)=>u.fromState===p.fromState&&u.toState===p.toState)).subscribe(u=>{"void"!==u.fromState&&("expanded"===u.toState?this.afterExpand.emit():"collapsed"===u.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Hi(null),Tt(()=>this.expanded&&!this._portal),Pt(1)).subscribe(()=>{this._portal=new Yr(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}static#e=this.\u0275fac=function(i){return new(i||t)(g(yE,12),g(Nt),g(Qv),g(ui),g(at),g(ti,8),g(DE,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,o,r){if(1&i&&pt(r,JW,5),2&i){let a;Oe(a=Ae())&&(o._lazyContent=a.first)}},viewQuery:function(i,o){if(1&i&&xt(WW,5),2&i){let r;Oe(r=Ae())&&(o._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,o){2&i&&Xe("mat-expanded",o.expanded)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ze([{provide:yE,useValue:void 0},{provide:CE,useExisting:t}]),fe,ai],ngContentSelectors:ZW,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,o){1&i&&(Lt(KW),Ke(0),d(1,"div",0,1),L("@bodyExpansion.done",function(a){return o._bodyAnimationDone.next(a)}),d(3,"div",2),Ke(4,1),_(5,qW,0,0,"ng-template",3),l(),Ke(6,2),l()),2&i&&(m(1),f("@bodyExpansion",o._getExpandedState())("id",o.id),et("aria-labelledby",o._headerId),m(4),f("cdkPortalOutlet",o._portal))},dependencies:[Qr],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[wE.bodyExpansion]},changeDetection:0})}return t})();class tq{}const iq=Aa(tq);let kE=(()=>{class t extends iq{constructor(e,i,o,r,a,s,c){super(),this.panel=e,this._element=i,this._focusMonitor=o,this._changeDetectorRef=r,this._animationMode=s,this._parentChangeSubscription=T.EMPTY;const u=e.accordion?e.accordion._stateChanges.pipe(Tt(p=>!(!p.hideToggle&&!p.togglePosition))):so;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=wi(e.opened,e.closed,u,e._inputChanges.pipe(Tt(p=>!!(p.hideToggle||p.disabled||p.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Tt(()=>e._containsFocus())).subscribe(()=>o.focusVia(i,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:dn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Vy,1),g(Le),g(yo),g(Nt),g(DE,8),g(ti,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,o){1&i&&L("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),2&i&&(et("id",o.panel._headerId)("tabindex",o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),rn("height",o._getHeaderHeight()),Xe("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after","after"===o._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===o._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===o._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[fe],ngContentSelectors:XW,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(i,o){1&i&&(Lt(QW),d(0,"span",0),Ke(1),Ke(2,1),Ke(3,2),l(),_(4,YW,1,1,"span",1)),2&i&&(Xe("mat-content-hide-toggle",!o._showToggle()),m(4),f("ngIf",o._showToggle()))},dependencies:[Et],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[wE.indicatorRotate]},changeDetection:0})}return t})(),nq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),SE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt,GW,Ms]})}return t})();function oq(t,n){1&t&&(d(0,"span",7),Ke(1,1),l())}function rq(t,n){1&t&&(d(0,"span",8),Ke(1,2),l())}const ME=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],TE=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function cq(t,n){1&t&&(xe(0),D(1,"span",8),we())}function lq(t,n){1&t&&(d(0,"span",9),Ke(1),l())}function dq(t,n){1&t&&(xe(0),Ke(1,1),we())}function uq(t,n){1&t&&Ke(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function hq(t,n){1&t&&D(0,"span",12)}function mq(t,n){if(1&t&&(xe(0),_(1,uq,1,0,"ng-content",10),_(2,hq,1,0,"ng-template",null,11,Zo),we()),2&t){const e=At(3),i=w();m(1),f("ngIf",i.contentEditInput)("ngIfElse",e)}}function pq(t,n){1&t&&(d(0,"span",13),Ke(1,3),l())}const fq=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],gq=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],jy=["*"],Pp=new oe("mat-chips-default-options"),zy=new oe("MatChipAvatar"),Hy=new oe("MatChipTrailingIcon"),Uy=new oe("MatChipRemove"),Rp=new oe("MatChip");class _q{}const bq=Aa(_q,-1);let rl=(()=>{class t extends bq{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=Ue(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Rp))};static#t=this.\u0275dir=X({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,o){1&i&&L("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),2&i&&(et("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),Xe("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[fe]})}return t})(),OE=(()=>{class t extends rl{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(i,o){2&i&&et("aria-hidden",null)},features:[Ze([{provide:Uy,useExisting:t}]),fe]})}return t})(),xq=0;const wq=Aa(Ea(Oa(Ia(class{constructor(t){this._elementRef=t}})),"primary"),-1);let Es=(()=>{class t extends wq{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=Ue(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=Ue(e)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,i,o,r,a,s,c,u){super(i),this._changeDetectorRef=e,this._ngZone=o,this._focusMonitor=r,this._globalRippleOptions=c,this._onFocus=new te,this._onBlur=new te,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+xq++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new Ne,this.destroyed=new Ne,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=Fe(qT),this._document=a,this._animationsDisabled="NoopAnimations"===s,null!=u&&(this.tabIndex=parseInt(u)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=wi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const o=i._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Pt(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(We),g(yo),g(at),g(ti,8),g(Hc,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,o,r){if(1&i&&(pt(r,zy,5),pt(r,Hy,5),pt(r,Uy,5),pt(r,zy,5),pt(r,Hy,5),pt(r,Uy,5)),2&i){let a;Oe(a=Ae())&&(o.leadingIcon=a.first),Oe(a=Ae())&&(o.trailingIcon=a.first),Oe(a=Ae())&&(o.removeIcon=a.first),Oe(a=Ae())&&(o._allLeadingIcons=a),Oe(a=Ae())&&(o._allTrailingIcons=a),Oe(a=Ae())&&(o._allRemoveIcons=a)}},viewQuery:function(i,o){if(1&i&&xt(rl,5),2&i){let r;Oe(r=Ae())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._handleKeydown(a)}),2&i&&(Hn("id",o.id),et("role",o.role)("tabindex",o.role?o.tabIndex:null)("aria-label",o.ariaLabel),Xe("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ze([{provide:Rp,useExisting:t}]),fe],ngContentSelectors:TE,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,o){1&i&&(Lt(ME),D(0,"span",0),d(1,"span",1)(2,"span",2),_(3,oq,2,0,"span",3),d(4,"span",4),Ke(5),D(6,"span",5),l()()(),_(7,rq,2,0,"span",6)),2&i&&(m(2),f("isInteractive",!1),m(1),f("ngIf",o.leadingIcon),m(4),f("ngIf",o._hasTrailingIcon()))},dependencies:[Et,rl],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),Fp=(()=>{class t{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return t})(),$y=(()=>{class t extends Es{constructor(e,i,o,r,a,s,c,u){super(e,i,o,r,a,s,c,u),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new Ne,this._isEditing=!1,this.role="row",this._onBlur.pipe(nt(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(We),g(yo),g(at),g(ti,8),g(Hc,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(i,o,r){if(1&i&&pt(r,Fp,5),2&i){let a;Oe(a=Ae())&&(o.contentEditInput=a.first)}},viewQuery:function(i,o){if(1&i&&xt(Fp,5),2&i){let r;Oe(r=Ae())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(i,o){1&i&&L("focus",function(a){return o._handleFocus(a)})("dblclick",function(a){return o._handleDoubleclick(a)}),2&i&&(Hn("id",o.id),et("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),Xe("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Ze([{provide:Es,useExisting:t},{provide:Rp,useExisting:t}]),fe],ngContentSelectors:gq,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,o){1&i&&(Lt(fq),_(0,cq,2,0,"ng-container",0),d(1,"span",1),_(2,lq,2,0,"span",2),d(3,"span",3),_(4,dq,2,0,"ng-container",4),_(5,mq,4,2,"ng-container",4),D(6,"span",5),l()(),_(7,pq,2,0,"span",6),d(8,"span",7),h(9),l()),2&i&&(f("ngIf",!o._isEditing),m(1),f("tabIndex",o.tabIndex)("disabled",o.disabled),et("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),m(1),f("ngIf",o.leadingIcon),m(1),f("ngSwitch",o._isEditing),m(1),f("ngSwitchCase",!1),m(1),f("ngSwitchCase",!0),m(2),f("ngIf",o._hasTrailingIcon()),m(1),f("id",o._ariaDescriptionId),m(1),Re(o.ariaDescription))},dependencies:[Et,Nc,dm,rl,Fp],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();class Cq{constructor(n){}}const Dq=Aa(Cq);let Gy=(()=>{class t extends Dq{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,o){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=o,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new te,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Vr}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(Hi(null),qi(()=>wi(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Hi(this._chips)).subscribe(e=>{const i=[];e.forEach(o=>o._getActions().forEach(r=>i.push(r))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new Hm(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(nt(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(nt(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Hi(null),nt(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(nt(this._destroyed)).subscribe(e=>{const o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Qi,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,o,r){if(1&i&&pt(r,Es,5),2&i){let a;Oe(a=Ae())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._handleKeydown(a)}),2&i&&et("role",o.role)},inputs:{disabled:"disabled",role:"role"},features:[fe],ngContentSelectors:jy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,o){1&i&&(Lt(),d(0,"div",0),Ke(1),l())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return t})();class Mq{constructor(n,e){this.source=n,this.value=e}}class Tq extends Gy{constructor(n,e,i,o,r,a,s){super(n,e,i),this._defaultErrorStateMatcher=o,this._parentForm=r,this._parentFormGroup=a,this.ngControl=s,this.stateChanges=new te}}const Iq=Rv(Tq);let RE=(()=>{class t extends Iq{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ue(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=Ue(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,o,r,a,s,c){super(e,i,o,s,r,a,c),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new Ne,this.valueChange=new Ne,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(nt(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),wi(this.chipFocusChanges,this._chips.changes).pipe(nt(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&dn(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new Mq(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Qi,8),g(ja,8),g(Ti,8),g(Gm),g(er,10))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-chip-grid"]],contentQueries:function(i,o,r){if(1&i&&pt(r,$y,5),2&i){let a;Oe(a=Ae())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(i,o){1&i&&L("focus",function(){return o.focus()})("blur",function(){return o._blur()}),2&i&&(Hn("tabIndex",o._chips&&0===o._chips.length?-1:o.tabIndex),et("role",o.role)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),Xe("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Ze([{provide:pp,useExisting:t}]),fe],ngContentSelectors:jy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,o){1&i&&(Lt(),d(0,"div",0),Ke(1),l())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return t})(),Eq=0,FE=(()=>{class t{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=Ue(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=Ue(e)}get empty(){return!this.inputElement.value}constructor(e,i,o){this._elementRef=e,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new Ne,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Eq++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=i.separatorKeyCodes,o&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!dn(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Pp),g(Xd,8))};static#t=this.\u0275dir=X({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._keydown(a)})("keyup",function(a){return o._keyup(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),2&i&&(Hn("id",o.id),et("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ai]})}return t})(),Wy=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[Gm,{provide:Pp,useValue:{separatorKeyCodes:[13]}}],imports:[wt,Mn,Ra,wt]})}return t})();class Oq{constructor(){this.expansionModel=new Ud(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}}class NE extends Oq{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){const i=[];for(let o=this.dataNodes.indexOf(n)+1;othis._trackByValue(n)))}}let Nq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})(),LE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Nq,wt,wt]})}return t})();class Hq{constructor(n,e,i,o){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=o}_flattenNode(n,e,i,o){const r=this.transformFunction(n,e);if(i.push(r),this.isExpandable(r)){const a=this.getChildren(n);a&&(Array.isArray(a)?this._flattenChildren(a,e,i,o):a.pipe(Pt(1)).subscribe(s=>{this._flattenChildren(s,e,i,o)}))}return i}_flattenChildren(n,e,i,o){n.forEach((r,a)=>{let s=o.slice();s.push(a!=n.length-1),this._flattenNode(r,e+1,i,s)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],o=[];return o[0]=!0,n.forEach(r=>{let a=!0;for(let s=0;s<=this.getLevel(r);s++)a=a&&o[s];a&&i.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=e.isExpanded(r))}),i}}class BE extends W9{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new bt([]),this._expandedData=new bt([]),this._data=new bt([]),i&&(this.data=i)}connect(n){return wi(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(Ge(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}function Uq(t,n){}const $q=function(t){return{animationDuration:t}},Gq=function(t,n){return{value:t,params:n}};function Wq(t,n){1&t&&Ke(0)}const VE=["*"],qq=["tabListContainer"],Kq=["tabList"],Zq=["tabListInner"],Yq=["nextPaginator"],Qq=["previousPaginator"],Xq=["tabBodyWrapper"],Jq=["tabHeader"];function eK(t,n){}function tK(t,n){1&t&&_(0,eK,0,0,"ng-template",14),2&t&&f("cdkPortalOutlet",w().$implicit.templateLabel)}function iK(t,n){1&t&&h(0),2&t&&Re(w().$implicit.textLabel)}function nK(t,n){if(1&t){const e=_e();d(0,"div",6,7),L("click",function(){const o=ae(e),r=o.$implicit,a=o.index,s=w(),c=At(1);return se(s._handleClick(r,c,a))})("cdkFocusChange",function(o){const a=ae(e).index;return se(w()._tabFocusChanged(o,a))}),D(2,"span",8)(3,"div",9),d(4,"span",10)(5,"span",11),_(6,tK,1,1,"ng-template",12),_(7,iK,1,1,"ng-template",null,13,Zo),l()()()}if(2&t){const e=n.$implicit,i=n.index,o=At(1),r=At(8),a=w();Xe("mdc-tab--active",a.selectedIndex===i),f("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),et("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),m(3),f("matRippleTrigger",o)("matRippleDisabled",e.disabled||a.disableRipple),m(3),f("ngIf",e.templateLabel)("ngIfElse",r)}}function oK(t,n){if(1&t){const e=_e();d(0,"mat-tab-body",15),L("_onCentered",function(){return ae(e),se(w()._removeTabBodyWrapperHeight())})("_onCentering",function(o){return ae(e),se(w()._setTabBodyWrapperHeight(o))}),l()}if(2&t){const e=n.$implicit,i=n.index,o=w();Xe("mat-mdc-tab-body-active",o.selectedIndex===i),f("id",o._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),et("tabindex",null!=o.contentTabIndex&&o.selectedIndex===i?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(i))("aria-hidden",o.selectedIndex!==i)}}const rK={translateTab:_o("translateTab",[Zi("center, void, left-origin-center, right-origin-center",zt({transform:"none"})),Zi("left",zt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Zi("right",zt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ni("* => left, * => right, left => center, right => center",Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ni("void => left-origin-center",[zt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ni("void => right-origin-center",[zt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let aK=(()=>{class t extends Qr{constructor(e,i,o,r){super(e,i,r),this._host=o,this._centeringSub=T.EMPTY,this._leavingSub=T.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Hi(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(cs),g(ui),g(Ht(()=>jE)),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["","matTabBodyHost",""]],features:[fe]})}return t})(),sK=(()=>{class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=T.EMPTY,this._translateTabComplete=new te,this._onCentering=new Ne,this._beforeCentering=new Ne,this._afterLeavingCenter=new Ne,this._onCentered=new Ne(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(r=>{this._computePositionAnimationState(r),o.markForCheck()})),this._translateTabComplete.pipe(zs((r,a)=>r.fromState===a.fromState&&r.toState===a.toState)).subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qi,8),g(Nt))};static#t=this.\u0275dir=X({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return t})(),jE=(()=>{class t extends sK{constructor(e,i,o){super(e,i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qi,8),g(Nt))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(1&i&&xt(Qr,5),2&i){let r;Oe(r=Ae())&&(o._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[fe],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(i,o){1&i&&(d(0,"div",0,1),L("@translateTab.start",function(a){return o._onTranslateTabStarted(a)})("@translateTab.done",function(a){return o._translateTabComplete.next(a)}),_(2,Uq,0,0,"ng-template",2),l()),2&i&&f("@translateTab",pk(3,Gq,o._position,ii(1,$q,o.animationDuration)))},dependencies:[aK],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[rK.translateTab]}})}return t})();const cK=new oe("MatTabContent");let lK=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","matTabContent",""]],features:[Ze([{provide:cK,useExisting:t}])]})}return t})();const dK=new oe("MatTabLabel"),zE=new oe("MAT_TAB");let Qy=(()=>{class t extends SG{constructor(e,i,o){super(e,i),this._closestTab=o}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(ui),g(zE,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ze([{provide:dK,useExisting:t}]),fe]})}return t})();const Xy="mdc-tab-indicator--active",HE="mdc-tab-indicator--no-transition";class uK{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){const e=this._items.find(o=>o.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){const o=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}}function hK(t){return class extends t{constructor(...n){super(...n),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(n){const e=Ue(n);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(n){const e=this.elementRef.nativeElement;if(!n||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(Xy);const i=e.getBoundingClientRect(),o=n.width/i.width,r=n.left-i.left;e.classList.add(HE),this._inkBarContentElement.style.setProperty("transform",`translateX(${r}px) scaleX(${o})`),e.getBoundingClientRect(),e.classList.remove(HE),e.classList.add(Xy),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Xy)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const n=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=n.createElement("span"),this._inkBarContentElement=n.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const pK=Ia(class{}),fK=hK((()=>{class t extends pK{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le))};static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})());let UE=(()=>{class t extends fK{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){2&i&&(et("aria-disabled",!!o.disabled),Xe("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[fe]})}return t})();const gK=Ia(class{}),$E=new oe("MAT_TAB_GROUP");let _K=(()=>{class t extends gK{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new te,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Yr(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g($E,8))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(si,7),2&i){let r;Oe(r=Ae())&&(o._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[fe,ai]})}return t})(),Bp=(()=>{class t extends _K{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,lK,7,si),pt(r,Qy,5)),2&i){let a;Oe(a=Ae())&&(o._explicitContent=a.first),Oe(a=Ae())&&(o.templateLabel=a.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Ze([{provide:zE,useExisting:t}]),fe],ngContentSelectors:VE,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),_(0,Wq,1,0,"ng-template"))},encapsulation:2})}return t})();const GE=Ma({passive:!0});let yK=(()=>{class t{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ue(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=ki(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,o,r,a,s,c){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=r,this._ngZone=a,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new te,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new te,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Ne,this.indexFocused=new Ne,a.runOutsideAngular(()=>{Bo(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Bo(this._previousPaginator.nativeElement,"touchstart",GE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Bo(this._nextPaginator.nativeElement,"touchstart",GE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:qe("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Hm(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Pt(1)).subscribe(o),wi(e,i,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(r=>{this.indexFocused.emit(r),this._setTabFocus(r)})}_itemsResized(){return"function"!=typeof ResizeObserver?so:this._items.changes.pipe(Hi(this._items),qi(e=>new Ye(i=>this._ngZone.runOutsideAngular(()=>{const o=new ResizeObserver(r=>i.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),Dv(1),Tt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!dn(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:a}=i.elementRef.nativeElement;let s,c;"ltr"==this._getLayoutDirection()?(s=r,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-r,s=c-a);const u=this.scrollDistance,p=this.scrollDistance+o;sp&&(this.scrollDistance+=Math.min(c-p,s-u))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),fp(650,100).pipe(nt(wi(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(0===r||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Zr),g(Qi,8),g(We),g(Qt),g(ti,8))};static#t=this.\u0275dir=X({type:t,inputs:{disablePagination:"disablePagination"}})}return t})(),xK=(()=>{class t extends yK{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ue(e)}constructor(e,i,o,r,a,s,c){super(e,i,o,r,a,s,c),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Zr),g(Qi,8),g(We),g(Qt),g(ti,8))};static#t=this.\u0275dir=X({type:t,inputs:{disableRipple:"disableRipple"},features:[fe]})}return t})(),wK=(()=>{class t extends xK{constructor(e,i,o,r,a,s,c){super(e,i,o,r,a,s,c)}ngAfterContentInit(){this._inkBar=new uK(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Zr),g(Qi,8),g(We),g(Qt),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,r){if(1&i&&pt(r,UE,4),2&i){let a;Oe(a=Ae())&&(o._items=a)}},viewQuery:function(i,o){if(1&i&&(xt(qq,7),xt(Kq,7),xt(Zq,7),xt(Yq,5),xt(Qq,5)),2&i){let r;Oe(r=Ae())&&(o._tabListContainer=r.first),Oe(r=Ae())&&(o._tabList=r.first),Oe(r=Ae())&&(o._tabListInner=r.first),Oe(r=Ae())&&(o._nextPaginator=r.first),Oe(r=Ae())&&(o._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==o._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[fe],ngContentSelectors:VE,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(i,o){1&i&&(Lt(),d(0,"button",0,1),L("click",function(){return o._handlePaginatorClick("before")})("mousedown",function(a){return o._handlePaginatorPress("before",a)})("touchend",function(){return o._stopInterval()}),D(2,"div",2),l(),d(3,"div",3,4),L("keydown",function(a){return o._handleKeydown(a)}),d(5,"div",5,6),L("cdkObserveContent",function(){return o._onContentChanges()}),d(7,"div",7,8),Ke(9),l()()(),d(10,"button",9,10),L("mousedown",function(a){return o._handlePaginatorPress("after",a)})("click",function(){return o._handlePaginatorClick("after")})("touchend",function(){return o._stopInterval()}),D(12,"div",2),l()),2&i&&(Xe("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),f("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),m(3),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode),m(7),Xe("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),f("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Pa,gT],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return t})();const WE=new oe("MAT_TABS_CONFIG");let CK=0;const DK=Ea(Oa(class{constructor(t){this._elementRef=t}}),"primary");let kK=(()=>{class t extends DK{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ue(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=ki(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=ki(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ue(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=Ue(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,r){super(e),this._changeDetectorRef=i,this._animationMode=r,this._tabs=new Vr,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=T.EMPTY,this._tabLabelSubscription=T.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Ne,this.focusChange=new Ne,this.animationDone=new Ne,this.selectedTabChange=new Ne(!0),this._groupId=CK++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,this.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,this.contentTabIndex=o?.contentTabIndex??null,this.preserveContent=!!o?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let o;for(let r=0;r{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Hi(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new SK;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=wi(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(WE,8),g(ti,8))};static#t=this.\u0275dir=X({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[fe]})}return t})(),Jy=(()=>{class t extends kK{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=Ue(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ue(e)}constructor(e,i,o,r){super(e,i,o,r),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!o||null==o.fitInkBarToContent)&&o.fitInkBarToContent,this.stretchTabs=!o||null==o.stretchTabs||o.stretchTabs}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(WE,8),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,r){if(1&i&&pt(r,Bp,5),2&i){let a;Oe(a=Ae())&&(o._allTabs=a)}},viewQuery:function(i,o){if(1&i&&(xt(Xq,5),xt(Jq,5)),2&i){let r;Oe(r=Ae())&&(o._tabBodyWrapper=r.first),Oe(r=Ae())&&(o._tabHeader=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(i,o){2&i&&(rn("--mat-tab-animation-duration",o.animationDuration),Xe("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===o.headerPosition)("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Ze([{provide:$E,useExisting:t}]),fe],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(i,o){1&i&&(d(0,"mat-tab-header",0,1),L("indexFocused",function(a){return o._focusChanged(a)})("selectFocusedIndex",function(a){return o.selectedIndex=a}),_(2,nK,9,17,"div",2),l(),d(3,"div",3,4),_(5,oK,1,12,"mat-tab-body",5),l()),2&i&&(f("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),m(2),f("ngForOf",o._tabs),m(1),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode),m(2),f("ngForOf",o._tabs))},dependencies:[Qo,an,Et,Qr,Pa,fH,jE,UE,wK],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return t})();class SK{}let qE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt,Ms,Ra,Lm,Pv,wt]})}return t})();function MK(t,n){if(1&t){const e=_e();d(0,"div",2)(1,"button",3),L("click",function(){return ae(e),se(w().action())}),h(2),l()()}if(2&t){const e=w();m(2),Se(" ",e.data.action," ")}}const TK=["label"];function IK(t,n){}const EK=Math.pow(2,31)-1;class e0{constructor(n,e){this._overlayRef=e,this._afterDismissed=new te,this._afterOpened=new te,this._onAction=new te,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,EK))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const KE=new oe("MatSnackBarData");class Vp{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let OK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),AK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),PK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),RK=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(i){return new(i||t)(g(e0),g(KE))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0),h(1),l(),_(2,MK,3,1,"div",1)),2&i&&(m(1),Se(" ",o.data.message,"\n"),m(1),f("ngIf",o.hasAction))},dependencies:[Et,Kt,OK,AK,PK],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return t})();const FK={snackBarState:_o("state",[Zi("void, hidden",zt({transform:"scale(0.8)",opacity:0})),Zi("visible",zt({transform:"scale(1)",opacity:1})),Ni("* => visible",Fi("150ms cubic-bezier(0, 0, 0.2, 1)")),Ni("* => void, * => hidden",Fi("75ms cubic-bezier(0.4, 0.0, 1, 1)",zt({opacity:0})))])};let NK=0,LK=(()=>{class t extends bp{constructor(e,i,o,r,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=r,this.snackBarConfig=a,this._document=Fe(at),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new te,this._onExit=new te,this._onEnter=new te,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+NK++,this.attachDomPortal=s=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:o}=e;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Pt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const i=e.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(We),g(Le),g(Nt),g(Qt),g(Vp))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(Qr,7),2&i){let r;Oe(r=Ae())&&(o._portalOutlet=r.first)}},features:[fe]})}return t})(),BK=(()=>{class t extends LK{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(1&i&&xt(TK,7),2&i){let r;Oe(r=Ae())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){1&i&&Nh("@state.done",function(a){return o.onAnimationEnd(a)}),2&i&&Vh("@state",o._animationState)},features:[fe],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1,2)(3,"div",3),_(4,IK,0,0,"ng-template",4),l(),D(5,"div"),l()()),2&i&&(m(5),et("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Qr],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[FK.snackBarState]}})}return t})(),t0=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Is,Ms,Mn,jv,wt,wt]})}return t})();const ZE=new oe("mat-snack-bar-default-options",{providedIn:"root",factory:function VK(){return new Vp}});let jK=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,r,a,s){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){const r={...this._defaultConfig,...o};return r.data={message:e,action:i},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const r=Di.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Vp,useValue:i}]}),a=new Qc(this.snackBarContainerComponent,i.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){const o={...new Vp,...this._defaultConfig,...i},r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new e0(a,r);if(e instanceof si){const c=new Yr(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(o,s),u=new Qc(e,void 0,c),p=a.attachComponentPortal(u);s.instance=p.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(nt(r.detachments())).subscribe(c=>{r.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Xc;i.direction=e.direction;let o=this._overlay.position().global();const r="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,s=!a&&"center"!==e.horizontalPosition;return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),"top"===e.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){return Di.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:e0,useValue:i},{provide:KE,useValue:e.data}]})}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Ov),Z(Di),Z(Sv),Z(t,12),Z(ZE))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),zK=(()=>{class t extends jK{constructor(e,i,o,r,a,s){super(e,i,o,r,a,s),this.simpleSnackBarComponent=RK,this.snackBarContainerComponent=BK,this.handsetCssClass="mat-mdc-snack-bar-handset"}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Ov),Z(Di),Z(Sv),Z(t,12),Z(ZE))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:t0})}return t})();function HK(t,n){}class jp{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let YE=(()=>{class t extends bp{constructor(e,i,o,r,a,s,c,u){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=p=>{this._portalOutlet.hasAttached();const b=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),b},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=Em(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Em();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Em())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(at,8),g(jp),g(Fd),g(We),g(nu),g(yo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(1&i&&xt(Qr,7),2&i){let r;Oe(r=Ae())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){2&i&&et("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[fe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){1&i&&_(0,HK,0,0,"ng-template",0)},dependencies:[Qr],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return t})();class n0{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new te,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!dn(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const QE=new oe("DialogScrollStrategy"),UK=new oe("DialogData"),$K=new oe("DefaultDialogConfig"),WK={provide:QE,deps:[In],useFactory:function GK(t){return()=>t.scrollStrategies.block()}};let qK=0,XE=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,r,a,s){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new te,this._afterOpenedAtThisLevel=new te,this._ariaHiddenElements=new Map,this.afterAllClosed=Jc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hi(void 0))),this._scrollStrategy=s}open(e,i){(i={...this._defaultOptions||new jp,...i}).id=i.id||"cdk-dialog-"+qK++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),a=this._overlay.create(r),s=new n0(a,i),c=this._attachContainer(a,s,i);return s.containerInstance=c,this._attachDialogContent(e,s,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){o0(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){o0(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),o0(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Xc({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){const r=o.injector||o.viewContainerRef?.injector,a=[{provide:jp,useValue:o},{provide:n0,useValue:i},{provide:nu,useValue:e}];let s;o.container?"function"==typeof o.container?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=YE;const c=new Qc(s,o.viewContainerRef,Di.create({parent:r||this._injector,providers:a}),o.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,o,r){if(e instanceof si){const a=this._createInjector(r,i,o,void 0);let s={$implicit:r.data,dialogRef:i};r.templateContext&&(s={...s,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Yr(e,null,s,a))}else{const a=this._createInjector(r,i,o,this._injector),s=o.attachComponentPortal(new Qc(e,r.viewContainerRef,a,r.componentFactoryResolver));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,o,r){const a=e.injector||e.viewContainerRef?.injector,s=[{provide:UK,useValue:e.data},{provide:n0,useValue:i}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(i,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(Qi,null,{optional:!0}))&&s.push({provide:Qi,useValue:{value:e.direction,change:qe()}}),Di.create({parent:a||r,providers:s})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Di),Z($K,8),Z(t,12),Z(vp),Z(QE))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function o0(t,n){let e=t.length;for(;e--;)n(t[e])}let KK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[XE,WK],imports:[Is,Ms,Pv,Ms]})}return t})();function ZK(t,n){}class zp{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const r0="mdc-dialog--open",JE="mdc-dialog--opening",eO="mdc-dialog--closing";let XK=(()=>{class t extends YE{constructor(e,i,o,r,a,s,c,u){super(e,i,o,r,a,s,c,u),this._animationStateChanged=new Ne}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(at,8),g(zp),g(Fd),g(We),g(nu),g(yo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["ng-component"]],features:[fe],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})();const tO="--mat-dialog-transition-duration";function iO(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?ki(t.substring(0,t.length-2)):t.endsWith("s")?1e3*ki(t.substring(0,t.length-1)):"0"===t?0:null}let JK=(()=>{class t extends XK{constructor(e,i,o,r,a,s,c,u,p){super(e,i,o,r,a,s,c,p),this._animationMode=u,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?iO(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?iO(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(tO,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(JE,r0)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(r0),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(r0),this._animationsEnabled?(this._hostElement.style.setProperty(tO,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(eO)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(JE,eO)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(at,8),g(zp),g(Fd),g(We),g(nu),g(ti,8),g(yo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){2&i&&(Hn("id",o._config.id),et("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Xe("_mat-animation-noopable",!o._animationsEnabled))},features:[fe],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1),_(2,ZK,0,0,"ng-template",2),l()())},dependencies:[Qr],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return t})();class En{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new te,this._beforeClosed=new te,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(Tt(o=>"opened"===o.state),Pt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Tt(o=>"closed"===o.state),Pt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),wi(this.backdropClick(),this.keydownEvents().pipe(Tt(o=>27===o.keyCode&&!this.disableClose&&!dn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),nO(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Tt(e=>"closing"===e.state),Pt(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function nO(t,n,e){return t._closeInteractionType=n,t.close(e)}const ro=new oe("MatMdcDialogData"),eZ=new oe("mat-mdc-dialog-default-options"),oO=new oe("mat-mdc-dialog-scroll-strategy"),iZ={provide:oO,deps:[In],useFactory:function tZ(t){return()=>t.scrollStrategies.block()}};let nZ=0,oZ=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,r,a,s,c,u,p,b){this._overlay=e,this._defaultOptions=o,this._parentDialog=r,this._dialogRefConstructor=c,this._dialogContainerType=u,this._dialogDataToken=p,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new te,this._afterOpenedAtThisLevel=new te,this._idPrefix="mat-dialog-",this.dialogConfigClass=zp,this.afterAllClosed=Jc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hi(void 0))),this._scrollStrategy=s,this._dialog=i.get(XE)}open(e,i){let o;(i={...this._defaultOptions||new zp,...i}).id=i.id||`${this._idPrefix}${nZ++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:jp,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(a,s,c)=>(o=new this._dialogRefConstructor(a,i,c),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),br=(()=>{class t extends oZ{constructor(e,i,o,r,a,s,c,u){super(e,i,r,s,c,a,En,JK,ro,u),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Di),Z(vd,8),Z(eZ,8),Z(oO),Z(t,12),Z(vp),Z(ti,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),rZ=0,wo=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=rO(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){nO(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(i){return new(i||t)(g(En,8),g(Le),g(br))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){1&i&&L("click",function(a){return o._onButtonClick(a)}),2&i&&et("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ai]})}return t})(),aZ=(()=>{class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o,this.id="mat-mdc-dialog-title-"+rZ++}ngOnInit(){this._dialogRef||(this._dialogRef=rO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const e=this._dialogRef?._containerInstance?._ariaLabelledByQueue;e&&Promise.resolve().then(()=>{const i=e.indexOf(this.id);i>-1&&e.splice(i,1)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(En,8),g(Le),g(br))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){2&i&&Hn("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return t})(),vr=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return t})(),yr=(()=>{class t{constructor(){this.align="start"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-mdc-dialog-actions-align-center","center"===o.align)("mat-mdc-dialog-actions-align-end","end"===o.align)},inputs:{align:"align"}})}return t})();function rO(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let aO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[br,iZ],imports:[KK,Is,Ms,wt,wt]})}return t})();const sZ=["tooltip"],cO=new oe("mat-tooltip-scroll-strategy"),dZ={provide:cO,deps:[In],useFactory:function lZ(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},hZ=new oe("mat-tooltip-default-options",{providedIn:"root",factory:function uZ(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),lO="tooltip-panel",dO=Ma({passive:!0});let bZ=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ue(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=ki(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=ki(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,r,a,s,c,u,p,b,y,C){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=r,this._ngZone=a,this._platform=s,this._ariaDescriber=c,this._focusMonitor=u,this._dir=b,this._defaultOptions=y,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new te,this._scrollStrategy=p,this._document=C,y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures)),b.change.pipe(nt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(nt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,dO)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Qc(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&r._origin instanceof Le)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(nt(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${lO}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(nt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(nt(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!dn(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...r.main}),this._addOffset({...o.fallback,...r.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:r,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:r,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Pt(1),nt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:r}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===r?"above":"below",a!==this._currentPosition){const s=this._overlayRef;if(s){const c=`${this._cssClassPrefix}-${lO}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,dO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return t})(),On=(()=>{class t extends bZ{constructor(e,i,o,r,a,s,c,u,p,b,y,C){super(e,i,o,r,a,s,c,u,p,b,y,C),this._tooltipComponent=yZ,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const o=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=o?-8:8:"end"===e.originX&&(e.offsetX=o?8:-8),e}static#e=this.\u0275fac=function(i){return new(i||t)(g(In),g(Le),g(tu),g(ui),g(We),g(Qt),g(Z7),g(yo),g(cO),g(Qi,8),g(hZ,8),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-mdc-tooltip-disabled",o.disabled)},exportAs:["matTooltip"],features:[fe]})}return t})(),vZ=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new te,this._animationsDisabled="NoopAnimations"===i}show(e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(i.classList.remove(e?r:o),i.classList.add(e?o:r),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(ti,8))};static#t=this.\u0275dir=X({type:t})}return t})(),yZ=(()=>{class t extends vZ{constructor(e,i,o){super(e,o),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(1&i&&xt(sZ,7),2&i){let r;Oe(r=Ae())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){1&i&&L("mouseleave",function(a){return o._handleMouseLeave(a)}),2&i&&rn("zoom",o.isVisible()?1:null)},features:[fe],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){1&i&&(d(0,"div",0,1),L("animationend",function(a){return o._handleAnimationEnd(a)}),d(2,"div",2),h(3),l()()),2&i&&(Xe("mdc-tooltip--multiline",o._isMultiline),f("ngClass",o.tooltipClass),m(3),Re(o.message))},dependencies:[Qo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return t})(),uO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[dZ],imports:[Pv,Mn,Is,wt,wt,za]})}return t})();const xZ=["input"],wZ=["label"],CZ=["*"],DZ=new oe("mat-checkbox-default-options",{providedIn:"root",factory:hO});function hO(){return{color:"accent",clickAction:"check-indeterminate"}}const kZ={provide:Wn,useExisting:Ht(()=>a0),multi:!0};class SZ{}let MZ=0;const mO=hO(),TZ=Aa(Ea(Oa(Ia(class{constructor(t){this._elementRef=t}}))));let IZ=(()=>{class t extends TZ{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ue(e)}constructor(e,i,o,r,a,s,c){super(i),this._changeDetectorRef=o,this._ngZone=r,this._animationMode=s,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new Ne,this.indeterminateChange=new Ne,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||mO,this.color=this.defaultColor=this._options.color||mO.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++MZ}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Ue(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Ue(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Ue(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(i!==e&&o&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);const r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&(xt(xZ,5),xt(wZ,5),xt(Pa,5)),2&i){let r;Oe(r=Ae())&&(o._inputElement=r.first),Oe(r=Ae())&&(o._labelElement=r.first),Oe(r=Ae())&&(o.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[fe]})}return t})(),a0=(()=>{class t extends IZ{constructor(e,i,o,r,a,s){super("mat-mdc-checkbox-",e,i,o,r,a,s),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new SZ;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(We),jn("tabindex"),g(ti,8),g(DZ,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(i,o){2&i&&(Hn("id",o.id),et("tabindex",null)("aria-label",null)("aria-labelledby",null),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Ze([kZ]),fe],ngContentSelectors:CZ,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(i,o){if(1&i&&(Lt(),d(0,"div",0),L("click",function(a){return o._preventBubblingFromLabel(a)}),d(1,"div",1,2)(3,"div",3),L("click",function(){return o._onTouchTargetClick()}),l(),d(4,"input",4,5),L("blur",function(){return o._onBlur()})("click",function(){return o._onInputClick()})("change",function(a){return o._onInteractionEvent(a)}),l(),D(6,"div",6),d(7,"div",7),di(),d(8,"svg",8),D(9,"path",9),l(),Pr(),D(10,"div",10),l(),D(11,"div",11),l(),d(12,"label",12,13),Ke(14),l()()),2&i){const r=At(2);Xe("mdc-form-field--align-end","before"==o.labelPosition),m(4),Xe("mdc-checkbox--selected",o.checked),f("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.tabIndex),et("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("name",o.name)("value",o.value),m(7),f("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),m(1),f("for",o.inputId)}},dependencies:[Pa],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),pO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})(),fO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Ra,pO,wt,pO]})}return t})();const Hp=["*"],AZ=["content"];function PZ(t,n){if(1&t){const e=_e();d(0,"div",2),L("click",function(){return ae(e),se(w()._onBackdropClicked())}),l()}2&t&&Xe("mat-drawer-shown",w()._isShowingBackdrop())}function RZ(t,n){1&t&&(d(0,"mat-drawer-content"),Ke(1,2),l())}const FZ=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],NZ=["mat-drawer","mat-drawer-content","*"];function LZ(t,n){if(1&t){const e=_e();d(0,"div",2),L("click",function(){return ae(e),se(w()._onBackdropClicked())}),l()}2&t&&Xe("mat-drawer-shown",w()._isShowingBackdrop())}function BZ(t,n){1&t&&(d(0,"mat-sidenav-content"),Ke(1,2),l())}const VZ=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],jZ=["mat-sidenav","mat-sidenav-content","*"],gO={transformDrawer:_o("transform",[Zi("open, open-instant",zt({transform:"none",visibility:"visible"})),Zi("void",zt({"box-shadow":"none",visibility:"hidden"})),Ni("void => open-instant",Fi("0ms")),Ni("void <=> open, open-instant => void",Fi("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},HZ=new oe("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function UZ(){return!1}}),s0=new oe("MAT_DRAWER_CONTAINER");let Up=(()=>{class t extends iu{constructor(e,i,o,r,a){super(o,r,a),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Ht(()=>bO)),g(Le),g(tu),g(We))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(i,o){2&i&&rn("margin-left",o._container._contentMargins.left,"px")("margin-right",o._container._contentMargins.right,"px")},features:[Ze([{provide:iu,useExisting:t}]),fe],ngContentSelectors:Hp,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},encapsulation:2,changeDetection:0})}return t})(),_O=(()=>{class t{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ue(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ue(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ue(e))}constructor(e,i,o,r,a,s,c,u){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=o,this._platform=r,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=u,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new te,this._animationEnd=new te,this._animationState="void",this.openedChange=new Ne(!0),this._openedStream=this.openedChange.pipe(Tt(p=>p),Ge(()=>{})),this.openedStart=this._animationStarted.pipe(Tt(p=>p.fromState!==p.toState&&0===p.toState.indexOf("open")),yp(void 0)),this._closedStream=this.openedChange.pipe(Tt(p=>!p),Ge(()=>{})),this.closedStart=this._animationStarted.pipe(Tt(p=>p.fromState!==p.toState&&"void"===p.toState),yp(void 0)),this._destroyed=new te,this.onPositionChanged=new Ne,this._modeChanged=new te,this.openedChange.subscribe(p=>{p?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Bo(this._elementRef.nativeElement,"keydown").pipe(Tt(p=>27===p.keyCode&&!this.disableClose&&!dn(p)),nt(this._destroyed)).subscribe(p=>this._ngZone.run(()=>{this.close(),p.stopPropagation(),p.preventDefault()}))}),this._animationEnd.pipe(zs((p,b)=>p.fromState===b.fromState&&p.toState===b.toState)).subscribe(p=>{const{fromState:b,toState:y}=p;(0===y.indexOf("open")&&"void"===b||"void"===y&&0===b.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const o=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),o}_setOpen(e,i,o){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(o)),this._updateFocusTrapState(),new Promise(r=>{this.openedChange.pipe(Pt(1)).subscribe(a=>r(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,o=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),o.insertBefore(this._anchor,i)),o.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(yo),g(Qt),g(We),g(Fd),g(at,8),g(s0,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,o){if(1&i&&xt(AZ,5),2&i){let r;Oe(r=Ae())&&(o._content=r.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(i,o){1&i&&Nh("@transform.start",function(a){return o._animationStarted.next(a)})("@transform.done",function(a){return o._animationEnd.next(a)}),2&i&&(et("align",null),Vh("@transform",o._animationState),Xe("mat-drawer-end","end"===o.position)("mat-drawer-over","over"===o.mode)("mat-drawer-push","push"===o.mode)("mat-drawer-side","side"===o.mode)("mat-drawer-opened",o.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Hp,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(i,o){1&i&&(Lt(),d(0,"div",0,1),Ke(2),l())},dependencies:[iu],encapsulation:2,data:{animation:[gO.transformDrawer]},changeDetection:0})}return t})(),bO=(()=>{class t{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ue(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=null==e?null:Ue(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,o,r,a,s=!1,c){this._dir=e,this._element=i,this._ngZone=o,this._changeDetectorRef=r,this._animationMode=c,this._drawers=new Vr,this.backdropClick=new Ne,this._destroyed=new te,this._doCheckSubject=new te,this._contentMargins={left:null,right:null},this._contentMarginChanges=new te,e&&e.change.pipe(nt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe(nt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Hi(this._allDrawers),nt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Hi(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Fm(10),nt(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const o=this._left._getWidth();e+=o,i-=o}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const o=this._right._getWidth();i+=o,e-=o}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Tt(i=>i.fromState!==i.toState),nt(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(nt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(nt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Pt(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(nt(wi(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,o="mat-drawer-container-has-open";e?i.add(o):i.remove(o)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return null!=e&&e.opened}_drawerHasBackdrop(e){return null==this._backdropOverride?!!e&&"side"!==e.mode:this._backdropOverride}static#e=this.\u0275fac=function(i){return new(i||t)(g(Qi,8),g(Le),g(We),g(Nt),g(Zr),g(HZ),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,Up,5),pt(r,_O,5)),2&i){let a;Oe(a=Ae())&&(o._content=a.first),Oe(a=Ae())&&(o._allDrawers=a)}},viewQuery:function(i,o){if(1&i&&xt(Up,5),2&i){let r;Oe(r=Ae())&&(o._userContent=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-drawer-container-explicit-backdrop",o._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ze([{provide:s0,useExisting:t}])],ngContentSelectors:NZ,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,o){1&i&&(Lt(FZ),_(0,PZ,1,2,"div",0),Ke(1),Ke(2,1),_(3,RZ,2,0,"mat-drawer-content",1)),2&i&&(f("ngIf",o.hasBackdrop),m(3),f("ngIf",!o._content))},dependencies:[Et,Up],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return t})(),c0=(()=>{class t extends Up{constructor(e,i,o,r,a){super(e,i,o,r,a)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Ht(()=>yO)),g(Le),g(tu),g(We))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(i,o){2&i&&rn("margin-left",o._container._contentMargins.left,"px")("margin-right",o._container._contentMargins.right,"px")},features:[Ze([{provide:iu,useExisting:t}]),fe],ngContentSelectors:Hp,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},encapsulation:2,changeDetection:0})}return t})(),vO=(()=>{class t extends _O{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ue(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=ki(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=ki(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(i,o){2&i&&(et("align",null),rn("top",o.fixedInViewport?o.fixedTopGap:null,"px")("bottom",o.fixedInViewport?o.fixedBottomGap:null,"px"),Xe("mat-drawer-end","end"===o.position)("mat-drawer-over","over"===o.mode)("mat-drawer-push","push"===o.mode)("mat-drawer-side","side"===o.mode)("mat-drawer-opened",o.opened)("mat-sidenav-fixed",o.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[fe],ngContentSelectors:Hp,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(i,o){1&i&&(Lt(),d(0,"div",0,1),Ke(2),l())},dependencies:[iu],encapsulation:2,data:{animation:[gO.transformDrawer]},changeDetection:0})}return t})(),yO=(()=>{class t extends bO{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,c0,5),pt(r,vO,5)),2&i){let a;Oe(a=Ae())&&(o._content=a.first),Oe(a=Ae())&&(o._allDrawers=a)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-drawer-container-explicit-backdrop",o._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ze([{provide:s0,useExisting:t}]),fe],ngContentSelectors:jZ,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,o){1&i&&(Lt(VZ),_(0,LZ,1,2,"div",0),Ke(1),Ke(2,1),_(3,BZ,2,0,"mat-sidenav-content",1)),2&i&&(f("ngIf",o.hasBackdrop),m(3),f("ngIf",!o._content))},dependencies:[Et,c0],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return t})(),xO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt,za,za,wt]})}return t})();const $Z=["panel"];function GZ(t,n){if(1&t){const e=_e();d(0,"div",0,1),L("@panelAnimation.done",function(o){return ae(e),se(w()._animationDone.next(o))}),Ke(2),l()}if(2&t){const e=n.id,i=w();f("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),et("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const WZ=["*"],qZ=_o("panelAnimation",[Zi("void, hidden",zt({opacity:0,transform:"scaleY(0.8)"})),Ni(":enter, hidden => visible",[Ub([Fi("0.03s linear",zt({opacity:1})),Fi("0.12s cubic-bezier(0, 0, 0.2, 1)",zt({transform:"scaleY(1)"}))])]),Ni(":leave, visible => hidden",[Fi("0.075s linear",zt({opacity:0}))])]);let KZ=0;class ZZ{constructor(n,e){this.source=n,this.option=e}}const YZ=Oa(class{}),wO=new oe("mat-autocomplete-default-options",{providedIn:"root",factory:function QZ(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let XZ=(()=>{class t extends YZ{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Ue(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=Ue(e)}get requireSelection(){return this._requireSelection}set requireSelection(e){this._requireSelection=Ue(e)}set classList(e){this._classList=e&&e.length?function R7(t,n=/\s+/){const e=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(n);for(const o of i){const r=`${o}`.trim();r&&e.push(r)}}return e}(e).reduce((i,o)=>(i[o]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,o,r){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=T.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new Ne,this.opened=new Ne,this.closed=new Ne,this.optionActivated=new Ne,this._classList={},this.id="mat-autocomplete-"+KZ++,this.inertGroups=r?.SAFARI||!1,this._autoActiveFirstOption=!!o.autoActiveFirstOption,this._autoSelectActiveOption=!!o.autoSelectActiveOption,this._requireSelection=!!o.requireSelection}ngAfterContentInit(){this._keyManager=new ST(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new ZZ(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}_skipPredicate(e){return e.disabled}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(wO),g(Qt))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&(xt(si,7),xt($Z,5)),2&i){let r;Oe(r=Ae())&&(o.template=r.first),Oe(r=Ae())&&(o.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[fe]})}return t})(),JZ=(()=>{class t extends XZ{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new Ne,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ue(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(e){return!1}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,Nv,5),pt(r,_n,5)),2&i){let a;Oe(a=Ae())&&(o.optionGroups=a),Oe(a=Ae())&&(o.options=a)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Ze([{provide:Fv,useExisting:t}]),fe],ngContentSelectors:WZ,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(i,o){1&i&&(Lt(),_(0,GZ,3,5,"ng-template"))},dependencies:[Qo],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[qZ]},changeDetection:0})}return t})();const eY={provide:Wn,useExisting:Ht(()=>DO),multi:!0},CO=new oe("mat-autocomplete-scroll-strategy"),iY={provide:CO,deps:[In],useFactory:function tY(t){return()=>t.scrollStrategies.reposition()}};let nY=(()=>{class t{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Ue(e)}constructor(e,i,o,r,a,s,c,u,p,b,y){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=r,this._changeDetectorRef=a,this._dir=c,this._formField=u,this._document=p,this._viewportRuler=b,this._defaults=y,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=T.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new te,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Jc(()=>{const C=this.autocomplete?this.autocomplete.options:null;return C?C.changes.pipe(Hi(C),qi(()=>wi(...C.map(A=>A.onSelectionChange)))):this._zone.onStable.pipe(Pt(1),qi(()=>this.optionSelections))}),this._handlePanelKeydown=C=>{(27===C.keyCode&&!dn(C)||38===C.keyCode&&dn(C,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),C.stopPropagation(),C.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&Vm(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&jc(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return wi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Tt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Tt(()=>this._overlayAttached)):qe()).pipe(Ge(e=>e instanceof zT?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return wi(Bo(this._document,"click"),Bo(this._document,"auxclick"),Bo(this._document,"touchend")).pipe(Tt(e=>{const i=Gr(e),o=this._formField?this._formField._elementRef.nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!r||!r.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,o=dn(e);if(27===i&&!o&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const r=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;"number"===i.type&&(o=""==o?null:parseFloat(o)),this._previousValue!==o&&(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),o||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return wi(this._zone.onStable.pipe(Pt(1)),this.autocomplete.options.changes.pipe(Ut(()=>this._positionStrategy.reapplyLastPosition()),My(0))).pipe(qi(()=>(this._zone.run(()=>{const o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),Pt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(Pt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Yr(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&i!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Xc({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}];let a;a="above"===this.position?r:"below"===this.position?i:[...i,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=this.autocomplete.id;this._trackedModal&&jc(this._trackedModal,"aria-owns",i),Vm(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(jc(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(In),g(ui),g(We),g(Nt),g(CO),g(Qi,8),g(Xd,9),g(at,8),g(Zr),g(wO,8))};static#t=this.\u0275dir=X({type:t,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ai]})}return t})(),DO=(()=>{class t extends nY{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){1&i&&L("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),2&i&&et("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||null==o.autocomplete?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Ze([eY]),fe]})}return t})(),kO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[iY],imports:[Is,Wm,wt,Mn,za,Wm,wt]})}return t})();const oY=[KT,jv,wI,DI,MI,R2,Jd,K2,cE,I2,mE,Ap,SE,Wy,Ap,LE,qE,t0,aO,Kv,uO,fO,xO,kO];let rY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[oY,KT,jv,wI,DI,MI,R2,Jd,K2,cE,I2,mE,Ap,SE,Wy,Ap,LE,qE,t0,aO,Kv,uO,fO,xO,kO]})}return t})();const aY=["input"],sY=["*"];let SO=0;class MO{constructor(n,e){this.source=n,this.value=e}}const cY={provide:Wn,useExisting:Ht(()=>$p),multi:!0},TO=new oe("MatRadioGroup"),lY=new oe("mat-radio-default-options",{providedIn:"root",factory:function dY(){return{color:"accent"}}});let uY=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Ue(e),this._markRadiosForCheck()}constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+SO++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new Ne}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new MO(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt))};static#t=this.\u0275dir=X({type:t,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}})}return t})();class hY{constructor(n){this._elementRef=n}}const mY=Oa(Aa(hY));let pY=(()=>{class t extends mY{get checked(){return this._checked}set checked(e){const i=Ue(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Ue(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Ue(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,r,a,s,c,u){super(i),this._changeDetector=o,this._focusMonitor=r,this._radioDispatcher=a,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++SO,this.id=this._uniqueId,this.change=new Ne,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===s,u&&(this.tabIndex=ki(u,0))}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new MO(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){const o=this._inputElement?.nativeElement;o&&(o.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(aY,5),2&i){let r;Oe(r=Ae())&&(o._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[fe]})}return t})(),$p=(()=>{class t extends uY{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["mat-radio-group"]],contentQueries:function(i,o,r){if(1&i&&pt(r,Gp,5),2&i){let a;Oe(a=Ae())&&(o._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[Ze([cY,{provide:TO,useExisting:t}]),fe]})}return t})(),Gp=(()=>{class t extends pY{constructor(e,i,o,r,a,s,c,u){super(e,i,o,r,a,s,c,u)}static#e=this.\u0275fac=function(i){return new(i||t)(g(TO,8),g(Le),g(Nt),g(yo),g(Qv),g(ti,8),g(lY,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(i,o){1&i&&L("focus",function(){return o._inputElement.nativeElement.focus()}),2&i&&(et("id",o.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Xe("mat-primary","primary"===o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color)("mat-mdc-radio-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[fe],ngContentSelectors:sY,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(i,o){if(1&i&&(Lt(),d(0,"div",0,1)(2,"div",2)(3,"div",3),L("click",function(a){return o._onTouchTargetClick(a)}),l(),d(4,"input",4,5),L("change",function(a){return o._onInputInteraction(a)}),l(),d(6,"div",6),D(7,"div",7)(8,"div",8),l(),d(9,"div",9),D(10,"div",10),l()(),d(11,"label",11),Ke(12),l()()),2&i){const r=At(1);Xe("mdc-form-field--align-end","before"==o.labelPosition),m(2),Xe("mdc-radio--disabled",o.disabled),m(2),f("id",o.inputId)("checked",o.checked)("disabled",o.disabled)("required",o.required),et("name",o.name)("value",o.value)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby),m(5),f("matRippleTrigger",r)("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",!0),m(2),f("for",o.inputId)}},dependencies:[Pa],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return t})(),fY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Mn,Ra,wt]})}return t})();class gY{constructor(n,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),o=i.style;o.position="fixed",o.top=o.opacity="0",o.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){const n=this._textarea;let e=!1;try{if(n){const i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){const n=this._textarea;n&&(n.remove(),this._textarea=void 0)}}let _Y=(()=>{class t{constructor(e){this._document=e}copy(e){const i=this.beginCopy(e),o=i.copy();return i.destroy(),o}beginCopy(e){return new gY(e,this._document)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bY=new oe("CDK_COPY_TO_CLIPBOARD_CONFIG");let l0=(()=>{class t{constructor(e,i,o){this._clipboard=e,this._ngZone=i,this.text="",this.attempts=1,this.copied=new Ne,this._pending=new Set,o&&null!=o.attempts&&(this.attempts=o.attempts)}copy(e=this.attempts){if(e>1){let i=e;const o=this._clipboard.beginCopy(this.text);this._pending.add(o);const r=()=>{const a=o.copy();a||! --i||this._destroyed?(this._currentTimeout=null,this._pending.delete(o),o.destroy(),this.copied.emit(a)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(r,1))};r()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}static#e=this.\u0275fac=function(i){return new(i||t)(g(_Y),g(We),g(bY,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(i,o){1&i&&L("click",function(){return o.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}})}return t})(),vY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const Wp=F(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function qp(t){return rt((n,e)=>{let i=!1;n.subscribe(ct(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function IO(t=yY){return rt((n,e)=>{let i=!1;n.subscribe(ct(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function yY(){return new Wp}function Os(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Tt((o,r)=>t(o,r,i)):Te,Pt(1),e?qp(n):IO(()=>new Wp))}function d0(t){return t<=0?()=>so:rt((n,e)=>{let i=[];n.subscribe(ct(e,o=>{i.push(o),t{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}const Rt="primary",cu=Symbol("RouteTitle");class DY{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function al(t){return new DY(t)}function kY(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[r]===o)}return t===n}function OO(t){return t.length>0?t[t.length-1]:null}function qa(t){return wp(t)?t:sd(t)?Bi(Promise.resolve(t)):qe(t)}const MY={exact:function RO(t,n,e){if(!As(t.segments,n.segments)||!Kp(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!RO(t.children[i],n.children[i],e))return!1;return!0},subset:FO},AO={exact:function TY(t,n){return xr(t,n)},subset:function IY(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>EO(t[e],n[e]))},ignored:()=>!0};function PO(t,n,e){return MY[e.paths](t.root,n.root,e.matrixParams)&&AO[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function FO(t,n,e){return NO(t,n,n.segments,e)}function NO(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!As(o,e)||n.hasChildren()||!Kp(o,e,i))}if(t.segments.length===e.length){if(!As(t.segments,e)||!Kp(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!FO(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!!(As(t.segments,o)&&Kp(t.segments,o,i)&&t.children[Rt])&&NO(t.children[Rt],n,r,i)}}function Kp(t,n,e){return n.every((i,o)=>AO[e](t[o].parameters,i.parameters))}class sl{constructor(n=new ci([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=al(this.queryParams)),this._queryParamMap}toString(){return AY.serialize(this)}}class ci{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zp(this)}}class lu{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=al(this.parameters)),this._parameterMap}toString(){return VO(this)}}function As(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let du=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return new u0},providedIn:"root"})}return t})();class u0{parse(n){const e=new UY(n);return new sl(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${uu(n.root,!0)}`,i=function FY(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${Yp(e)}=${Yp(o)}`).join("&"):`${Yp(e)}=${Yp(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function PY(t){return encodeURI(t)}(n.fragment)}`:""}`}}const AY=new u0;function Zp(t){return t.segments.map(n=>VO(n)).join("/")}function uu(t,n){if(!t.hasChildren())return Zp(t);if(n){const e=t.children[Rt]?uu(t.children[Rt],!1):"",i=[];return Object.entries(t.children).forEach(([o,r])=>{o!==Rt&&i.push(`${o}:${uu(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function OY(t,n){let e=[];return Object.entries(t.children).forEach(([i,o])=>{i===Rt&&(e=e.concat(n(o,i)))}),Object.entries(t.children).forEach(([i,o])=>{i!==Rt&&(e=e.concat(n(o,i)))}),e}(t,(i,o)=>o===Rt?[uu(t.children[Rt],!1)]:[`${o}:${uu(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Rt]?`${Zp(t)}/${e[0]}`:`${Zp(t)}/(${e.join("//")})`}}function LO(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yp(t){return LO(t).replace(/%3B/gi,";")}function h0(t){return LO(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qp(t){return decodeURIComponent(t)}function BO(t){return Qp(t.replace(/\+/g,"%20"))}function VO(t){return`${h0(t.path)}${function RY(t){return Object.keys(t).map(n=>`;${h0(n)}=${h0(t[n])}`).join("")}(t.parameters)}`}const NY=/^[^\/()?;#]+/;function m0(t){const n=t.match(NY);return n?n[0]:""}const LY=/^[^\/()?;=#]+/,VY=/^[^=?&#]+/,zY=/^[^&#]+/;class UY{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ci([],{}):new ci([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Rt]=new ci(n,e)),i}parseSegment(){const n=m0(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new de(4009,!1);return this.capture(n),new lu(Qp(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function BY(t){const n=t.match(LY);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=m0(this.remaining);o&&(i=o,this.capture(i))}n[Qp(e)]=Qp(i)}parseQueryParam(n){const e=function jY(t){const n=t.match(VY);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function HY(t){const n=t.match(zY);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const o=BO(e),r=BO(i);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=m0(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new de(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=Rt);const a=this.parseChildren();e[r]=1===Object.keys(a).length?a[Rt]:new ci([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new de(4011,!1)}}function jO(t){return t.segments.length>0?new ci([],{[Rt]:t}):t}function zO(t){const n={};for(const i of Object.keys(t.children)){const r=zO(t.children[i]);if(i===Rt&&0===r.segments.length&&r.hasChildren())for(const[a,s]of Object.entries(r.children))n[a]=s;else(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function $Y(t){if(1===t.numberOfChildren&&t.children[Rt]){const n=t.children[Rt];return new ci(t.segments.concat(n.segments),n.children)}return t}(new ci(t.segments,n))}function Ps(t){return t instanceof sl}function HO(t){let n;const o=jO(function e(r){const a={};for(const c of r.children){const u=e(c);a[c.outlet]=u}const s=new ci(r.url,a);return r===t&&(n=s),s}(t.root));return n??o}function UO(t,n,e,i){let o=t;for(;o.parent;)o=o.parent;if(0===n.length)return p0(o,o,o,e,i);const r=function WY(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new GO(!0,0,t);let n=0,e=!1;const i=t.reduce((o,r,a)=>{if("object"==typeof r&&null!=r){if(r.outlets){const s={};return Object.entries(r.outlets).forEach(([c,u])=>{s[c]="string"==typeof u?u.split("/"):u}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===a?(r.split("/").forEach((s,c)=>{0==c&&"."===s||(0==c&&""===s?e=!0:".."===s?n++:""!=s&&o.push(s))}),o):[...o,r]},[]);return new GO(e,n,i)}(n);if(r.toRoot())return p0(o,o,new ci([],{}),e,i);const a=function qY(t,n,e){if(t.isAbsolute)return new Jp(n,!0,0);if(!e)return new Jp(n,!1,NaN);if(null===e.parent)return new Jp(e,!0,0);const i=Xp(t.commands[0])?0:1;return function KY(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new de(4005,!1);o=i.segments.length}return new Jp(i,!1,o-r)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(r,o,t),s=a.processChildren?mu(a.segmentGroup,a.index,r.commands):WO(a.segmentGroup,a.index,r.commands);return p0(o,a.segmentGroup,s,e,i)}function Xp(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function hu(t){return"object"==typeof t&&null!=t&&t.outlets}function p0(t,n,e,i,o){let a,r={};i&&Object.entries(i).forEach(([c,u])=>{r[c]=Array.isArray(u)?u.map(p=>`${p}`):`${u}`}),a=t===n?e:$O(t,n,e);const s=jO(zO(a));return new sl(s,r,o)}function $O(t,n,e){const i={};return Object.entries(t.children).forEach(([o,r])=>{i[o]=r===n?e:$O(r,n,e)}),new ci(t.segments,i)}class GO{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Xp(i[0]))throw new de(4003,!1);const o=i.find(hu);if(o&&o!==OO(i))throw new de(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jp{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function WO(t,n,e){if(t||(t=new ci([],{})),0===t.segments.length&&t.hasChildren())return mu(t,n,e);const i=function YY(t,n,e){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;const a=t.segments[o],s=e[i];if(hu(s))break;const c=`${s}`,u=i0&&void 0===c)break;if(c&&u&&"object"==typeof u&&void 0===u.outlets){if(!KO(c,u,a))return r;i+=2}else{if(!KO(c,{},a))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndexr!==Rt)&&t.children[Rt]&&1===t.numberOfChildren&&0===t.children[Rt].segments.length){const r=mu(t.children[Rt],n,e);return new ci(t.segments,r.children)}return Object.entries(i).forEach(([r,a])=>{"string"==typeof a&&(a=[a]),null!==a&&(o[r]=WO(t.children[r],n,a))}),Object.entries(t.children).forEach(([r,a])=>{void 0===i[r]&&(o[r]=a)}),new ci(t.segments,o)}}function f0(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=f0(new ci([],{}),0,i))}),n}function qO(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function KO(t,n,e){return t==e.path&&xr(n,e.parameters)}const pu="imperative";class wr{constructor(n,e){this.id=n,this.url=e}}class ef extends wr{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ka extends wr{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class fu extends wr{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class cl extends wr{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class tf extends wr{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ZO extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class XY extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class JY extends wr{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,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 eQ extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tQ extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iQ{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nQ{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oQ{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rQ{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aQ{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sQ{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class YO{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class g0{}class _0{constructor(n){this.url=n}}class cQ{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gu,this.attachRef=null}}let gu=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new cQ,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class QO{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=b0(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=b0(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=v0(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return v0(n,this._root).map(e=>e.value)}}function b0(t,n){if(t===n.value)return n;for(const e of n.children){const i=b0(t,e);if(i)return i}return null}function v0(t,n){if(t===n.value)return[n];for(const e of n.children){const i=v0(t,e);if(i.length)return i.unshift(n),i}return[]}class sa{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function ll(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class XO extends QO{constructor(n,e){super(n),this.snapshot=e,y0(this,n)}toString(){return this.snapshot.toString()}}function JO(t,n){const e=function lQ(t,n){const a=new nf([],{},{},"",{},Rt,n,null,{});return new tA("",new sa(a,[]))}(0,n),i=new bt([new lu("",{})]),o=new bt({}),r=new bt({}),a=new bt({}),s=new bt(""),c=new dl(i,o,a,s,r,Rt,n,e.root);return c.snapshot=e.root,new XO(new sa(c,[]),e)}class dl{constructor(n,e,i,o,r,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Ge(u=>u[cu]))??qe(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=o,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(Ge(n=>al(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ge(n=>al(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function eA(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],r=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(r.component)break;i--}}return function dQ(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class nf{get title(){return this.data?.[cu]}constructor(n,e,i,o,r,a,s,c,u){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,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=al(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=al(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class tA extends QO{constructor(n,e){super(e),this.url=n,y0(this,e)}toString(){return iA(this._root)}}function y0(t,n){n.value._routerState=t,n.children.forEach(e=>y0(t,e))}function iA(t){const n=t.children.length>0?` { ${t.children.map(iA).join(", ")} } `:"";return`${t.value}${n}`}function x0(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,xr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),xr(n.params,e.params)||t.paramsSubject.next(e.params),function SY(t,n){if(t.length!==n.length)return!1;for(let e=0;exr(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||w0(t.parent,n.parent))}let rf=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=Rt,this.activateEvents=new Ne,this.deactivateEvents=new Ne,this.attachEvents=new Ne,this.detachEvents=new Ne,this.parentContexts=Fe(gu),this.location=Fe(ui),this.changeDetector=Fe(Nt),this.environmentInjector=Fe(po),this.inputBinder=Fe(af,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 de(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new de(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new de(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,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,i){if(this.isActivated)throw new de(4013,!1);this._activatedRoute=e;const o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new uQ(e,s,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ai]})}return t})();class uQ{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===dl?this.route:n===gu?this.childContexts:this.parent.get(n,e)}}const af=new oe("");let nA=(()=>{class t{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:i}=e,o=Bm([i.queryParams,i.params,i.data]).pipe(qi(([r,a,s],c)=>(s={...r,...a,...s},0===c?qe(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const a=function tB(t){const n=$t(t);if(!n)return null;const e=new id(n);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 n.standalone},get isSignal(){return n.signals}}}(i.component);if(a)for(const{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,o)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function _u(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function mQ(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return _u(t,i,o);return _u(t,i)})}(t,n,e);return new sa(i,o)}{if(t.shouldAttach(n.value)){const r=t.retrieve(n.value);if(null!==r){const a=r.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>_u(t,s)),a}}const i=function pQ(t){return new dl(new bt(t.url),new bt(t.params),new bt(t.queryParams),new bt(t.fragment),new bt(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(r=>_u(t,r));return new sa(i,o)}}const C0="ngNavigationCancelingError";function oA(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Ps(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=rA(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function rA(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[C0]=!0,i.cancellationCode=n,e&&(i.url=e),i}function aA(t){return t&&t[C0]}let sA=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["ng-component"]],standalone:!0,features:[sk],decls:1,vars:0,template:function(i,o){1&i&&D(0,"router-outlet")},dependencies:[rf],encapsulation:2})}return t})();function D0(t){const n=t.children&&t.children.map(D0),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Rt&&(e.component=sA),e}function tr(t){return t.outlet||Rt}function bu(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class wQ{constructor(n,e,i,o,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),x0(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=ll(e);n.children.forEach(r=>{const a=r.value.outlet;this.deactivateRoutes(r,o[a],i),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const a=i.getContext(o.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=ll(n);for(const a of Object.keys(r))this.deactivateRouteAndItsChildren(r[a],o);if(i&&i.outlet){const a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=ll(n);for(const a of Object.keys(r))this.deactivateRouteAndItsChildren(r[a],o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const o=ll(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new sQ(r.value.snapshot))}),n.children.length&&this.forwardEvent(new rQ(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(x0(o),o===r)if(o.component){const a=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const a=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),x0(s.route.value),this.activateChildRoutes(n,null,a.children)}else{const s=bu(o.snapshot);a.attachRef=null,a.route=o,a.injector=s,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class cA{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class sf{constructor(n,e){this.component=n,this.route=e}}function CQ(t,n,e){const i=t._root;return vu(i,n?n._root:null,e,[i.value])}function ul(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function bP(t){return null!==Eu(t)}(t)?n.get(t):t:i}function vu(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=ll(n);return t.children.forEach(a=>{(function kQ(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){const c=function SQ(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!As(t.url,n.url);case"pathParamsOrQueryParamsChange":return!As(t.url,n.url)||!xr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!w0(t,n)||!xr(t.queryParams,n.queryParams);default:return!w0(t,n)}}(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new cA(i)):(r.data=a.data,r._resolvedData=a._resolvedData),vu(t,n,r.component?s?s.children:null:e,i,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new sf(s.outlet.component,a))}else a&&yu(n,s,o),o.canActivateChecks.push(new cA(i)),vu(t,null,r.component?s?s.children:null:e,i,o)})(a,r[a.value.outlet],e,i.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>yu(s,e.getContext(a),o)),o}function yu(t,n,e){const i=ll(t),o=t.value;Object.entries(i).forEach(([r,a])=>{yu(a,o.component?n?n.children.getContext(r):null:n,e)}),e.canDeactivateChecks.push(new sf(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function xu(t){return"function"==typeof t}function lA(t){return t instanceof Wp||"EmptyError"===t?.name}const cf=Symbol("INITIAL_VALUE");function hl(){return qi(t=>Bm(t.map(n=>n.pipe(Pt(1),Hi(cf)))).pipe(Ge(n=>{for(const e of n)if(!0!==e){if(e===cf)return cf;if(!1===e||e instanceof sl)return e}return!0}),Tt(n=>n!==cf),Pt(1)))}function dA(t){return function Ft(...t){return Ve(t)}(Ut(n=>{if(Ps(n))throw oA(0,n)}),Ge(n=>!0===n))}class lf{constructor(n){this.segmentGroup=n||null}}class uA{constructor(n){this.urlTree=n}}function ml(t){return Uc(new lf(t))}function hA(t){return Uc(new uA(t))}class WQ{constructor(n,e){this.urlSerializer=n,this.urlTree=e}noMatchError(n){return new de(4002,!1)}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return qe(i);if(o.numberOfChildren>1||!o.children[Rt])return Uc(new de(4e3,!1));o=o.children[Rt]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const r=this.createSegmentGroup(n,e.root,i,o);return new sl(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([o,r])=>{if("string"==typeof r&&r.startsWith(":")){const s=r.substring(1);i[o]=e[s]}else i[o]=r}),i}createSegmentGroup(n,e,i,o){const r=this.createSegments(n,e.segments,i,o);let a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,i,o)}),new ci(r,a)}createSegments(n,e,i,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new de(4001,!1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}const k0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qQ(t,n,e,i,o){const r=S0(t,n,e);return r.matched?(i=function gQ(t,n){return t.providers&&!t._injector&&(t._injector=z_(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function UQ(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?qe(o.map(a=>{const s=ul(a,t);return qa(function AQ(t){return t&&xu(t.canMatch)}(s)?s.canMatch(n,e):t.runInContext(()=>s(n,e)))})).pipe(hl(),dA()):qe(!0)}(i,n,e).pipe(Ge(a=>!0===a?r:{...k0}))):qe(r)}function S0(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...k0}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||kY)(e,t,n);if(!o)return{...k0};const r={};Object.entries(o.posParams??{}).forEach(([s,c])=>{r[s]=c.path});const a=o.consumed.length>0?{...r,...o.consumed[o.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function mA(t,n,e,i){return e.length>0&&function YQ(t,n,e){return e.some(i=>df(t,n,i)&&tr(i)!==Rt)}(t,e,i)?{segmentGroup:new ci(n,ZQ(i,new ci(e,t.children))),slicedSegments:[]}:0===e.length&&function QQ(t,n,e){return e.some(i=>df(t,n,i))}(t,e,i)?{segmentGroup:new ci(t.segments,KQ(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new ci(t.segments,t.children),slicedSegments:e}}function KQ(t,n,e,i,o){const r={};for(const a of i)if(df(t,e,a)&&!o[tr(a)]){const s=new ci([],{});r[tr(a)]=s}return{...o,...r}}function ZQ(t,n){const e={};e[Rt]=n;for(const i of t)if(""===i.path&&tr(i)!==Rt){const o=new ci([],{});e[tr(i)]=o}return e}function df(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class tX{constructor(n,e,i,o,r,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new WQ(this.urlSerializer,this.urlTree)}noMatchError(n){return new de(4002,!1)}recognize(){const n=mA(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,Rt).pipe(Si(e=>{if(e instanceof uA)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof lf?this.noMatchError(e):e}),Ge(e=>{const i=new nf([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Rt,this.rootComponentType,null,{}),o=new sa(i,e),r=new tA("",o),a=function GY(t,n,e=null,i=null){return UO(HO(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(r._root),{state:r,tree:a}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,Rt).pipe(Si(i=>{throw i instanceof lf?this.noMatchError(i):i}))}inheritParamsAndData(n){const e=n.value,i=eA(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o,!0)}processChildren(n,e,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return Bi(o).pipe($c(r=>{const a=i.children[r],s=function yQ(t,n){const e=t.filter(i=>tr(i)===n);return e.push(...t.filter(i=>tr(i)!==n)),e}(e,r);return this.processSegmentGroup(n,s,a,r)}),function wY(t,n){return rt(function xY(t,n,e,i,o){return(r,a)=>{let s=e,c=n,u=0;r.subscribe(ct(a,p=>{const b=u++;c=s?t(c,p,b):(s=!0,p),i&&a.next(c)},o&&(()=>{s&&a.next(c),a.complete()})))}}(t,n,arguments.length>=2,!0))}((r,a)=>(r.push(...a),r)),qp(null),function CY(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Tt((o,r)=>t(o,r,i)):Te,d0(1),e?qp(n):IO(()=>new Wp))}(),en(r=>{if(null===r)return ml(i);const a=pA(r);return function iX(t){t.sort((n,e)=>n.value.outlet===Rt?-1:e.value.outlet===Rt?1:n.value.outlet.localeCompare(e.value.outlet))}(a),qe(a)}))}processSegment(n,e,i,o,r,a){return Bi(e).pipe($c(s=>this.processSegmentAgainstRoute(s._injector??n,e,s,i,o,r,a).pipe(Si(c=>{if(c instanceof lf)return qe(null);throw c}))),Os(s=>!!s),Si(s=>{if(lA(s))return function JQ(t,n,e){return 0===n.length&&!t.children[e]}(i,o,r)?qe([]):ml(i);throw s}))}processSegmentAgainstRoute(n,e,i,o,r,a,s){return function XQ(t,n,e,i){return!!(tr(t)===i||i!==Rt&&df(n,e,t))&&("**"===t.path||S0(n,t,e).matched)}(i,o,r,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,o,i,r,a,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,i,r,a):ml(o):ml(o)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,a){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const r=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?hA(r):this.applyRedirects.lineralizeSegments(i,r).pipe(en(a=>{const s=new ci(a,{});return this.processSegment(n,e,s,a,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,a){const{matched:s,consumedSegments:c,remainingSegments:u,positionalParamSegments:p}=S0(e,o,r);if(!s)return ml(e);const b=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,p);return o.redirectTo.startsWith("/")?hA(b):this.applyRedirects.lineralizeSegments(o,b).pipe(en(y=>this.processSegment(n,i,e,y.concat(u),a,!1)))}matchSegmentAgainstRoute(n,e,i,o,r,a){let s;if("**"===i.path){const c=o.length>0?OO(o).parameters:{};s=qe({snapshot:new nf(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fA(i),tr(i),i.component??i._loadedComponent??null,i,gA(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else s=qQ(e,i,o,n).pipe(Ge(({matched:c,consumedSegments:u,remainingSegments:p,parameters:b})=>c?{snapshot:new nf(u,b,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fA(i),tr(i),i.component??i._loadedComponent??null,i,gA(i)),consumedSegments:u,remainingSegments:p}:null));return s.pipe(qi(c=>null===c?ml(e):this.getChildConfig(n=i._injector??n,i,o).pipe(qi(({routes:u})=>{const p=i._loadedInjector??n,{snapshot:b,consumedSegments:y,remainingSegments:C}=c,{segmentGroup:A,slicedSegments:O}=mA(e,y,C,u);if(0===O.length&&A.hasChildren())return this.processChildren(p,u,A).pipe(Ge(ce=>null===ce?null:[new sa(b,ce)]));if(0===u.length&&0===O.length)return qe([new sa(b,[])]);const W=tr(i)===r;return this.processSegment(p,u,A,O,W?Rt:r,!0).pipe(Ge(ce=>[new sa(b,ce)]))}))))}getChildConfig(n,e,i){return e.children?qe({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?qe({routes:e._loadedRoutes,injector:e._loadedInjector}):function HQ(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?qe(!0):qe(o.map(a=>{const s=ul(a,t);return qa(function TQ(t){return t&&xu(t.canLoad)}(s)?s.canLoad(n,e):t.runInContext(()=>s(n,e)))})).pipe(hl(),dA())}(n,e,i).pipe(en(o=>o?this.configLoader.loadChildren(n,e).pipe(Ut(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function GQ(t){return Uc(rA(!1,3))}())):qe({routes:[],injector:n})}}function nX(t){const n=t.value.routeConfig;return n&&""===n.path}function pA(t){const n=[],e=new Set;for(const i of t){if(!nX(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=pA(i.children);n.push(new sa(i.value,o))}return n.filter(i=>!e.has(i))}function fA(t){return t.data||{}}function gA(t){return t.resolve||{}}function _A(t){return"string"==typeof t.title||null===t.title}function M0(t){return qi(n=>{const e=t(n);return e?Bi(e).pipe(Ge(()=>n)):qe(n)})}const pl=new oe("ROUTES");let T0=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Fe(eS)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return qe(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=qa(e.loadComponent()).pipe(Ge(bA),Ut(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),xs(()=>{this.componentLoaders.delete(e)})),o=new Yv(i,()=>new te).pipe(Zv());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return qe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=function dX(t,n,e,i){return qa(t.loadChildren()).pipe(Ge(bA),en(o=>o instanceof rk||Array.isArray(o)?qe(o):Bi(n.compileModuleAsync(o))),Ge(o=>{i&&i(t);let r,a,s=!1;return Array.isArray(o)?(a=o,!0):(r=o.create(e).injector,a=r.get(pl,[],{optional:!0,self:!0}).flat()),{routes:a.map(D0),injector:r}}))}(i,this.compiler,e,this.onLoadEndListener).pipe(xs(()=>{this.childrenLoaders.delete(i)})),a=new Yv(r,()=>new te).pipe(Zv());return this.childrenLoaders.set(i,a),a}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bA(t){return function uX(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let uf=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new te,this.transitionAbortSubject=new te,this.configLoader=Fe(T0),this.environmentInjector=Fe(po),this.urlSerializer=Fe(du),this.rootContexts=Fe(gu),this.inputBindingEnabled=null!==Fe(af,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>qe(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new nQ(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new iQ(o))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e,i,o){return this.transitions=new bt({id:0,currentUrlTree:i,currentRawUrl:i,currentBrowserUrl:i,extractedUrl:e.urlHandlingStrategy.extract(i),urlAfterRedirects:e.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:pu,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Tt(r=>0!==r.id),Ge(r=>({...r,extractedUrl:e.urlHandlingStrategy.extract(r.rawUrl)})),qi(r=>{this.currentTransition=r;let a=!1,s=!1;return qe(r).pipe(Ut(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),qi(c=>{const u=c.currentBrowserUrl.toString(),p=!e.navigated||c.extractedUrl.toString()!==u||u!==c.currentUrlTree.toString();if(!p&&"reload"!==(c.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const y="";return this.events.next(new cl(c.id,this.urlSerializer.serialize(c.rawUrl),y,0)),c.resolve(null),so}if(e.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return qe(c).pipe(qi(y=>{const C=this.transitions?.getValue();return this.events.next(new ef(y.id,this.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState)),C!==this.transitions?.getValue()?so:Promise.resolve(y)}),function oX(t,n,e,i,o,r){return en(a=>function eX(t,n,e,i,o,r,a="emptyOnly"){return new tX(t,n,e,i,o,a,r).recognize()}(t,n,e,i,a.extractedUrl,o,r).pipe(Ge(({state:s,tree:c})=>({...a,targetSnapshot:s,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Ut(y=>{r.targetSnapshot=y.targetSnapshot,r.urlAfterRedirects=y.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:y.urlAfterRedirects};const C=new ZO(y.id,this.urlSerializer.serialize(y.extractedUrl),this.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);this.events.next(C)}));if(p&&e.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:y,extractedUrl:C,source:A,restoredState:O,extras:W}=c,ce=new ef(y,this.urlSerializer.serialize(C),A,O);this.events.next(ce);const ie=JO(0,this.rootComponentType).snapshot;return this.currentTransition=r={...c,targetSnapshot:ie,urlAfterRedirects:C,extras:{...W,skipLocationChange:!1,replaceUrl:!1}},qe(r)}{const y="";return this.events.next(new cl(c.id,this.urlSerializer.serialize(c.extractedUrl),y,1)),c.resolve(null),so}}),Ut(c=>{const u=new XY(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Ge(c=>(this.currentTransition=r={...c,guards:CQ(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},r)),function RQ(t,n){return en(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return 0===a.length&&0===r.length?qe({...e,guardsResult:!0}):function FQ(t,n,e,i){return Bi(t).pipe(en(o=>function zQ(t,n,e,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?qe(r.map(s=>{const c=bu(n)??o,u=ul(s,c);return qa(function OQ(t){return t&&xu(t.canDeactivate)}(u)?u.canDeactivate(t,n,e,i):c.runInContext(()=>u(t,n,e,i))).pipe(Os())})).pipe(hl()):qe(!0)}(o.component,o.route,e,n,i)),Os(o=>!0!==o,!0))}(a,i,o,t).pipe(en(s=>s&&function MQ(t){return"boolean"==typeof t}(s)?function NQ(t,n,e,i){return Bi(n).pipe($c(o=>Rd(function BQ(t,n){return null!==t&&n&&n(new oQ(t)),qe(!0)}(o.route.parent,i),function LQ(t,n){return null!==t&&n&&n(new aQ(t)),qe(!0)}(o.route,i),function jQ(t,n,e){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(a=>function DQ(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>Jc(()=>qe(a.guards.map(c=>{const u=bu(a.node)??e,p=ul(c,u);return qa(function EQ(t){return t&&xu(t.canActivateChild)}(p)?p.canActivateChild(i,t):u.runInContext(()=>p(i,t))).pipe(Os())})).pipe(hl())));return qe(r).pipe(hl())}(t,o.path,e),function VQ(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return qe(!0);const o=i.map(r=>Jc(()=>{const a=bu(n)??e,s=ul(r,a);return qa(function IQ(t){return t&&xu(t.canActivate)}(s)?s.canActivate(n,t):a.runInContext(()=>s(n,t))).pipe(Os())}));return qe(o).pipe(hl())}(t,o.route,e))),Os(o=>!0!==o,!0))}(i,r,t,n):qe(s)),Ge(s=>({...e,guardsResult:s})))})}(this.environmentInjector,c=>this.events.next(c)),Ut(c=>{if(r.guardsResult=c.guardsResult,Ps(c.guardsResult))throw oA(0,c.guardsResult);const u=new JY(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Tt(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),M0(c=>{if(c.guards.canActivateChecks.length)return qe(c).pipe(Ut(u=>{const p=new eQ(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),qi(u=>{let p=!1;return qe(u).pipe(function rX(t,n){return en(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return qe(e);let r=0;return Bi(o).pipe($c(a=>function aX(t,n,e,i){const o=t.routeConfig,r=t._resolve;return void 0!==o?.title&&!_A(o)&&(r[cu]=o.title),function sX(t,n,e,i){const o=function cX(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return qe({});const r={};return Bi(o).pipe(en(a=>function lX(t,n,e,i){const o=bu(n)??i,r=ul(t,o);return qa(r.resolve?r.resolve(n,e):o.runInContext(()=>r(n,e)))}(t[a],n,e,i).pipe(Os(),Ut(s=>{r[a]=s}))),d0(1),yp(r),Si(a=>lA(a)?so:Uc(a)))}(r,t,n,i).pipe(Ge(a=>(t._resolvedData=a,t.data=eA(t,e).resolve,o&&_A(o)&&(t.data[cu]=o.title),null)))}(a.route,i,t,n)),Ut(()=>r++),d0(1),en(a=>r===o.length?qe(e):so))})}(e.paramsInheritanceStrategy,this.environmentInjector),Ut({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(u,"",2)}}))}),Ut(u=>{const p=new tQ(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}))}),M0(c=>{const u=p=>{const b=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&b.push(this.configLoader.loadComponent(p.routeConfig).pipe(Ut(y=>{p.component=y}),Ge(()=>{})));for(const y of p.children)b.push(...u(y));return b};return Bm(u(c.targetSnapshot.root)).pipe(qp(),Pt(1))}),M0(()=>this.afterPreactivation()),Ge(c=>{const u=function hQ(t,n,e){const i=_u(t,n._root,e?e._root:void 0);return new XO(i,n)}(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r={...c,targetRouterState:u},r}),Ut(()=>{this.events.next(new g0)}),((t,n,e,i)=>Ge(o=>(new wQ(n,o.targetRouterState,o.currentRouterState,e,i).activate(t),o)))(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Pt(1),Ut({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ka(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),e.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),nt(this.transitionAbortSubject.pipe(Ut(c=>{throw c}))),xs(()=>{a||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Si(c=>{if(s=!0,aA(c))this.events.next(new fu(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),function fQ(t){return aA(t)&&Ps(t.url)}(c)?this.events.next(new _0(c.url)):r.resolve(!1);else{this.events.next(new tf(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0));try{r.resolve(e.errorHandler(c))}catch(u){r.reject(u)}}return so}))}))}cancelNavigationTransition(e,i,o){const r=new fu(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(r),e.resolve(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vA(t){return t!==pu}let yA=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===Rt);return i}getResolvedTitleForRoute(e){return e.data[cu]}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(hX)},providedIn:"root"})}return t})(),hX=(()=>{class t extends yA{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(kM))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mX=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(fX)},providedIn:"root"})}return t})();class pX{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let fX=(()=>{class t extends pX{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hf=new oe("",{providedIn:"root",factory:()=>({})});let gX=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(_X)},providedIn:"root"})}return t})(),_X=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wu=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(wu||{});function xA(t,n){t.events.pipe(Tt(e=>e instanceof Ka||e instanceof fu||e instanceof tf||e instanceof cl),Ge(e=>e instanceof Ka||e instanceof cl?wu.COMPLETE:e instanceof fu&&(0===e.code||1===e.code)?wu.REDIRECTING:wu.FAILED),Tt(e=>e!==wu.REDIRECTING),Pt(1)).subscribe(()=>{n()})}function bX(t){throw t}function vX(t,n,e){return n.parse("/")}const yX={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xX={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let cn=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Fe(Jk),this.isNgZoneEnabled=!1,this._events=new te,this.options=Fe(hf,{optional:!0})||{},this.pendingTasks=Fe(qh),this.errorHandler=this.options.errorHandler||bX,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||vX,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Fe(gX),this.routeReuseStrategy=Fe(mX),this.titleStrategy=Fe(yA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Fe(pl,{optional:!0})?.flat()??[],this.navigationTransitions=Fe(uf),this.urlSerializer=Fe(du),this.location=Fe(vd),this.componentInputBindingEnabled=!!Fe(af,{optional:!0}),this.eventsSubscription=new T,this.isNgZoneEnabled=Fe(We)instanceof We&&We.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new sl,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=JO(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(i=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(wA(i)&&this._events.next(i));if(i instanceof ef)vA(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(i instanceof cl)this.rawUrlTree=o.rawUrl;else if(i instanceof ZO){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(r,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(i instanceof g0)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(i instanceof fu)0!==i.code&&1!==i.code&&(this.navigated=!0),(3===i.code||2===i.code)&&this.restoreHistory(o);else if(i instanceof _0){const r=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vA(o.source)};this.scheduleNavigation(r,pu,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}i instanceof tf&&this.restoreHistory(o,!0),i instanceof Ka&&(this.navigated=!0),wA(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),pu,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,o){const r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const c={...o};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(r.state=c)}const s=this.parseUrl(e);this.scheduleNavigation(s,i,a,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(D0),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){const{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:a;let b,p=null;switch(s){case"merge":p={...this.currentUrlTree.queryParams,...r};break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}null!==p&&(p=this.removeEmptyProps(p));try{b=HO(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),b=this.currentUrlTree.root}return UO(b,e,p,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=Ps(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,pu,null,i)}navigate(e,i={skipLocationChange:!1}){return function wX(t){for(let n=0;n{const r=e[o];return null!=r&&(i[o]=r),i},{})}scheduleNavigation(e,i,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,c,u;a?(s=a.resolve,c=a.reject,u=a.promise):u=new Promise((b,y)=>{s=b,c=y});const p=this.pendingTasks.add();return xA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:e,extras:r,resolve:s,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(b=>Promise.reject(b))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const r={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(o,"",r)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-this.browserPageId;0!==r?this.location.historyGo(r):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wA(t){return!(t instanceof g0||t instanceof _0)}let Cr=(()=>{class t{constructor(e,i,o,r,a,s){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s,this.href=null,this.commands=null,this.onChanges=new te,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof Ka&&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,i,o,r,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||r||a||"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 fC(t,n,e){return function kN(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?pC:kn}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,r=this.el.nativeElement;null!==i?o.setAttribute(r,e,i):o.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(i){return new(i||t)(g(cn),g(dl),jn("tabindex"),g(Fr),g(Le),g(fs))};static#t=this.\u0275dir=X({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){1&i&&L("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&i&&et("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Rc],skipLocationChange:["skipLocationChange","skipLocationChange",Rc],replaceUrl:["replaceUrl","replaceUrl",Rc],routerLink:"routerLink"},standalone:!0,features:[S1,ai]})}return t})();class CA{}let kX=(()=>{class t{constructor(e,i,o,r,a){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Tt(e=>e instanceof Ka),$c(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const r of i){r.providers&&!r._injector&&(r._injector=z_(r.providers,e,`Route: ${r.path}`));const a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Bi(o).pipe(js())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):qe(null);const r=o.pipe(en(a=>null===a?qe(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?Bi([r,this.loader.loadComponent(i)]).pipe(js()):r})}static#e=this.\u0275fac=function(i){return new(i||t)(Z(cn),Z(eS),Z(po),Z(CA),Z(T0))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const I0=new oe("");let DA=(()=>{class t{constructor(e,i,o,r,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=r,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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 ef?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ka?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof cl&&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 YO&&(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,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new YO(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function ca(t,n){return{\u0275kind:t,\u0275providers:n}}function SA(){const t=Fe(Di);return n=>{const e=t.get(wa);if(n!==e.components[0])return;const i=t.get(cn),o=t.get(MA);1===t.get(E0)&&i.initialNavigation(),t.get(TA,null,Vt.Optional)?.setUpPreloading(),t.get(I0,null,Vt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const MA=new oe("",{factory:()=>new te}),E0=new oe("",{providedIn:"root",factory:()=>1}),TA=new oe("");function IX(t){return ca(0,[{provide:TA,useExisting:kX},{provide:CA,useExisting:t}])}const IA=new oe("ROUTER_FORROOT_GUARD"),OX=[vd,{provide:du,useClass:u0},cn,gu,{provide:dl,useFactory:function kA(t){return t.routerState.root},deps:[cn]},T0,[]];function AX(){return new sS("Router",cn)}let EA=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[OX,[],{provide:pl,multi:!0,useValue:e},{provide:IA,useFactory:NX,deps:[[cn,new os,new Vl]]},{provide:hf,useValue:i||{}},i?.useHash?{provide:fs,useClass:aB}:{provide:fs,useClass:LS},{provide:I0,useFactory:()=>{const t=Fe(yV),n=Fe(We),e=Fe(hf),i=Fe(uf),o=Fe(du);return e.scrollOffset&&t.setOffset(e.scrollOffset),new DA(o,i,t,n,e)}},i?.preloadingStrategy?IX(i.preloadingStrategy).\u0275providers:[],{provide:sS,multi:!0,useFactory:AX},i?.initialNavigation?LX(i):[],i?.bindToComponentInputs?ca(8,[nA,{provide:af,useExisting:nA}]).\u0275providers:[],[{provide:OA,useFactory:SA},{provide:cb,multi:!0,useExisting:OA}]]}}static forChild(e){return{ngModule:t,providers:[{provide:pl,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(IA,8))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();function NX(t){return"guarded"}function LX(t){return["disabled"===t.initialNavigation?ca(3,[{provide:eb,multi:!0,useFactory:()=>{const n=Fe(cn);return()=>{n.setUpLocationChangeListener()}}},{provide:E0,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?ca(2,[{provide:E0,useValue:0},{provide:eb,multi:!0,deps:[Di],useFactory:n=>{const e=n.get(oB,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(cn),r=n.get(MA);xA(o,()=>{i(!0)}),n.get(uf).afterPreactivation=()=>(i(!0),r.closed?qe(void 0):r),o.initialNavigation()}))}}]).\u0275providers:[]]}const OA=new oe("");var An=function(t){return t.DirectConnect="directConnect",t.DumpFile="dumpFile",t.SessionFile="sessionFile",t.ResumeSession="resumeSession",t}(An||{}),$i=function(t){return t.Type="inputType",t.Config="config",t.SourceDbName="sourceDbName",t}($i||{}),Za=function(t){return t.MySQL="MySQL",t.Postgres="Postgres",t.SQLServer="SQL Server",t.Oracle="Oracle",t}(Za||{}),oi=function(t){return t.DbName="databaseName",t.Tables="tables",t.Table="tableName",t.Indexes="indexes",t.Index="indexName",t}(oi||{}),Dr=function(t){return t.schemaOnly="Schema",t.dataOnly="Data",t.schemaAndData="Schema And Data",t}(Dr||{}),fl=function(t){return t.Table="table",t.Index="index",t}(fl||{}),vn=function(t){return t.bulkMigration="bulk",t.lowDowntimeMigration="lowdt",t}(vn||{}),ue=function(t){return t.MigrationMode="migrationMode",t.MigrationType="migrationType",t.IsTargetDetailSet="isTargetDetailSet",t.IsSourceConnectionProfileSet="isSourceConnectionProfileSet",t.IsSourceDetailsSet="isSourceDetailsSet",t.IsTargetConnectionProfileSet="isTargetConnectionProfileSet",t.IsMigrationDetailSet="isMigrationDetailSet",t.IsMigrationInProgress="isMigrationInProgress",t.HasDataMigrationStarted="hasDataMigrationStarted",t.HasSchemaMigrationStarted="hasSchemaMigrationStarted",t.SchemaProgressMessage="schemaProgressMessage",t.DataProgressMessage="dataProgressMessage",t.DataMigrationProgress="dataMigrationProgress",t.SchemaMigrationProgress="schemaMigrationProgress",t.HasForeignKeyUpdateStarted="hasForeignKeyUpdateStarted",t.ForeignKeyProgressMessage="foreignKeyProgressMessage",t.ForeignKeyUpdateProgress="foreignKeyUpdateProgress",t.GeneratingResources="generatingResources",t.NumberOfShards="numberOfShards",t.NumberOfInstances="numberOfInstances",t.isForeignKeySkipped="isForeignKeySkipped",t}(ue||{}),Xt=function(t){return t.TargetDB="targetDb",t.Dialect="dialect",t.SourceConnProfile="sourceConnProfile",t.TargetConnProfile="targetConnProfile",t.ReplicationSlot="replicationSlot",t.Publication="publication",t}(Xt||{});var gl=function(t){return t[t.SchemaMigrationComplete=1]="SchemaMigrationComplete",t[t.SchemaCreationInProgress=2]="SchemaCreationInProgress",t[t.DataMigrationComplete=3]="DataMigrationComplete",t[t.DataWriteInProgress=4]="DataWriteInProgress",t[t.ForeignKeyUpdateInProgress=5]="ForeignKeyUpdateInProgress",t[t.ForeignKeyUpdateComplete=6]="ForeignKeyUpdateComplete",t}(gl||{});const AA=[{value:"google_standard_sql",displayName:"Google Standard SQL Dialect"},{value:"postgresql",displayName:"PostgreSQL Dialect"}],ln={StorageMaxLength:0x8000000000000000,StringMaxLength:2621440,ByteMaxLength:10485760,DataTypes:["STRING","BYTES","VARCHAR"]},PA_GoogleStandardSQL=["BOOL","BYTES","DATE","FLOAT64","INT64","STRING","TIMESTAMP","NUMERIC","JSON"],PA_PostgreSQL=["BOOL","BYTEA","DATE","FLOAT8","INT8","VARCHAR","TIMESTAMPTZ","NUMERIC","JSONB"];var kr=function(t){return t.DirectConnectForm="directConnectForm",t.IsConnectionSuccessful="isConnectionSuccessful",t}(kr||{});function mf(t){return"mysql"==t||"mysqldump"==t?Za.MySQL:"postgres"===t||"pgdump"===t||"pg_dump"===t?Za.Postgres:"oracle"===t?Za.Oracle:"sqlserver"===t?Za.SQLServer:t}function RA(t){var n=document.createElement("a");let e=JSON.stringify(t).replace(/9223372036854776000/g,"9223372036854775807");n.href="data:text/json;charset=utf-8,"+encodeURIComponent(e),n.download=`${t.SessionName}_${t.DatabaseType}_${t.DatabaseName}.json`,n.click()}let yn=(()=>{class t{constructor(e){this.http=e,this.url=window.location.origin}connectTodb(e,i){const{dbEngine:o,isSharded:r,hostName:a,port:s,dbName:c,userName:u,password:p}=e;return this.http.post(`${this.url}/connect`,{Driver:o,IsSharded:r,Host:a,Port:s,Database:c,User:u,Password:p,Dialect:i},{observe:"response"})}getLastSessionDetails(){return this.http.get(`${this.url}/GetLatestSessionDetails`)}getSchemaConversionFromDirectConnect(){return this.http.get(`${this.url}/convert/infoschema`)}getSchemaConversionFromDump(e){return this.http.post(`${this.url}/convert/dump`,e)}setSourceDBDetailsForDump(e){return this.http.post(`${this.url}/SetSourceDBDetailsForDump`,e)}setSourceDBDetailsForDirectConnect(e){const{dbEngine:i,hostName:o,port:r,dbName:a,userName:s,password:c}=e;return this.http.post(`${this.url}/SetSourceDBDetailsForDirectConnect`,{Driver:i,Host:o,Port:r,Database:a,User:s,Password:c})}setShardsSourceDBDetailsForBulk(e){const{dbConfigs:i,isRestoredSession:o}=e;let r=[];return i.forEach(a=>{r.push({Driver:a.dbEngine,Host:a.hostName,Port:a.port,Database:a.dbName,User:a.userName,Password:a.password,DataShardId:a.shardId})}),this.http.post(`${this.url}/SetShardsSourceDBDetailsForBulk`,{DbConfigs:r,IsRestoredSession:o})}setShardsSourceDBDetailsForDataflow(e){return this.http.post(`${this.url}/SetShardsSourceDBDetailsForDataflow`,{MigrationProfile:e})}setDataflowDetailsForShardedMigrations(e){return this.http.post(`${this.url}/SetDataflowDetailsForShardedMigrations`,{DataflowConfig:e})}getSourceProfile(){return this.http.get(`${this.url}/GetSourceProfileConfig`)}getSchemaConversionFromSessionFile(e){return this.http.post(`${this.url}/convert/session`,e)}getDStructuredReport(){return this.http.get(`${this.url}/downloadStructuredReport`)}getDTextReport(){return this.http.get(`${this.url}/downloadTextReport`)}getDSpannerDDL(){return this.http.get(`${this.url}/downloadDDL`)}getIssueDescription(){return this.http.get(`${this.url}/issueDescription`)}getConversionRate(){return this.http.get(`${this.url}/conversion`)}getConnectionProfiles(e){return this.http.get(`${this.url}/GetConnectionProfiles?source=${e}`)}getGeneratedResources(){return this.http.get(`${this.url}/GetGeneratedResources`)}getStaticIps(){return this.http.get(`${this.url}/GetStaticIps`)}createConnectionProfile(e){return this.http.post(`${this.url}/CreateConnectionProfile`,e)}getSummary(){return this.http.get(`${this.url}/summary`)}getDdl(){return this.http.get(`${this.url}/ddl`)}getTypeMap(){return this.http.get(`${this.url}/typemap`)}getSpannerDefaultTypeMap(){return this.http.get(`${this.url}/spannerDefaultTypeMap`)}reviewTableUpdate(e,i){return this.http.post(`${this.url}/typemap/reviewTableSchema?table=${e}`,i)}updateTable(e,i){return this.http.post(`${this.url}/typemap/table?table=${e}`,i)}removeInterleave(e){return this.http.post(`${this.url}/removeParent?tableId=${e}`,{})}restoreTables(e){return this.http.post(`${this.url}/restore/tables`,e)}restoreTable(e){return this.http.post(`${this.url}/restore/table?table=${e}`,{})}dropTable(e){return this.http.post(`${this.url}/drop/table?table=${e}`,{})}dropTables(e){return this.http.post(`${this.url}/drop/tables`,e)}updatePk(e){return this.http.post(`${this.url}/primaryKey`,e)}updateFk(e,i){return this.http.post(`${this.url}/update/fks?table=${e}`,i)}addColumn(e,i){return this.http.post(`${this.url}/AddColumn?table=${e}`,i)}removeFk(e,i){return this.http.post(`${this.url}/drop/fk?table=${e}`,{Id:i})}getTableWithErrors(){return this.http.get(`${this.url}/GetTableWithErrors`)}getSessions(){return this.http.get(`${this.url}/GetSessions`)}getConvForSession(e){return this.http.get(`${this.url}/GetSession/${e}`,{responseType:"blob"})}resumeSession(e){return this.http.post(`${this.url}/ResumeSession/${e}`,{})}saveSession(e){return this.http.post(`${this.url}/SaveRemoteSession`,e)}getSpannerConfig(){return this.http.get(`${this.url}/GetConfig`)}setSpannerConfig(e){return this.http.post(`${this.url}/SetSpannerConfig`,e)}getIsOffline(){return this.http.get(`${this.url}/IsOffline`)}updateIndex(e,i){return this.http.post(`${this.url}/update/indexes?table=${e}`,i)}dropIndex(e,i){return this.http.post(`${this.url}/drop/secondaryindex?table=${e}`,{Id:i})}restoreIndex(e,i){return this.http.post(`${this.url}/restore/secondaryIndex?tableId=${e}&indexId=${i}`,{})}getInterleaveStatus(e){return this.http.get(`${this.url}/setparent?table=${e}&update=false`)}setInterleave(e){return this.http.get(`${this.url}/setparent?table=${e}&update=true`)}getSourceDestinationSummary(){return this.http.get(`${this.url}/GetSourceDestinationSummary`)}migrate(e){return this.http.post(`${this.url}/Migrate`,e)}getProgress(){return this.http.get(`${this.url}/GetProgress`)}uploadFile(e){return this.http.post(`${this.url}/uploadFile`,e)}cleanUpStreamingJobs(){return this.http.post(`${this.url}/CleanUpStreamingJobs`,{})}applyRule(e){return this.http.post(`${this.url}/applyrule`,e)}dropRule(e){return this.http.post(`${this.url}/dropRule?id=${e}`,{})}getStandardTypeToPGSQLTypemap(){return this.http.get(`${this.url}/typemap/GetStandardTypeToPGSQLTypemap`)}getPGSQLToStandardTypeTypemap(){return this.http.get(`${this.url}/typemap/GetPGSQLToStandardTypeTypemap`)}checkBackendHealth(){return this.http.get(`${this.url}/ping`)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qm))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vo=(()=>{class t{constructor(e){this.snackBar=e}openSnackBar(e,i,o){o||(o=10),this.snackBar.open(e,i,{duration:1e3*o})}openSnackBarWithoutTimeout(e,i){this.snackBar.open(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(zK))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jo=(()=>{class t{constructor(){this.spannerConfigSub=new bt(!1),this.datebaseLoaderSub=new bt({type:"",databaseName:""}),this.viewAssesmentSub=new bt({srcDbType:"",connectionDetail:"",conversionRates:{good:0,ok:0,bad:0}}),this.tabToSpannerSub=new bt(!1),this.cancelDbLoadSub=new bt(!1),this.spannerConfig=this.spannerConfigSub.asObservable(),this.databaseLoader=this.datebaseLoaderSub.asObservable(),this.viewAssesment=this.viewAssesmentSub.asObservable(),this.tabToSpanner=this.tabToSpannerSub.asObservable(),this.cancelDbLoad=this.cancelDbLoadSub.asObservable()}openSpannerConfig(){this.spannerConfigSub.next(!0)}openDatabaseLoader(e,i){this.datebaseLoaderSub.next({type:e,databaseName:i})}closeDatabaseLoader(){this.datebaseLoaderSub.next({type:"",databaseName:""})}setViewAssesmentData(e){this.viewAssesmentSub.next(e)}setTabToSpanner(){this.tabToSpannerSub.next(!0)}cancelDbLoading(){this.cancelDbLoadSub.next(!0)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),O0=(()=>{class t{constructor(){this.reviewTableChangesSub=new bt({Changes:[],DDL:""}),this.tableUpdateDetailSub=new bt({tableName:"",tableId:"",updateDetail:{UpdateCols:{}}}),this.reviewTableChanges=this.reviewTableChangesSub.asObservable(),this.tableUpdateDetail=this.tableUpdateDetailSub.asObservable()}setTableReviewChanges(e){this.reviewTableChangesSub.next(e)}setTableUpdateDetail(e){this.tableUpdateDetailSub.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rs=(()=>{class t{constructor(e){this.fetch=e,this.standardTypeToPGSQLTypeMapSub=new bt(new Map),this.pgSQLToStandardTypeTypeMapSub=new bt(new Map),this.standardTypeToPGSQLTypeMap=this.standardTypeToPGSQLTypeMapSub.asObservable(),this.pgSQLToStandardTypeTypeMap=this.pgSQLToStandardTypeTypeMapSub.asObservable()}getStandardTypeToPGSQLTypemap(){return this.fetch.getStandardTypeToPGSQLTypemap().subscribe({next:e=>{this.standardTypeToPGSQLTypeMapSub.next(new Map(Object.entries(e)))}})}getPGSQLToStandardTypeTypemap(){return this.fetch.getPGSQLToStandardTypeTypemap().subscribe({next:e=>{this.pgSQLToStandardTypeTypeMapSub.next(new Map(Object.entries(e)))}})}createTreeNode(e,i,o="",r=""){let a=Object.keys(e.SpSchema).filter(p=>e.SpSchema[p].Name.toLocaleLowerCase().includes(o.toLocaleLowerCase())),s=Object.keys(e.SrcSchema).filter(p=>-1==a.indexOf(p)&&e.SrcSchema[p].Name.replace(/[^A-Za-z0-9_]/g,"_").includes(o.toLocaleLowerCase())),c=this.getDeletedIndexes(e),u={name:`Tables (${a.length})`,type:oi.Tables,parent:"",pos:-1,isSpannerNode:!0,id:"",parentId:"",children:a.map(p=>{let b=e.SpSchema[p];return{name:b.Name,status:i[p],type:oi.Table,parent:""!=b.ParentId?e.SpSchema[b.ParentId]?.Name:"",pos:-1,isSpannerNode:!0,id:p,parentId:b.ParentId,children:[{name:`Indexes (${b.Indexes?b.Indexes.length:0})`,status:"",type:oi.Indexes,parent:e.SpSchema[p].Name,pos:-1,isSpannerNode:!0,id:"",parentId:p,children:b.Indexes?b.Indexes.map((y,C)=>({name:y.Name,type:oi.Index,parent:e.SpSchema[p].Name,pos:C,isSpannerNode:!0,id:y.Id,parentId:p})):[]}]}})};return"asc"===r||""===r?u.children?.sort((p,b)=>p.name>b.name?1:b.name>p.name?-1:0):"desc"===r&&u.children?.sort((p,b)=>b.name>p.name?1:p.name>b.name?-1:0),s.forEach(p=>{u.children?.push({name:e.SrcSchema[p].Name.replace(/[^A-Za-z0-9_]/g,"_"),status:"DARK",type:oi.Table,pos:-1,isSpannerNode:!0,children:[],isDeleted:!0,id:p,parent:"",parentId:""})}),u.children?.forEach((p,b)=>{c[p.id]&&c[p.id].forEach(y=>{u.children[b].children[0].children?.push({name:y.Name.replace(/[^A-Za-z0-9_]/g,"_"),type:oi.Index,parent:e.SpSchema[p.name]?.Name,pos:b,isSpannerNode:!0,isDeleted:!0,id:y.Id,parentId:p.id})})}),[{name:e.DatabaseName,children:[u],type:oi.DbName,parent:"",pos:-1,isSpannerNode:!0,id:"",parentId:""}]}createTreeNodeForSource(e,i,o="",r=""){let a=Object.keys(e.SrcSchema).filter(c=>e.SrcSchema[c].Name.toLocaleLowerCase().includes(o.toLocaleLowerCase())),s={name:`Tables (${a.length})`,type:oi.Tables,pos:-1,isSpannerNode:!1,id:"",parent:"",parentId:"",children:a.map(c=>{let u=e.SrcSchema[c];return{name:u.Name,status:i[c]?i[c]:"NONE",type:oi.Table,parent:"",pos:-1,isSpannerNode:!1,id:c,parentId:"",children:[{name:`Indexes (${u.Indexes?.length||"0"})`,status:"",type:oi.Indexes,parent:"",pos:-1,isSpannerNode:!1,id:"",parentId:"",children:u.Indexes?u.Indexes.map((p,b)=>({name:p.Name,type:oi.Index,parent:e.SrcSchema[c].Name,isSpannerNode:!1,pos:b,id:p.Id,parentId:c})):[]}]}})};return"asc"===r||""===r?s.children?.sort((c,u)=>c.name>u.name?1:u.name>c.name?-1:0):"desc"===r&&s.children?.sort((c,u)=>u.name>c.name?1:c.name>u.name?-1:0),[{name:e.DatabaseName,children:[s],type:oi.DbName,isSpannerNode:!1,parent:"",pos:-1,id:"",parentId:""}]}getColumnMapping(e,i){let u,o=this.getSpannerTableNameFromId(e,i),r=i.SrcSchema[e].ColIds,a=i.SpSchema[e]?i.SpSchema[e].ColIds:null,s=i.SrcSchema[e].PrimaryKeys,c=a?i.SpSchema[e].PrimaryKeys:null;this.standardTypeToPGSQLTypeMap.subscribe(y=>{u=y});const p=ln.StorageMaxLength,b=i.SrcSchema[e].ColIds.map((y,C)=>{let A;o&&i.SpSchema[e].PrimaryKeys.forEach(ce=>{ce.ColId==y&&(A=ce.Order)});let O=o?i.SpSchema[e]?.ColDefs[y]:null,W=O?u.get(O.T.Name):"";return{spOrder:O?C+1:"",srcOrder:C+1,spColName:O?O.Name:"",spDataType:O?"postgresql"===i.SpDialect?void 0===W?O.T.Name:W:O.T.Name:"",srcColName:i.SrcSchema[e].ColDefs[y].Name,srcDataType:i.SrcSchema[e].ColDefs[y].Type.Name,spIsPk:!(!O||!o)&&-1!==i.SpSchema[e].PrimaryKeys?.map(ce=>ce.ColId).indexOf(y),srcIsPk:!!s&&-1!==s.map(ce=>ce.ColId).indexOf(y),spIsNotNull:!(!O||!o)&&O.NotNull,srcIsNotNull:i.SrcSchema[e].ColDefs[y].NotNull,srcId:y,spId:O?y:"",spColMaxLength:0!=O?.T.Len?O?.T.Len!=p?O?.T.Len:"MAX":"",srcColMaxLength:null!=i.SrcSchema[e].ColDefs[y].Type.Mods?i.SrcSchema[e].ColDefs[y].Type.Mods[0]:""}});return a&&a.forEach((y,C)=>{if(r.indexOf(y)<0){let A=i.SpSchema[e].ColDefs[y],O=o?i.SpSchema[e]?.ColDefs[y]:null,W=O?u.get(O.T.Name):"";b.push({spOrder:C+1,srcOrder:"",spColName:A.Name,spDataType:O?"postgresql"===i.SpDialect?void 0===W?O.T.Name:W:O.T.Name:"",srcColName:"",srcDataType:"",spIsPk:!!c&&-1!==c.map(ce=>ce.ColId).indexOf(y),srcIsPk:!1,spIsNotNull:A.NotNull,srcIsNotNull:!1,srcId:"",spId:y,srcColMaxLength:"",spColMaxLength:O?.T.Len})}}),b}getPkMapping(e){let i=e.filter(o=>o.spIsPk||o.srcIsPk);return JSON.parse(JSON.stringify(i))}getFkMapping(e,i){let o=i.SrcSchema[e]?.ForeignKeys;return o?o.map(r=>{let a=this.getSpannerFkFromId(i,e,r.Id),s=a?a.ColIds.map(C=>i.SpSchema[e].ColDefs[C].Name):[],c=a?a.ColIds:[],u=r.ColIds.map(C=>i.SrcSchema[e].ColDefs[C].Name),p=a?a.ReferColumnIds.map(C=>i.SpSchema[r.ReferTableId].ColDefs[C].Name):[],b=a?a.ReferColumnIds:[],y=r.ReferColumnIds.map(C=>i.SrcSchema[r.ReferTableId].ColDefs[C].Name);return{srcFkId:r.Id,spFkId:a?.Id,spName:a?a.Name:"",srcName:r.Name,spColumns:s,srcColumns:u,spReferTable:a?i.SpSchema[a.ReferTableId].Name:"",srcReferTable:i.SrcSchema[r.ReferTableId].Name,spReferColumns:p,srcReferColumns:y,spColIds:c,spReferColumnIds:b,spReferTableId:a?a.ReferTableId:""}}):[]}getIndexMapping(e,i,o){let r=this.getSourceIndexFromId(i,e,o),a=this.getSpannerIndexFromId(i,e,o),s=r?r.Keys.map(p=>p.ColId):[],c=a?a.Keys.map(p=>p.ColId):[],u=r?r.Keys.map(p=>{let b=this.getSpannerIndexKeyFromColId(i,e,o,p.ColId);return{srcColId:p.ColId,spColId:b?b.ColId:void 0,srcColName:i.SrcSchema[e].ColDefs[p.ColId].Name,srcOrder:p.Order,srcDesc:p.Desc,spColName:b?i.SpSchema[e].ColDefs[b.ColId].Name:"",spOrder:b?b.Order:void 0,spDesc:b?b.Desc:void 0}}):[];return c.forEach(p=>{if(-1==s.indexOf(p)){let b=this.getSpannerIndexKeyFromColId(i,e,o,p);u.push({srcColName:"",srcOrder:"",srcColId:void 0,srcDesc:void 0,spColName:i.SpSchema[e].ColDefs[p].Name,spOrder:b?b.Order:void 0,spDesc:b?b.Desc:void 0,spColId:b?b.ColId:void 0})}}),u}getSpannerFkFromId(e,i,o){let r=null;return e.SpSchema[i]?.ForeignKeys?.forEach(a=>{a.Id==o&&(r=a)}),r}getSourceIndexFromId(e,i,o){let r=null;return e.SrcSchema[i]?.Indexes?.forEach(a=>{a.Id==o&&(r=a)}),r}getSpannerIndexFromId(e,i,o){let r=null;return e.SpSchema[i]?.Indexes?.forEach(a=>{a.Id==o&&(r=a)}),r}getSpannerIndexKeyFromColId(e,i,o,r){let a=null,s=e.SpSchema[i]?.Indexes?e.SpSchema[i].Indexes.filter(c=>c.Id==o):null;if(s&&s.length>0){let c=s[0].Keys.filter(u=>u.ColId==r);a=c.length>0?c[0]:null}return a}getSourceIndexKeyFromColId(e,i,o,r){let a=null,s=e.SrcSchema[i]?.Indexes?e.SrcSchema[i].Indexes.filter(c=>c.Id==o):null;if(s&&s.length>0){let c=s[0].Keys.filter(u=>u.ColId==r);a=c.length>0?c[0]:null}return a}getSpannerColDefFromId(e,i,o){let r=null;return Object.keys(o.SpSchema[e].ColDefs).forEach(a=>{o.SpSchema[e].ColDefs[a].Id==i&&(r=o.SpSchema[e].ColDefs[a])}),r}getSourceTableNameFromId(e,i){let o="";return Object.keys(i.SrcSchema).forEach(r=>{i.SrcSchema[r].Id===e&&(o=i.SrcSchema[r].Name)}),o}getSpannerTableNameFromId(e,i){let o=null;return Object.keys(i.SpSchema).forEach(r=>{i.SpSchema[r].Id===e&&(o=i.SpSchema[r].Name)}),o}getTableIdFromSpName(e,i){let o="";return Object.keys(i.SpSchema).forEach(r=>{i.SpSchema[r].Name===e&&(o=i.SpSchema[r].Id)}),o}getColIdFromSpannerColName(e,i,o){let r="";return Object.keys(o.SpSchema[i].ColDefs).forEach(a=>{o.SpSchema[i].ColDefs[a].Name===e&&(r=o.SpSchema[i].ColDefs[a].Id)}),r}getDeletedIndexes(e){let i={};return Object.keys(e.SpSchema).forEach(o=>{let r=e.SpSchema[o],a=e.SrcSchema[o],s=r&&r.Indexes?r.Indexes.map(u=>u.Id):[],c=a&&a.Indexes?a.Indexes?.filter(u=>!s.includes(u.Id)):null;r&&a&&c&&c.length>0&&(i[o]=c)}),i}static#e=this.\u0275fac=function(i){return new(i||t)(Z(yn))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Li=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snackbar=i,this.clickEvent=o,this.tableUpdatePubSub=r,this.conversion=a,this.convSubject=new bt({}),this.conversionRateSub=new bt({}),this.typeMapSub=new bt({}),this.defaultTypeMapSub=new bt({}),this.summarySub=new bt(new Map),this.ddlSub=new bt({}),this.tableInterleaveStatusSub=new bt({}),this.sessionsSub=new bt({}),this.configSub=new bt({}),this.currentSessionSub=new bt({}),this.isOfflineSub=new bt(!1),this.ruleMapSub=new bt([]),this.rule=this.ruleMapSub.asObservable(),this.conv=this.convSubject.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.conversionRate=this.conversionRateSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.typeMap=this.typeMapSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.defaultTypeMap=this.defaultTypeMapSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.summary=this.summarySub.asObservable(),this.ddl=this.ddlSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.tableInterleaveStatus=this.tableInterleaveStatusSub.asObservable(),this.sessions=this.sessionsSub.asObservable(),this.config=this.configSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.isOffline=this.isOfflineSub.asObservable(),this.currentSession=this.currentSessionSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.getLastSessionDetails(),this.getConfig(),this.updateIsOffline()}resetStore(){this.convSubject.next({}),this.conversionRateSub.next({}),this.typeMapSub.next({}),this.defaultTypeMapSub.next({}),this.summarySub.next(new Map),this.ddlSub.next({}),this.tableInterleaveStatusSub.next({})}getDdl(){this.fetch.getDdl().subscribe(e=>{this.ddlSub.next(e)})}getSchemaConversionFromDb(){this.fetch.getSchemaConversionFromDirectConnect().subscribe({next:e=>{this.convSubject.next(e),this.ruleMapSub.next(e?.Rules)},error:e=>{this.clickEvent.closeDatabaseLoader(),this.snackbar.openSnackBar(e.error,"Close")}})}getAllSessions(){this.fetch.getSessions().subscribe({next:e=>{this.sessionsSub.next(e)},error:e=>{this.snackbar.openSnackBar("Unable to fetch sessions.","Close")}})}getLastSessionDetails(){this.fetch.getLastSessionDetails().subscribe({next:e=>{this.convSubject.next(e),this.ruleMapSub.next(e?.Rules)},error:e=>{this.snackbar.openSnackBar(e.error,"Close")}})}getSchemaConversionFromDump(e){return this.fetch.getSchemaConversionFromDump(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules)},error:i=>{this.clickEvent.closeDatabaseLoader(),this.snackbar.openSnackBar(i.error,"Close")}})}getSchemaConversionFromSession(e){return this.fetch.getSchemaConversionFromSessionFile(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules)},error:i=>{this.snackbar.openSnackBar(i.error,"Close"),this.clickEvent.closeDatabaseLoader()}})}getSchemaConversionFromResumeSession(e){this.fetch.resumeSession(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules)},error:i=>{this.snackbar.openSnackBar(i.error,"Close")}})}getConversionRate(){this.fetch.getConversionRate().subscribe(e=>{this.conversionRateSub.next(e)})}getRateTypemapAndSummary(){return zv({rates:this.fetch.getConversionRate(),typeMap:this.fetch.getTypeMap(),defaultTypeMap:this.fetch.getSpannerDefaultTypeMap(),summary:this.fetch.getSummary(),ddl:this.fetch.getDdl()}).pipe(Si(e=>qe(e))).subscribe(({rates:e,typeMap:i,defaultTypeMap:o,summary:r,ddl:a})=>{this.conversionRateSub.next(e),this.typeMapSub.next(i),this.defaultTypeMapSub.next(o),this.summarySub.next(new Map(Object.entries(r))),this.ddlSub.next(a)})}getSummary(){return this.fetch.getSummary().subscribe({next:e=>{this.summarySub.next(new Map(Object.entries(e)))}})}reviewTableUpdate(e,i){return this.fetch.reviewTableUpdate(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>{if(o.error)return o.error;{let r;return this.conversion.standardTypeToPGSQLTypeMap.subscribe(a=>{r=a}),this.conv.subscribe(a=>{o.Changes.forEach(s=>{s.InterleaveColumnChanges.forEach(c=>{if("postgresql"===a.SpDialect){let u=r.get(c.Type),p=r.get(c.UpdateType);c.Type=void 0===u?c.Type:u,c.UpdateType=void 0===p?c.UpdateType:p}ln.DataTypes.indexOf(c.Type.toString())>-1&&(c.Type+=this.updateColumnSize(c.Size)),ln.DataTypes.indexOf(c.UpdateType.toString())>-1&&(c.UpdateType+=this.updateColumnSize(c.UpdateSize))})})}),this.tableUpdatePubSub.setTableReviewChanges(o),""}}))}updateColumnSize(e){return e===ln.StorageMaxLength?"(MAX)":"("+e+")"}updateTable(e,i){return this.fetch.updateTable(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}removeInterleave(e){return this.fetch.removeInterleave(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>(this.getDdl(),i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),""))))}restoreTables(e){return this.fetch.restoreTables(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Selected tables restored successfully","Close",5),"")))}restoreTable(e){return this.fetch.restoreTable(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Table restored successfully","Close",5),"")))}dropTable(e){return this.fetch.dropTable(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Table skipped successfully","Close",5),"")))}dropTables(e){return this.fetch.dropTables(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Selected tables skipped successfully","Close",5),"")))}updatePk(e){return this.fetch.updatePk(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?i.error:(this.convSubject.next(i),this.getDdl(),"")))}updateFkNames(e,i){return this.fetch.updateFk(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}dropFk(e,i){return this.fetch.removeFk(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}getConfig(){this.fetch.getSpannerConfig().subscribe(e=>{this.configSub.next(e)})}updateConfig(e){this.configSub.next(e)}updateIsOffline(){this.fetch.getIsOffline().subscribe(e=>{this.isOfflineSub.next(e)})}addColumn(e,i){this.fetch.addColumn(e,i).subscribe({next:o=>{this.convSubject.next(o),this.getDdl(),this.snackbar.openSnackBar("Added new column.","Close",5)},error:o=>{this.snackbar.openSnackBar(o.error,"Close")}})}applyRule(e){this.fetch.applyRule(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules),this.getDdl(),this.snackbar.openSnackBar("Added new rule.","Close",5)},error:i=>{this.snackbar.openSnackBar(i.error,"Close")}})}updateIndex(e,i){return this.fetch.updateIndex(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}dropIndex(e,i){return this.fetch.dropIndex(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?(this.snackbar.openSnackBar(o.error,"Close"),o.error):(this.convSubject.next(o),this.getDdl(),this.ruleMapSub.next(o?.Rules),this.snackbar.openSnackBar("Index skipped successfully","Close",5),"")))}restoreIndex(e,i){return this.fetch.restoreIndex(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?(this.snackbar.openSnackBar(o.error,"Close"),o.error):(this.convSubject.next(o),this.snackbar.openSnackBar("Index restored successfully","Close",5),"")))}getInterleaveConversionForATable(e){this.fetch.getInterleaveStatus(e).subscribe(i=>{this.tableInterleaveStatusSub.next(i)})}setInterleave(e){this.fetch.setInterleave(e).subscribe(i=>{this.convSubject.next(i.sessionState),this.getDdl(),i.sessionState&&this.convSubject.next(i.sessionState)})}uploadFile(e){return this.fetch.uploadFile(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar("File upload failed","Close"),i.error):(this.snackbar.openSnackBar("File uploaded successfully","Close",5),"")))}dropRule(e){return this.fetch.dropRule(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules),this.getDdl(),this.snackbar.openSnackBar("Rule deleted successfully","Close",5)},error:i=>{this.snackbar.openSnackBar(i.error,"Close")}})}static#e=this.\u0275fac=function(i){return new(i||t)(Z(yn),Z(Vo),Z(jo),Z(O0),Z(Rs))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pf=(()=>{class t{constructor(){this.isLoadingSub=new bt(!1),this.isLoading=this.isLoadingSub.asObservable()}startLoader(){this.isLoadingSub.next(!0)}stopLoader(){this.isLoadingSub.next(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jX(t,n){if(1&t&&(d(0,"mat-option",18),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function zX(t,n){if(1&t&&(d(0,"mat-option",18),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function HX(t,n){1&t&&(d(0,"b"),h(1,"Note: For sharded migrations, please enter below the details of the shard you want Spanner migration tool to read the schema from. The complete connection configuration of all the shards will be taken in later, during data migration."),l())}function UX(t,n){if(1&t&&(d(0,"div",19)(1,"div",20)(2,"mat-form-field",21)(3,"mat-label"),h(4,"Sharded Migration"),l(),d(5,"mat-select",22),_(6,zX,2,2,"mat-option",6),l()(),d(7,"mat-icon",23),h(8,"info"),l(),d(9,"mat-chip",24),h(10," Preview "),l()(),D(11,"br"),_(12,HX,2,0,"b",25),l()),2&t){const e=w();m(6),f("ngForOf",e.shardedResponseList),m(3),f("removable",!1),m(3),f("ngIf",e.connectForm.value.isSharded)}}function $X(t,n){if(1&t&&(d(0,"mat-option",18),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function GX(t,n){1&t&&(d(0,"mat-icon",26),h(1," check_circle "),l())}let WX=(()=>{class t{constructor(e,i,o,r,a,s){this.router=e,this.fetch=i,this.data=o,this.loader=r,this.snackbarService=a,this.clickEvent=s,this.connectForm=new ni({dbEngine:new Q("",[me.required]),isSharded:new Q(!1),hostName:new Q("",[me.required]),port:new Q("",[me.required,me.pattern("^[0-9]+$")]),userName:new Q("",[me.required]),password:new Q(""),dbName:new Q("",[me.required]),dialect:new Q("",[me.required])}),this.dbEngineList=[{value:"mysql",displayName:"MySQL"},{value:"sqlserver",displayName:"SQL Server"},{value:"oracle",displayName:"Oracle"},{value:"postgres",displayName:"PostgreSQL"}],this.isTestConnectionSuccessful=!1,this.connectRequest=null,this.getSchemaRequest=null,this.shardedResponseList=[{value:!1,displayName:"No"},{value:!0,displayName:"Yes"}],this.dialect=AA}ngOnInit(){null!=localStorage.getItem(kr.DirectConnectForm)&&this.connectForm.setValue(JSON.parse(localStorage.getItem(kr.DirectConnectForm))),null!=localStorage.getItem(kr.IsConnectionSuccessful)&&(this.isTestConnectionSuccessful="true"===localStorage.getItem(kr.IsConnectionSuccessful)),this.clickEvent.cancelDbLoad.subscribe({next:e=>{e&&this.connectRequest&&(this.connectRequest.unsubscribe(),this.getSchemaRequest&&this.getSchemaRequest.unsubscribe())}})}testConn(){this.clickEvent.openDatabaseLoader("test-connection",this.connectForm.value.dbName);const{dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c,dialect:u}=this.connectForm.value;localStorage.setItem(kr.DirectConnectForm,JSON.stringify(this.connectForm.value)),this.connectRequest=this.fetch.connectTodb({dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c},u).subscribe({next:()=>{this.snackbarService.openSnackBar("SUCCESS! Spanner migration tool was able to successfully ping source database","Close",3),localStorage.setItem(kr.IsConnectionSuccessful,"true"),this.clickEvent.closeDatabaseLoader()},error:b=>{this.isTestConnectionSuccessful=!1,this.snackbarService.openSnackBar(b.error,"Close"),localStorage.setItem(kr.IsConnectionSuccessful,"false"),this.clickEvent.closeDatabaseLoader()}})}connectToDb(){this.clickEvent.openDatabaseLoader("direct",this.connectForm.value.dbName),window.scroll(0,0),this.data.resetStore(),localStorage.clear();const{dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c,dialect:u}=this.connectForm.value;localStorage.setItem(kr.DirectConnectForm,JSON.stringify(this.connectForm.value)),this.connectRequest=this.fetch.connectTodb({dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c},u).subscribe({next:()=>{this.getSchemaRequest=this.data.getSchemaConversionFromDb(),this.data.conv.subscribe(b=>{localStorage.setItem($i.Config,JSON.stringify({dbEngine:e,hostName:o,port:r,userName:a,password:s,dbName:c})),localStorage.setItem($i.Type,An.DirectConnect),localStorage.setItem($i.SourceDbName,mf(e)),this.clickEvent.closeDatabaseLoader(),localStorage.removeItem(kr.DirectConnectForm),this.router.navigate(["/workspace"])})},error:b=>{this.snackbarService.openSnackBar(b.error,"Close"),this.clickEvent.closeDatabaseLoader()}})}refreshDbSpecifcConnectionOptions(){this.connectForm.value.isSharded=!1}static#e=this.\u0275fac=function(i){return new(i||t)(g(cn),g(yn),g(Li),g(pf),g(Vo),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-direct-connection"]],decls:54,vars:8,consts:[["id","direct-connection-component",1,"connect-load-database-container"],[1,"form-container"],[3,"formGroup"],[1,"primary-header"],["appearance","outline",1,"full-width"],["formControlName","dbEngine","id","dbengine-input",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["class","shardingConfig",4,"ngIf"],["matInput","","placeholder","127.0.0.1","name","hostName","type","text","formControlName","hostName","id","hostname-input"],["matInput","","placeholder","3306","name","port","type","text","formControlName","port","id","port-input"],["matInput","","placeholder","root","name","userName","type","text","formControlName","userName","id","username-input"],["matInput","","name","password","type","password","formControlName","password","id","password-input"],["matInput","","name","dbname","type","text","formControlName","dbName","id","dbname-input"],["matSelect","","name","dialect","formControlName","dialect","appearance","outline","id","spanner-dialect-input"],["class","success","matTooltip","Source Connection Successful","matTooltipPosition","above",4,"ngIf"],["mat-raised-button","","id","test-connect-btn","type","submit","color","accent",3,"disabled","click"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["mat-raised-button","",3,"routerLink"],[3,"value"],[1,"shardingConfig"],[1,"flex-container"],["appearance","outline",1,"flex-item"],["formControlName","isSharded"],["matTooltip","Configure multiple source database instances (shards) and consolidate them by migrating to a single Cloud Spanner instance to take advantage of Spanner's horizontal scalability and consistency semantics.",1,"flex-item","configure"],[1,"flex-item","rounded-chip",3,"removable"],[4,"ngIf"],["matTooltip","Source Connection Successful","matTooltipPosition","above",1,"success"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"form",2)(3,"h3",3),h(4,"Connect to Source Database"),l(),d(5,"mat-form-field",4)(6,"mat-label"),h(7,"Database Engine"),l(),d(8,"mat-select",5),L("selectionChange",function(){return o.refreshDbSpecifcConnectionOptions()}),_(9,jX,2,2,"mat-option",6),l()(),_(10,UX,13,3,"div",7),D(11,"br"),d(12,"h3",3),h(13,"Connection Detail"),l(),d(14,"mat-form-field",4)(15,"mat-label"),h(16,"Hostname"),l(),D(17,"input",8),l(),d(18,"mat-form-field",4)(19,"mat-label"),h(20,"Port"),l(),D(21,"input",9),d(22,"mat-error"),h(23," Only numbers are allowed. "),l()(),D(24,"br"),d(25,"mat-form-field",4)(26,"mat-label"),h(27,"User name"),l(),D(28,"input",10),l(),d(29,"mat-form-field",4)(30,"mat-label"),h(31,"Password"),l(),D(32,"input",11),l(),D(33,"br"),d(34,"mat-form-field",4)(35,"mat-label"),h(36,"Database Name"),l(),D(37,"input",12),l(),D(38,"br"),d(39,"h3",3),h(40,"Spanner Dialect"),l(),d(41,"mat-form-field",4)(42,"mat-label"),h(43,"Select a spanner dialect"),l(),d(44,"mat-select",13),_(45,$X,2,2,"mat-option",6),l()(),D(46,"br"),_(47,GX,2,0,"mat-icon",14),d(48,"button",15),L("click",function(){return o.testConn()}),h(49," Test Connection "),l(),d(50,"button",16),L("click",function(){return o.connectToDb()}),h(51," Connect "),l(),d(52,"button",17),h(53,"Cancel"),l()()()()),2&i&&(m(2),f("formGroup",o.connectForm),m(7),f("ngForOf",o.dbEngineList),m(1),f("ngIf","mysql"===o.connectForm.value.dbEngine),m(35),f("ngForOf",o.dialect),m(2),f("ngIf",o.isTestConnectionSuccessful),m(1),f("disabled",!o.connectForm.valid),m(2),f("disabled",!o.connectForm.valid||!o.isTestConnectionSuccessful),m(2),f("routerLink","/"))},dependencies:[an,Et,Cr,Kt,_i,Oi,Ii,by,sn,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,Es,On],styles:[".connect-load-database-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}.configure[_ngcontent-%COMP%]{color:#1967d2}.flex-container[_ngcontent-%COMP%]{display:flex;align-items:center}.flex-item[_ngcontent-%COMP%]{margin-right:8px;align-self:baseline}.rounded-chip[_ngcontent-%COMP%]{background-color:#fff!important;color:#0f33ab!important;border-radius:16px;padding:6px 12px;border:1px solid black;cursor:not-allowed;pointer-events:none}"]})}return t})();function qX(t,n){if(1&t){const e=_e();d(0,"button",7),L("click",function(){return ae(e),se(w().onConfirm())}),h(1," Continue "),l()}}let Co=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,void 0===i.title&&(i.title="Update can not be saved")}ngOnInit(){}onConfirm(){this.dialogRef.close(!0)}onDismiss(){this.dialogRef.close(!1)}getIconFromMessageType(){switch(this.data.type){case"warning":return"warning";case"error":return"error";case"success":return"check_circle";default:return"message"}}static#e=this.\u0275fac=function(i){return new(i||t)(g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-infodialog"]],decls:9,vars:3,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"dialog-message",3,"innerHtml"],["mat-dialog-actions","",1,"dialog-action"],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h1",1),h(2),l(),d(3,"div",2),D(4,"p",3),l(),d(5,"div",4)(6,"button",5),h(7,"CANCEL"),l(),_(8,qX,2,0,"button",6),l()()),2&i&&(m(2),Re(o.data.title),m(2),f("innerHtml",o.data.message,mC),m(4),f("ngIf","error"!=o.data.type))},dependencies:[Et,Kt,wo,aZ,vr,yr]})}return t})();function FA(t=0,n=Pd){return t<0&&(t=0),fp(t,t,n)}let KX=(()=>{class t{constructor(e,i){this.fetch=e,this.dialog=i,this.healthCheckSubscription=new T,this.unHealthyCheckCount=0,this.MAX_UNHEALTHY_CHECK_ATTEMPTS=5}startHealthCheck(){this.healthCheckSubscription=FA(5e3).subscribe(()=>{this.checkBackendHealth()})}stopHealthCheck(){this.healthCheckSubscription&&this.healthCheckSubscription.unsubscribe()}checkBackendHealth(){this.checkHealth().subscribe(e=>{e?this.unHealthyCheckCount=0:(this.unHealthyCheckCount==this.MAX_UNHEALTHY_CHECK_ATTEMPTS&&this.openHealthDialog(),this.unHealthyCheckCount++)})}openHealthDialog(){let e=this.dialog.open(Co,{width:"500px",data:{message:"Please check terminal logs for more details. In case of a crash please file a github issue with all the details.",type:"error",title:"Spanner migration tool unresponsive"}});this.stopHealthCheck(),e.afterClosed().subscribe(()=>{this.startHealthCheck()})}checkHealth(){return Bi(this.fetch.checkBackendHealth()).pipe(Ge(()=>!0),Si(()=>qe(!1)))}ngOnDestroy(){this.stopHealthCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(yn),Z(br))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ZX(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function YX(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function QX(t,n){if(1&t){const e=_e();d(0,"mat-form-field",24)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.sessionName=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"sessionName"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.sessionName)}}function XX(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Session Name"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("sessionName"))}),_(5,ZX,2,0,"mat-icon",22),_(6,YX,2,0,"mat-icon",22),l()(),_(7,QX,4,1,"mat-form-field",23),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.sessionName),m(1),f("ngIf",!e.displayFilter.sessionName),m(1),f("ngIf",e.displayFilter.sessionName)}}function JX(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.SessionName)}}function eJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function tJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function iJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.editorName=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"editorName"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.editorName)}}function nJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Editor"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("editorName"))}),_(5,eJ,2,0,"mat-icon",22),_(6,tJ,2,0,"mat-icon",22),l()(),_(7,iJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.editorName),m(1),f("ngIf",!e.displayFilter.editorName),m(1),f("ngIf",e.displayFilter.editorName)}}function oJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.EditorName)}}function rJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function aJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function sJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.databaseType=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"databaseType"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.databaseType)}}function cJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Database Type"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("databaseType"))}),_(5,rJ,2,0,"mat-icon",22),_(6,aJ,2,0,"mat-icon",22),l()(),_(7,sJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.databaseType),m(1),f("ngIf",!e.displayFilter.databaseType),m(1),f("ngIf",e.displayFilter.databaseType)}}function lJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.DatabaseType)}}function dJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function uJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function hJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.databaseName=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"databaseName"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.databaseName)}}function mJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Database Name"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("databaseName"))}),_(5,dJ,2,0,"mat-icon",22),_(6,uJ,2,0,"mat-icon",22),l()(),_(7,hJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.databaseName),m(1),f("ngIf",!e.displayFilter.databaseName),m(1),f("ngIf",e.displayFilter.databaseName)}}function pJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.DatabaseName)}}function fJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function gJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function _J(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.dialect=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"dialect"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.dialect)}}function bJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Spanner Dialect"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("dialect"))}),_(5,fJ,2,0,"mat-icon",22),_(6,gJ,2,0,"mat-icon",22),l()(),_(7,_J,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.dialect),m(1),f("ngIf",!e.displayFilter.dialect),m(1),f("ngIf",e.displayFilter.dialect)}}function vJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.Dialect)}}function yJ(t,n){1&t&&(d(0,"th",19),h(1,"Notes"),l())}function xJ(t,n){if(1&t){const e=_e();d(0,"button",34),L("click",function(){ae(e);const o=w(2).index,r=w(2);return se(r.notesToggle[o]=!r.notesToggle[o])}),h(1," ... "),l()}}function wJ(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e)}}function CJ(t,n){if(1&t&&(d(0,"div"),_(1,wJ,2,1,"p",35),l()),2&t){const e=w(2).$implicit;m(1),f("ngForOf",e.Notes)}}function DJ(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w(2).$implicit;m(1),Re(null==e.Notes||null==e.Notes[0]?null:e.Notes[0].substring(0,20))}}function kJ(t,n){if(1&t&&(d(0,"div",30),_(1,xJ,2,0,"button",31),_(2,CJ,2,1,"div",32),_(3,DJ,2,1,"ng-template",null,33,Zo),l()),2&t){const e=At(4),i=w(),o=i.$implicit,r=i.index,a=w(2);m(1),f("ngIf",(null==o.Notes?null:o.Notes.length)>1||(null==o.Notes[0]?null:o.Notes[0].length)>20),m(1),f("ngIf",a.notesToggle[r])("ngIfElse",e)}}function SJ(t,n){if(1&t&&(d(0,"td",26),_(1,kJ,5,3,"div",29),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.Notes)}}function MJ(t,n){1&t&&(d(0,"th",19),h(1,"Created At"),l())}function TJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit,i=w(2);m(1),Re(i.convertDateTime(e.CreateTimestamp))}}function IJ(t,n){1&t&&D(0,"th",19)}function EJ(t,n){if(1&t){const e=_e();d(0,"td",26)(1,"button",36),L("click",function(){const r=ae(e).$implicit;return se(w(2).resumeFromSessionFile(r.VersionId))}),h(2," Resume "),l(),d(3,"button",36),L("click",function(){const r=ae(e).$implicit;return se(w(2).downloadSessionFile(r.VersionId,r.SessionName,r.DatabaseType,r.DatabaseName))}),h(4," Download "),l()()}}function OJ(t,n){1&t&&D(0,"tr",37)}function AJ(t,n){1&t&&D(0,"tr",38)}function PJ(t,n){if(1&t&&(d(0,"div",5)(1,"table",6),xe(2,7),_(3,XX,8,3,"th",8),_(4,JX,2,1,"td",9),we(),xe(5,10),_(6,nJ,8,3,"th",8),_(7,oJ,2,1,"td",9),we(),xe(8,11),_(9,cJ,8,3,"th",8),_(10,lJ,2,1,"td",9),we(),xe(11,12),_(12,mJ,8,3,"th",8),_(13,pJ,2,1,"td",9),we(),xe(14,13),_(15,bJ,8,3,"th",8),_(16,vJ,2,1,"td",9),we(),xe(17,14),_(18,yJ,2,0,"th",8),_(19,SJ,2,1,"td",9),we(),xe(20,15),_(21,MJ,2,0,"th",8),_(22,TJ,2,1,"td",9),we(),xe(23,16),_(24,IJ,1,0,"th",8),_(25,EJ,5,0,"td",9),we(),_(26,OJ,1,0,"tr",17),_(27,AJ,1,0,"tr",18),l()()),2&t){const e=w();m(1),f("dataSource",e.filteredDataSource),m(25),f("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),m(1),f("matRowDefColumns",e.displayedColumns)}}function RJ(t,n){if(1&t){const e=_e();d(0,"div",39),di(),d(1,"svg",40),D(2,"rect",41)(3,"path",42),l(),Pr(),d(4,"button",43),L("click",function(){return ae(e),se(w().openSpannerConfigDialog())}),h(5," Configure Spanner Details "),l(),d(6,"span"),h(7,"Do not have any previous session to display. "),d(8,"u"),h(9," OR "),l(),D(10,"br"),h(11," Invalid Spanner configuration. "),l()()}}let FJ=(()=>{class t{constructor(e,i,o,r){this.fetch=e,this.data=i,this.router=o,this.clickEvent=r,this.displayedColumns=["SessionName","EditorName","DatabaseType","DatabaseName","Dialect","Notes","CreateTimestamp","Action"],this.notesToggle=[],this.dataSource=[],this.filteredDataSource=[],this.filterColumnsValue={sessionName:"",editorName:"",databaseType:"",databaseName:"",dialect:""},this.displayFilter={sessionName:!1,editorName:!1,databaseType:!1,databaseName:!1,dialect:!1}}ngOnInit(){this.data.getAllSessions(),this.data.sessions.subscribe({next:e=>{null!=e?(this.filteredDataSource=e,this.dataSource=e):(this.filteredDataSource=[],this.dataSource=[])}})}toggleFilterDisplay(e){this.displayFilter[e]=!this.displayFilter[e]}updateFilterValue(e,i){e.stopPropagation(),this.filterColumnsValue[i]=e.target.value,this.applyFilter()}applyFilter(){this.filteredDataSource=this.dataSource.filter(e=>!!e.SessionName.toLowerCase().includes(this.filterColumnsValue.sessionName.toLowerCase())).filter(e=>!!e.EditorName.toLowerCase().includes(this.filterColumnsValue.editorName.toLowerCase())).filter(e=>!!e.DatabaseType.toLowerCase().includes(this.filterColumnsValue.databaseType.toLowerCase())).filter(e=>!!e.DatabaseName.toLowerCase().includes(this.filterColumnsValue.databaseName.toLowerCase())).filter(e=>!!e.Dialect.toLowerCase().includes(this.filterColumnsValue.dialect.toLowerCase()))}downloadSessionFile(e,i,o,r){this.fetch.getConvForSession(e).subscribe(a=>{var s=document.createElement("a");s.href=URL.createObjectURL(a),s.download=`${i}_${o}_${r}.json`,s.click()})}resumeFromSessionFile(e){this.data.resetStore(),this.data.getSchemaConversionFromResumeSession(e),this.data.conv.subscribe(i=>{localStorage.setItem($i.Config,e),localStorage.setItem($i.Type,An.ResumeSession),this.router.navigate(["/workspace"])})}openSpannerConfigDialog(){this.clickEvent.openSpannerConfig()}convertDateTime(e){return(e=(e=new Date(e).toString()).substring(e.indexOf(" ")+1)).substring(0,e.indexOf("("))}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Li),g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-session-listing"]],decls:8,vars:2,consts:[[1,"sessions-wrapper"],[1,"primary-header"],[1,"summary"],["class","session-container mat-elevation-z3",4,"ngIf"],["class","mat-elevation-z3 warning-container",4,"ngIf"],[1,"session-container","mat-elevation-z3"],["mat-table","",3,"dataSource"],["matColumnDef","SessionName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","EditorName"],["matColumnDef","DatabaseType"],["matColumnDef","DatabaseName"],["matColumnDef","Dialect"],["matColumnDef","Notes"],["matColumnDef","CreateTimestamp"],["matColumnDef","Action"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"table-header-container"],["mat-icon-button","",3,"click"],[4,"ngIf"],["appearance","outline","class","full-width",4,"ngIf"],["appearance","outline",1,"full-width"],["matInput","","autocomplete","off",3,"ngModel","ngModelChange","keyup"],["mat-cell",""],["appearance","outline",4,"ngIf"],["appearance","outline"],["class","notes-wrapper",4,"ngIf"],[1,"notes-wrapper"],["class","notes-toggle-button",3,"click",4,"ngIf"],[4,"ngIf","ngIfElse"],["short",""],[1,"notes-toggle-button",3,"click"],[4,"ngFor","ngForOf"],["mat-button","","color","primary",3,"click"],["mat-header-row",""],["mat-row",""],[1,"mat-elevation-z3","warning-container"],["width","49","height","48","viewBox","0 0 49 48","fill","none","xmlns","http://www.w3.org/2000/svg"],["x","0.907227","width","48","height","48","rx","4","fill","#E6ECFA"],["fill-rule","evenodd","clip-rule","evenodd","d","M17.9072 15C16.8027 15 15.9072 15.8954 15.9072 17V31C15.9072 32.1046 16.8027 33 17.9072 33H31.9072C33.0118 33 33.9072 32.1046 33.9072 31V17C33.9072 15.8954 33.0118 15 31.9072 15H17.9072ZM20.9072 18H18.9072V20H20.9072V18ZM21.9072 18H23.9072V20H21.9072V18ZM20.9072 23H18.9072V25H20.9072V23ZM21.9072 23H23.9072V25H21.9072V23ZM20.9072 28H18.9072V30H20.9072V28ZM21.9072 28H23.9072V30H21.9072V28ZM30.9072 18H24.9072V20H30.9072V18ZM24.9072 23H30.9072V25H24.9072V23ZM30.9072 28H24.9072V30H30.9072V28Z","fill","#3367D6"],["mat-button","","color","primary",1,"spanner-config-button",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h3",1),h(2,"Session history"),l(),d(3,"div",2),h(4," Choose a session to resume an existing migration session, or download the session file. "),l(),D(5,"br"),_(6,PJ,28,4,"div",3),_(7,RJ,12,0,"div",4),l()),2&i&&(m(6),f("ngIf",o.dataSource.length>0),m(1),f("ngIf",0===o.dataSource.length))},dependencies:[an,Et,Kt,Fa,_i,Oi,Ii,sn,Mi,vi,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,Kc],styles:[".session-container[_ngcontent-%COMP%]{max-height:500px;overflow:auto}.session-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:13px}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .table-header-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}.sessions-wrapper[_ngcontent-%COMP%]{margin-top:20px}.sessions-wrapper[_ngcontent-%COMP%] .warning-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:57vh;text-align:center}.sessions-wrapper[_ngcontent-%COMP%] .warning-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-bottom:10px}.sessions-wrapper[_ngcontent-%COMP%] .warning-container[_ngcontent-%COMP%] .spanner-config-button[_ngcontent-%COMP%]{text-decoration:underline}.mat-mdc-column-Notes[_ngcontent-%COMP%]{max-width:200px;padding-right:10px}.notes-toggle-button[_ngcontent-%COMP%]{float:right;margin-right:32px;background-color:#f5f5f5;border:none;border-radius:2px;padding:0 5px 5px}.notes-toggle-button[_ngcontent-%COMP%]:hover{background-color:#ebe7e7;cursor:pointer}.notes-wrapper[_ngcontent-%COMP%]{margin-top:10px}.mat-mdc-column-SessionName[_ngcontent-%COMP%], .mat-mdc-column-EditorName[_ngcontent-%COMP%], .mat-mdc-column-DatabaseType[_ngcontent-%COMP%], .mat-mdc-column-DatabaseName[_ngcontent-%COMP%], .mat-mdc-column-Dialect[_ngcontent-%COMP%]{width:13vw;min-width:150px}.mat-mdc-column-Action[_ngcontent-%COMP%], .mat-mdc-column-Notes[_ngcontent-%COMP%], .mat-mdc-column-CreateTimestamp[_ngcontent-%COMP%]{width:15vw;min-width:150px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:80%}"]})}return t})(),NJ=(()=>{class t{constructor(e,i,o){this.dialog=e,this.router=i,this.healthCheckService=o}ngOnInit(){this.healthCheckService.startHealthCheck(),null!=localStorage.getItem(ue.IsMigrationInProgress)&&"true"===localStorage.getItem(ue.IsMigrationInProgress)&&(this.dialog.open(Co,{data:{title:"Redirecting to prepare migration page",message:"Another migration already in progress",type:"error"},maxWidth:"500px"}),this.router.navigate(["/prepare-migration"]))}static#e=this.\u0275fac=function(i){return new(i||t)(g(br),g(cn),g(KX))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-home"]],decls:21,vars:4,consts:[[1,"container"],[1,"primary-header"],[1,"summary","global-font-color","body-font-size"],["href","https://github.com/GoogleCloudPlatform/spanner-migration-tool#readme","target","_blank"],[1,"btn-source-select"],["mat-raised-button","","color","primary","id","connect-to-database-btn",1,"split-button-left",3,"routerLink"],["mat-raised-button","","color","primary",1,"split-button-right",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","More options"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"routerLink"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"h3",1),h(2,"Get started with Spanner migration tool"),l(),d(3,"div",2),h(4," Spanner migration tool (formerly known as HarbourBridge) is a stand-alone open source tool for Cloud Spanner evaluation and migration, using data from an existing PostgreSQL, MySQL, SQL Server, Oracle or DynamoDB database. "),d(5,"a",3),h(6,"Learn More"),l(),h(7,". "),l(),d(8,"div",4)(9,"button",5),h(10," Connect to database "),l(),d(11,"button",6)(12,"mat-icon",7),h(13,"expand_more"),l()(),d(14,"mat-menu",8,9)(16,"button",10),h(17,"Load database dump"),l(),d(18,"button",10),h(19,"Load session file"),l()()(),D(20,"app-session-listing"),l()),2&i){const r=At(15);m(9),f("routerLink","/source/direct-connection"),m(2),f("matMenuTriggerFor",r),m(5),f("routerLink","/source/load-dump"),m(2),f("routerLink","/source/load-session")}},dependencies:[Cr,Kt,_i,el,Xr,tl,FJ],styles:[".container[_ngcontent-%COMP%]{padding:7px 27px}.container[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{width:500px;font-weight:lighter}.container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 5px}.container[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border-color:#fff;margin-bottom:20px}.container[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%]{margin:20px 0;padding-bottom:5px}.container[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-left[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.container[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-right[_ngcontent-%COMP%]{width:30px!important;min-width:unset!important;padding:0 2px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid #fafafa}"]})}return t})(),Pn=(()=>{class t{constructor(){this.sidenavOpenSub=new bt(!1),this.sidenavComponentSub=new bt(""),this.sidenavRuleTypeSub=new bt(""),this.sidenavAddIndexTableSub=new bt(""),this.setSidenavDatabaseNameSub=new bt(""),this.ruleDataSub=new bt({}),this.displayRuleFlagSub=new bt(!1),this.setMiddleColumn=new bt(!1),this.isSidenav=this.sidenavOpenSub.asObservable(),this.sidenavComponent=this.sidenavComponentSub.asObservable(),this.sidenavRuleType=this.sidenavRuleTypeSub.asObservable(),this.sidenavAddIndexTable=this.sidenavAddIndexTableSub.asObservable(),this.sidenavDatabaseName=this.setSidenavDatabaseNameSub.asObservable(),this.ruleData=this.ruleDataSub.asObservable(),this.displayRuleFlag=this.displayRuleFlagSub.asObservable(),this.setMiddleColumnComponent=this.setMiddleColumn.asObservable()}openSidenav(){this.sidenavOpenSub.next(!0)}closeSidenav(){this.sidenavOpenSub.next(!1)}setSidenavComponent(e){this.sidenavComponentSub.next(e)}setSidenavRuleType(e){this.sidenavRuleTypeSub.next(e)}setSidenavAddIndexTable(e){this.sidenavAddIndexTableSub.next(e)}setSidenavDatabaseName(e){this.setSidenavDatabaseNameSub.next(e)}setRuleData(e){this.ruleDataSub.next(e)}setDisplayRuleFlag(e){this.displayRuleFlagSub.next(e)}setMiddleColComponent(e){this.setMiddleColumn.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),NA=(()=>{class t{constructor(e){this.sidenav=e}ngOnInit(){}closeInstructionSidenav(){this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-instruction"]],decls:150,vars:0,consts:[[1,"instructions-div"],[1,"instruction-header-div"],["mat-icon-button","",3,"click"],["src","../../../assets/icons/google-spanner-logo.png",1,"instructions-icon"],[1,"textCenter"],[1,"instructions-main-heading"],[1,"instructions-sub-heading"],[1,"instructions-command"],["href","https://github.com/GoogleCloudPlatform/spanner-migration-tool",1,"instructionsLink"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"button",2),L("click",function(){return o.closeInstructionSidenav()}),d(3,"mat-icon"),h(4,"close"),l()()(),D(5,"img",3),d(6,"h1",4),h(7,"Spanner migration tool User Manual"),l(),D(8,"br")(9,"br"),d(10,"h3",5),h(11,"1 \xa0 \xa0 \xa0Introduction"),l(),d(12,"p"),h(13," Spanner migration tool (formerly known as HarbourBridge) is a stand-alone open source tool for Cloud Spanner evaluation, using data from an existing PostgreSQL or MySQL database. The tool ingests schema and data from either a pg_dump/mysqldump file or directly from the source database, automatically builds a Spanner schema, and creates a new Spanner database populated with data from the source database. "),D(14,"br")(15,"br")(16,"br"),h(17," Spanner migration tool is designed to simplify Spanner evaluation, and in particular to bootstrap the process by getting moderate-size PostgreSQL/MySQL datasets into Spanner (up to a few tens of GB). Many features of PostgreSQL/MySQL, especially those that don't map directly to Spanner features, are ignored, e.g. (non-primary) indexes, functions, and sequences. Types such as integers, floats, char/text, bools, timestamps, and (some) array types, map fairly directly to Spanner, but many other types do not and instead are mapped to Spanner's STRING(MAX). "),l(),D(18,"br"),d(19,"h4",6),h(20,"1.1 \xa0 \xa0 \xa0Spanner migration tool UI"),l(),d(21,"p"),h(22," Spanner migration tool UI is designed to focus on generating spanner schema from either a pg_dump/mysqldump file or directly from the source database and providing edit functionality to the spanner schema and thereby creating a new spanner database populated with new data. UI gives the provision to edit column name, edit data type, edit constraints, drop foreign key and drop secondary index of spanner schema. "),l(),D(23,"br"),d(24,"h3",5),h(25,"2 \xa0 \xa0 \xa0Key Features of UI"),l(),d(26,"ul")(27,"li"),h(28,"Connecting to a new database"),l(),d(29,"li"),h(30,"Load dump file"),l(),d(31,"li"),h(32,"Load session file"),l(),d(33,"li"),h(34,"Storing session for each conversion"),l(),d(35,"li"),h(36,"Edit data type globally for each table in schema"),l(),d(37,"li"),h(38,"Edit data type, column name, constraint for a particular table"),l(),d(39,"li"),h(40,"Edit foreign key and secondary index name"),l(),d(41,"li"),h(42,"Drop a column from a table"),l(),d(43,"li"),h(44,"Drop foreign key from a table"),l(),d(45,"li"),h(46,"Drop secondary index from a table"),l(),d(47,"li"),h(48,"Convert foreign key into interleave table"),l(),d(49,"li"),h(50,"Search a table"),l(),d(51,"li"),h(52,"Download schema, report and session files"),l()(),D(53,"br"),d(54,"h3",5),h(55,"3 \xa0 \xa0 \xa0UI Setup"),l(),d(56,"ul")(57,"li"),h(58,"Install go in local"),l(),d(59,"li"),h(60," Clone Spanner migration tool project and run following command in the terminal: "),D(61,"br"),d(62,"span",7),h(63,"go run main.go --web"),l()(),d(64,"li"),h(65,"Open "),d(66,"span",7),h(67,"http://localhost:8080"),l(),h(68,"in browser"),l()(),D(69,"br"),d(70,"h3",5),h(71," 4 \xa0 \xa0 \xa0Different modes to select source database "),l(),d(72,"h4",6),h(73,"4.1 \xa0 \xa0 \xa0Connect to Database"),l(),d(74,"ul")(75,"li"),h(76,"Enter database details in connect to database dialog box"),l(),d(77,"li"),h(78," Input Fields: database type, database host, database port, database user, database name, database password "),l()(),d(79,"h4",6),h(80,"4.2 \xa0 \xa0 \xa0Load Database Dump"),l(),d(81,"ul")(82,"li"),h(83,"Enter dump file path in load database dialog box"),l(),d(84,"li"),h(85,"Input Fields: database type, file path"),l()(),d(86,"h4",6),h(87,"4.3 \xa0 \xa0 \xa0Import Schema File"),l(),d(88,"ul")(89,"li"),h(90,"Enter session file path in load session dialog box"),l(),d(91,"li"),h(92,"Input Fields: database type, session file path"),l()(),d(93,"h3",5),h(94,"5 \xa0 \xa0 \xa0Session Table"),l(),d(95,"ul")(96,"li"),h(97,"Session table is used to store the previous sessions of schema conversion"),l()(),d(98,"h3",5),h(99,"6 \xa0 \xa0 \xa0Edit Global Data Type"),l(),d(100,"ul")(101,"li"),h(102,"Click on edit global data type button on the screen"),l(),d(103,"li"),h(104,"Select required spanner data type from the dropdown available for each source data type"),l(),d(105,"li"),h(106,"Click on next button after making all the changes"),l()(),d(107,"h3",5),h(108," 7 \xa0 \xa0 \xa0Edit Spanner Schema for a particular table "),l(),d(109,"ul")(110,"li"),h(111,"Expand any table"),l(),d(112,"li"),h(113,"Click on edit spanner schema button"),l(),d(114,"li"),h(115,"Edit column name/ data type/ constraint of spanner schema"),l(),d(116,"li"),h(117,"Edit name of secondary index or foreign key"),l(),d(118,"li"),h(119,"Select to convert foreign key to interleave or use as is (if option is available)"),l(),d(120,"li"),h(121,"Drop a column by unselecting any checkbox"),l(),d(122,"li"),h(123," Drop a foreign key or secondary index by expanding foreign keys or secondary indexes tab inside table "),l(),d(124,"li"),h(125,"Click on save changes button to save the changes"),l(),d(126,"li"),h(127," If current table is involved in foreign key/secondary indexes relationship with other table then user will be prompt to delete foreign key or secondary indexes and then proceed with save changes "),l()(),d(128,"p"),h(129,"- Warning before deleting secondary index from a table"),l(),d(130,"p"),h(131,"- Error on saving changes"),l(),d(132,"p"),h(133,"- Changes saved successfully after resolving all errors"),l(),d(134,"h3",5),h(135,"8 \xa0 \xa0 \xa0Download Session File"),l(),d(136,"ul")(137,"li"),h(138,"Save all the changes done in spanner schema table wise or globally"),l(),d(139,"li"),h(140,"Click on download session file button on the top right corner"),l(),d(141,"li"),h(142,"Save the generated session file with all the changes in local machine"),l()(),d(143,"h3",5),h(144,"9 \xa0 \xa0 \xa0How to use Session File"),l(),d(145,"p"),h(146," Please refer below link to get more information on how to use session file with Spanner migration tool "),l(),d(147,"a",8),h(148,"Refer this to use Session File"),l(),D(149,"br"),l())},dependencies:[Fa,_i],styles:[".instructions-div[_ngcontent-%COMP%]{padding:5px 20px 20px}.instructions-div[_ngcontent-%COMP%] .instruction-header-div[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.instructions-icon[_ngcontent-%COMP%]{height:200px;display:block;margin-left:auto;margin-right:auto}.textCenter[_ngcontent-%COMP%]{text-align:center}.instructions-main-heading[_ngcontent-%COMP%]{font-size:1.25rem;color:#4285f4;font-weight:700}.instructions-sub-heading[_ngcontent-%COMP%]{font-size:1rem;color:#4285f4;font-weight:700}.instructions-command[_ngcontent-%COMP%]{background-color:#8080806b;border-radius:5px;padding:0 5px}.instructions-img-width[_ngcontent-%COMP%]{width:800px}.instructionsLink[_ngcontent-%COMP%]{color:#4285f4;text-decoration:underline}"]})}return t})();const LJ=["determinateSpinner"];function BJ(t,n){if(1&t&&(di(),d(0,"svg",11),D(1,"circle",12),l()),2&t){const e=w();et("viewBox",e._viewBox()),m(1),rn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),et("r",e._circleRadius())}}const VJ=Ea(class{constructor(t){this._elementRef=t}},"primary"),jJ=new oe("mat-progress-spinner-default-options",{providedIn:"root",factory:function zJ(){return{diameter:LA}}}),LA=100;let _l=(()=>{class t extends VJ{constructor(e,i,o){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=LA,this._noopAnimations="NoopAnimations"===i&&!!o&&!o._forceAnimations,o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,ki(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=ki(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=ki(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(ti,8),g(jJ))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,o){if(1&i&&xt(LJ,5),2&i){let r;Oe(r=Ae())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(i,o){2&i&&(et("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===o.mode?o.value:null)("mode",o.mode),rn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),Xe("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===o.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[fe],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,o){if(1&i&&(_(0,BJ,2,8,"ng-template",null,0,Zo),d(2,"div",1,2),di(),d(4,"svg",3),D(5,"circle",4),l()(),Pr(),d(6,"div",5)(7,"div",6)(8,"div",7),zn(9,8),l(),d(10,"div",9),zn(11,8),l(),d(12,"div",10),zn(13,8),l()()()),2&i){const r=At(1);m(4),et("viewBox",o._viewBox()),m(1),rn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),et("r",o._circleRadius()),m(4),f("ngTemplateOutlet",r),m(2),f("ngTemplateOutlet",r),m(2),f("ngTemplateOutlet",r)}},dependencies:[um],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return t})(),UJ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt]})}return t})();function $J(t,n){if(1&t&&(d(0,"mat-option",17),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function GJ(t,n){1&t&&D(0,"mat-spinner",18),2&t&&f("diameter",25)}function WJ(t,n){1&t&&(d(0,"mat-icon",19),h(1,"check_circle"),l())}function qJ(t,n){1&t&&(d(0,"mat-icon",20),h(1,"cancel"),l())}function KJ(t,n){if(1&t&&(d(0,"mat-option",17),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}let ZJ=(()=>{class t{constructor(e,i,o){this.data=e,this.router=i,this.clickEvent=o,this.connectForm=new ni({dbEngine:new Q("mysqldump",[me.required]),filePath:new Q("",[me.required]),dialect:new Q("",[me.required])}),this.dbEngineList=[{value:"mysqldump",displayName:"MySQL"},{value:"pg_dump",displayName:"PostgreSQL"}],this.dialect=AA,this.fileToUpload=null,this.uploadStart=!1,this.uploadSuccess=!1,this.uploadFail=!1,this.getSchemaRequest=null}ngOnInit(){this.clickEvent.cancelDbLoad.subscribe({next:e=>{e&&this.getSchemaRequest&&this.getSchemaRequest.unsubscribe()}})}convertFromDump(){this.clickEvent.openDatabaseLoader("dump",""),this.data.resetStore(),localStorage.clear();const{dbEngine:e,filePath:i,dialect:o}=this.connectForm.value,s={Config:{Driver:e,Path:i},SpannerDetails:{Dialect:o}};this.getSchemaRequest=this.data.getSchemaConversionFromDump(s),this.data.conv.subscribe(c=>{localStorage.setItem($i.Config,JSON.stringify(s)),localStorage.setItem($i.Type,An.DumpFile),localStorage.setItem($i.SourceDbName,mf(e)),this.clickEvent.closeDatabaseLoader(),this.router.navigate(["/workspace"])})}handleFileInput(e){let i=e.target.files;i&&(this.fileToUpload=i.item(0),this.connectForm.patchValue({filePath:this.fileToUpload?.name}),this.fileToUpload&&this.uploadFile())}uploadFile(){if(this.fileToUpload){this.uploadStart=!0,this.uploadFail=!1,this.uploadSuccess=!1;const e=new FormData;e.append("myFile",this.fileToUpload,this.fileToUpload?.name),this.data.uploadFile(e).subscribe(i=>{""==i?this.uploadSuccess=!0:this.uploadFail=!0})}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-load-dump"]],decls:36,vars:8,consts:[[1,"connect-load-database-container"],[1,"form-container"],[3,"formGroup","ngSubmit"],[1,"primary-header"],["appearance","outline",1,"full-width"],["matSelect","","name","dbEngine","formControlName","dbEngine","appearance","outline"],[3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","File path","name","filePath","type","text","formControlName","filePath","readonly","",3,"click"],["matSuffix","",3,"diameter",4,"ngIf"],["matSuffix","","class","success",4,"ngIf"],["matSuffix","","class","danger",4,"ngIf"],["mat-stroked-button","","type","button",3,"click"],["hidden","","type","file",3,"change"],["file",""],["matSelect","","name","dialect","formControlName","dialect","appearance","outline"],["mat-raised-button","","type","submit","color","primary",3,"disabled"],["mat-raised-button","",3,"routerLink"],[3,"value"],["matSuffix","",3,"diameter"],["matSuffix","",1,"success"],["matSuffix","",1,"danger"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"div",1)(2,"form",2),L("ngSubmit",function(){return o.convertFromDump()}),d(3,"h3",3),h(4,"Load from database dump"),l(),d(5,"mat-form-field",4)(6,"mat-label"),h(7,"Database Engine"),l(),d(8,"mat-select",5),_(9,$J,2,2,"mat-option",6),l()(),d(10,"h3",3),h(11,"Dump File"),l(),d(12,"mat-form-field",4)(13,"mat-label"),h(14,"File path"),l(),d(15,"input",7),L("click",function(){return ae(r),se(At(22).click())}),l(),_(16,GJ,1,1,"mat-spinner",8),_(17,WJ,2,0,"mat-icon",9),_(18,qJ,2,0,"mat-icon",10),l(),d(19,"button",11),L("click",function(){return ae(r),se(At(22).click())}),h(20,"Upload File"),l(),d(21,"input",12,13),L("change",function(s){return o.handleFileInput(s)}),l(),D(23,"br"),d(24,"h3",3),h(25,"Spanner Dialect"),l(),d(26,"mat-form-field",4)(27,"mat-label"),h(28,"Select a spanner dialect"),l(),d(29,"mat-select",14),_(30,KJ,2,2,"mat-option",6),l()(),D(31,"br"),d(32,"button",15),h(33," Convert "),l(),d(34,"button",16),h(35,"Cancel"),l()()()()}2&i&&(m(2),f("formGroup",o.connectForm),m(7),f("ngForOf",o.dbEngineList),m(7),f("ngIf",o.uploadStart&&!o.uploadSuccess&&!o.uploadFail),m(1),f("ngIf",o.uploadStart&&o.uploadSuccess),m(1),f("ngIf",o.uploadStart&&o.uploadFail),m(12),f("ngForOf",o.dialect),m(2),f("disabled",!o.connectForm.valid||!o.uploadSuccess),m(2),f("routerLink","/"))},dependencies:[an,Et,Cr,Kt,_i,Oi,Ii,vy,sn,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,_l]})}return t})();function YJ(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function QJ(t,n){1&t&&D(0,"mat-spinner",17),2&t&&f("diameter",25)}function XJ(t,n){1&t&&(d(0,"mat-icon",18),h(1,"check_circle"),l())}function JJ(t,n){1&t&&(d(0,"mat-icon",19),h(1,"cancel"),l())}let eee=(()=>{class t{constructor(e,i,o){this.data=e,this.router=i,this.clickEvent=o,this.connectForm=new ni({dbEngine:new Q("mysql",[me.required]),filePath:new Q("",[me.required])}),this.dbEngineList=[{value:"mysql",displayName:"MySQL"},{value:"sqlserver",displayName:"SQL Server"},{value:"oracle",displayName:"Oracle"},{value:"postgres",displayName:"PostgreSQL"}],this.fileToUpload=null,this.uploadStart=!1,this.uploadSuccess=!1,this.uploadFail=!1,this.getSchemaRequest=null}ngOnInit(){this.clickEvent.cancelDbLoad.subscribe({next:e=>{e&&this.getSchemaRequest&&this.getSchemaRequest.unsubscribe()}})}convertFromSessionFile(){this.clickEvent.openDatabaseLoader("session",""),this.data.resetStore(),localStorage.clear();const{dbEngine:e,filePath:i}=this.connectForm.value,o={driver:e,filePath:i};this.getSchemaRequest=this.data.getSchemaConversionFromSession(o),this.data.conv.subscribe(r=>{localStorage.setItem($i.Config,JSON.stringify(o)),localStorage.setItem($i.Type,An.SessionFile),localStorage.setItem($i.SourceDbName,mf(e)),this.clickEvent.closeDatabaseLoader(),this.router.navigate(["/workspace"])})}handleFileInput(e){let i=e.target.files;i&&(this.fileToUpload=i.item(0),this.connectForm.patchValue({filePath:this.fileToUpload?.name}),this.fileToUpload&&this.uploadFile())}uploadFile(){if(this.fileToUpload){this.uploadStart=!0,this.uploadFail=!1,this.uploadSuccess=!1;const e=new FormData;e.append("myFile",this.fileToUpload,this.fileToUpload?.name),this.data.uploadFile(e).subscribe(i=>{""==i?this.uploadSuccess=!0:this.uploadFail=!0})}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-load-session"]],decls:28,vars:7,consts:[[1,"connect-load-database-container"],[1,"form-container"],[3,"formGroup","ngSubmit"],[1,"primary-header"],["appearance","outline",1,"full-width"],["matSelect","","name","dbEngine","formControlName","dbEngine","appearance","outline"],[3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","File path","name","filePath","type","text","formControlName","filePath","readonly","",3,"click"],["matSuffix","",3,"diameter",4,"ngIf"],["matSuffix","","class","success",4,"ngIf"],["matSuffix","","class","danger",4,"ngIf"],["mat-stroked-button","","type","button",3,"click"],["hidden","","type","file",3,"change"],["file",""],["mat-raised-button","","type","submit","color","primary",3,"disabled"],["mat-raised-button","",3,"routerLink"],[3,"value"],["matSuffix","",3,"diameter"],["matSuffix","",1,"success"],["matSuffix","",1,"danger"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"div",1)(2,"form",2),L("ngSubmit",function(){return o.convertFromSessionFile()}),d(3,"h3",3),h(4,"Load from session"),l(),d(5,"mat-form-field",4)(6,"mat-label"),h(7,"Database Engine"),l(),d(8,"mat-select",5),_(9,YJ,2,2,"mat-option",6),l()(),d(10,"h3",3),h(11,"Session File"),l(),d(12,"mat-form-field",4)(13,"mat-label"),h(14,"File path"),l(),d(15,"input",7),L("click",function(){return ae(r),se(At(22).click())}),l(),_(16,QJ,1,1,"mat-spinner",8),_(17,XJ,2,0,"mat-icon",9),_(18,JJ,2,0,"mat-icon",10),l(),d(19,"button",11),L("click",function(){return ae(r),se(At(22).click())}),h(20,"Upload File"),l(),d(21,"input",12,13),L("change",function(s){return o.handleFileInput(s)}),l(),D(23,"br"),d(24,"button",14),h(25," Convert "),l(),d(26,"button",15),h(27,"Cancel"),l()()()()}2&i&&(m(2),f("formGroup",o.connectForm),m(7),f("ngForOf",o.dbEngineList),m(7),f("ngIf",o.uploadStart&&!o.uploadSuccess&&!o.uploadFail),m(1),f("ngIf",o.uploadStart&&o.uploadSuccess),m(1),f("ngIf",o.uploadStart&&o.uploadFail),m(6),f("disabled",!o.connectForm.valid||!o.uploadSuccess),m(2),f("routerLink","/"))},dependencies:[an,Et,Cr,Kt,_i,Oi,Ii,vy,sn,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,_l]})}return t})();function tee(t,n){if(1&t&&(d(0,"h3"),h(1),l()),2&t){const e=w();m(1),Se("Reading schema for ",e.databaseName," database. Please wait...")}}function iee(t,n){1&t&&(d(0,"h4"),h(1,"Tip: Spanner migration tool will read the information schema at source and automatically map it to Cloud Spanner"),l())}function nee(t,n){if(1&t&&(d(0,"h3"),h(1),l()),2&t){const e=w();m(1),Se("Testing connection to ",e.databaseName," database...")}}function oee(t,n){1&t&&(d(0,"h4"),h(1,"Tip: Spanner migration tool is attempting to ping the source database, it will retry a couple of times before timing out."),l())}function ree(t,n){1&t&&(d(0,"h3"),h(1,"Loading the dump file..."),l())}function aee(t,n){1&t&&(d(0,"h3"),h(1,"Loading the session file..."),l())}let see=(()=>{class t{constructor(e,i){this.router=e,this.clickEvent=i,this.loaderType="",this.databaseName="",this.timeElapsed=0,this.timeElapsedInterval=setInterval(()=>{this.timeElapsed+=1},1e3)}ngOnInit(){this.timeElapsed=0}ngOnDestroy(){clearInterval(this.timeElapsedInterval)}cancelDbLoad(){this.clickEvent.cancelDbLoading(),this.clickEvent.closeDatabaseLoader(),this.router.navigate(["/"])}static#e=this.\u0275fac=function(i){return new(i||t)(g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-database-loader"]],inputs:{loaderType:"loaderType",databaseName:"databaseName"},decls:12,vars:7,consts:[[1,"container","content-height"],["src","../../../assets/gifs/database-loader.gif","alt","database-loader-gif",1,"loader-gif"],[4,"ngIf"],["mat-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0),D(1,"img",1),_(2,tee,2,1,"h3",2),_(3,iee,2,0,"h4",2),_(4,nee,2,1,"h3",2),_(5,oee,2,0,"h4",2),_(6,ree,2,0,"h3",2),_(7,aee,2,0,"h3",2),d(8,"h5"),h(9),l(),d(10,"button",3),L("click",function(){return o.cancelDbLoad()}),h(11,"Cancel"),l()()),2&i&&(m(2),f("ngIf","direct"===o.loaderType),m(1),f("ngIf","direct"===o.loaderType),m(1),f("ngIf","test-connection"===o.loaderType),m(1),f("ngIf","test-connection"===o.loaderType),m(1),f("ngIf","dump"===o.loaderType),m(1),f("ngIf","session"===o.loaderType),m(2),Se("",o.timeElapsed," seconds have elapsed"))},dependencies:[Et,Kt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}.container[_ngcontent-%COMP%] .loader-gif[_ngcontent-%COMP%]{width:10rem;height:10rem}"]})}return t})();function cee(t,n){1&t&&(d(0,"div"),D(1,"router-outlet"),l())}function lee(t,n){if(1&t&&(d(0,"div"),D(1,"app-database-loader",1),l()),2&t){const e=w();m(1),f("loaderType",e.loaderType)("databaseName",e.databaseName)}}let dee=(()=>{class t{constructor(e){this.clickevent=e,this.isDatabaseLoading=!1,this.loaderType="",this.databaseName=""}ngOnInit(){this.clickevent.databaseLoader.subscribe(e=>{this.loaderType=e.type,this.databaseName=e.databaseName,this.isDatabaseLoading=""!==this.loaderType})}static#e=this.\u0275fac=function(i){return new(i||t)(g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-source-selection"]],decls:2,vars:2,consts:[[4,"ngIf"],[3,"loaderType","databaseName"]],template:function(i,o){1&i&&(_(0,cee,2,0,"div",0),_(1,lee,2,2,"div",0)),2&i&&(f("ngIf",!o.isDatabaseLoading),m(1),f("ngIf",o.isDatabaseLoading))},dependencies:[Et,rf,see],styles:[".mat-card-class[_ngcontent-%COMP%]{padding:0 20px}"]})}return t})();var BA=Pe(965);function uee(t,n){if(1&t){const e=_e();d(0,"mat-chip-row",16),L("removed",function(){const r=ae(e).$implicit;return se(w().removeFilter(r))}),h(1),d(2,"button",17)(3,"mat-icon"),h(4,"cancel"),l()()()}if(2&t){const e=n.$implicit;m(1),Se(" ",e," ")}}function hee(t,n){if(1&t){const e=_e();d(0,"mat-option",18),L("click",function(){const r=ae(e).$implicit;return se(w().addFilter(r))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e),m(1),Se(" ",e," ")}}function mee(t,n){1&t&&(d(0,"mat-icon",31),h(1," error "),l())}function pee(t,n){1&t&&(d(0,"mat-icon",32),h(1," warning "),l())}function fee(t,n){1&t&&(d(0,"mat-icon",33),h(1," wb_incandescent "),l())}function gee(t,n){1&t&&(d(0,"mat-icon",34),h(1," check_circle "),l())}function _ee(t,n){if(1&t){const e=_e();d(0,"button",35),L("click",function(){ae(e);const o=w().$implicit;return se(w(2).toggleRead(o))}),d(1,"span"),h(2,"Mark as read"),l()()}}function bee(t,n){if(1&t){const e=_e();d(0,"button",35),L("click",function(){ae(e);const o=w().$implicit;return se(w(2).toggleRead(o))}),d(1,"span"),h(2,"Mark as unread"),l()()}}function vee(t,n){if(1&t&&(d(0,"section",21)(1,"div",2)(2,"div",3),_(3,mee,2,0,"mat-icon",22),_(4,pee,2,0,"mat-icon",23),_(5,fee,2,0,"mat-icon",24),_(6,gee,2,0,"mat-icon",25),l(),d(7,"div",26),h(8),l(),d(9,"div",6)(10,"mat-icon",27),h(11,"more_vert"),l(),d(12,"mat-menu",28,29),_(14,_ee,3,0,"button",30),_(15,bee,3,0,"button",30),l()()()()),2&t){const e=n.$implicit,i=At(13);m(3),f("ngIf","error"==e.type),m(1),f("ngIf","warning"==e.type),m(1),f("ngIf","suggestion"==e.type),m(1),f("ngIf","note"==e.type),m(2),Re(e.content),m(2),f("matMenuTriggerFor",i),m(4),f("ngIf",!e.isRead),m(1),f("ngIf",e.isRead)}}function yee(t,n){if(1&t&&(d(0,"div",19),_(1,vee,16,8,"section",20),l()),2&t){const e=w();m(1),f("ngForOf",e.filteredSummaryRows)}}function xee(t,n){1&t&&(d(0,"div",36)(1,"div",37),di(),d(2,"svg",38),D(3,"path",39),l()(),Pr(),d(4,"div",40),h(5," Woohoo! No issues or suggestions"),D(6,"br"),h(7,"found. "),l()())}let wee=(()=>{class t{constructor(e,i){this.data=e,this.clickEvent=i,this.changeIssuesLabel=new Ne,this.summaryRows=[],this.summary=new Map,this.filteredSummaryRows=[],this.separatorKeysCodes=[],this.summaryCount=0,this.totalNoteCount=0,this.totalWarningCount=0,this.totalSuggestionCount=0,this.totalErrorCount=0,this.filterInput=new Q,this.options=["read","unread","warning","suggestion","note","error"],this.obsFilteredOptions=new Ye,this.searchFilters=["unread","warning","note","suggestion","error"],this.currentObject=null}ngOnInit(){this.data.summary.subscribe({next:e=>{if(this.summary=e,this.currentObject){let i=this.currentObject.id;"indexName"==this.currentObject.type&&(i=this.currentObject.parentId);let o=this.summary.get(i);o?(this.summaryRows=[],this.initiateSummaryCollection(o),this.applyFilters(),this.summaryCount=o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount,this.changeIssuesLabel.emit(o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount)):(this.summaryCount=0,this.changeIssuesLabel.emit(0))}else this.initialiseSummaryCollectionForAllTables(this.summary),this.summaryCount=this.totalNoteCount+this.totalErrorCount+this.totalSuggestionCount+this.totalWarningCount,this.changeIssuesLabel.emit(this.summaryCount)}}),this.registerAutoCompleteChange()}initialiseSummaryCollectionForAllTables(e){this.summaryRows=[],this.totalErrorCount=0,this.totalNoteCount=0,this.totalSuggestionCount=0,this.totalWarningCount=0;for(const i of e.values())this.initiateSummaryCollection(i);this.applyFilters()}ngOnChanges(e){if(this.currentObject=e?.currentObject?.currentValue||this.currentObject,this.summaryRows=[],this.currentObject){let i=this.currentObject.id;"indexName"==this.currentObject.type&&(i=this.currentObject.parentId);let o=this.summary.get(i);o?(this.summaryRows=[],this.initiateSummaryCollection(o),this.applyFilters(),this.summaryCount=o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount,this.changeIssuesLabel.emit(o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount)):(this.summaryCount=0,this.changeIssuesLabel.emit(0))}else this.summaryCount=0,this.changeIssuesLabel.emit(0)}initiateSummaryCollection(e){this.totalErrorCount+=e.ErrorsCount,this.totalNoteCount+=e.NotesCount,this.totalWarningCount+=e.WarningsCount,this.totalSuggestionCount+=e.SuggestionsCount,e.Errors.forEach(i=>{this.summaryRows.push({type:"error",content:i.description,isRead:!1})}),e.Warnings.forEach(i=>{this.summaryRows.push({type:"warning",content:i.description,isRead:!1})}),e.Suggestions.forEach(i=>{this.summaryRows.push({type:"suggestion",content:i.description,isRead:!1})}),e.Notes.forEach(i=>{this.summaryRows.push({type:"note",content:i.description,isRead:!1})})}applyFilters(){let e=[],i=[];this.searchFilters.includes("read")&&i.push(o=>o.isRead),this.searchFilters.includes("unread")&&i.push(o=>!o.isRead),this.searchFilters.includes("warning")&&e.push(o=>"warning"==o.type),this.searchFilters.includes("note")&&e.push(o=>"note"==o.type),this.searchFilters.includes("suggestion")&&e.push(o=>"suggestion"==o.type),this.searchFilters.includes("error")&&e.push(o=>"error"==o.type),this.filteredSummaryRows=this.summaryRows.filter(o=>(!i.length||i.some(r=>r(o)))&&(!e.length||e.some(r=>r(o))))}addFilter(e){e&&!this.searchFilters.includes(e)&&this.searchFilters.push(e),this.applyFilters(),this.registerAutoCompleteChange()}removeFilter(e){const i=this.searchFilters.indexOf(e);i>=0&&this.searchFilters.splice(i,1),this.applyFilters()}toggleRead(e){e.isRead=!e.isRead,this.applyFilters()}registerAutoCompleteChange(){this.obsFilteredOptions=this.filterInput.valueChanges.pipe(Hi(""),Ge(e=>this.autoCompleteOnChangeFilter(e)))}autoCompleteOnChangeFilter(e){return this.options.filter(i=>i.toLowerCase().includes(e))}spannerTab(){this.clickEvent.setTabToSpanner()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-summary"]],inputs:{currentObject:"currentObject"},outputs:{changeIssuesLabel:"changeIssuesLabel"},features:[ai],decls:29,vars:11,consts:[[1,"container"],[1,"filter"],[1,"columns"],[1,"left"],[1,"material-icons","filter-icon"],[1,"filter-text"],[1,"right"],[1,"chip-list"],["chipGrid",""],["class","primary",3,"removed",4,"ngFor","ngForOf"],["placeholder","New Filter...",3,"formControl","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matAutocomplete"],["auto","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[1,"header"],["class","content",4,"ngIf"],["class","no-issue-container",4,"ngIf"],[1,"primary",3,"removed"],["matChipRemove",""],[3,"value","click"],[1,"content"],["class","summary-row",4,"ngFor","ngForOf"],[1,"summary-row"],["matTooltip","Error: Please resolve them to proceed with the migration","matTooltipPosition","above","class","danger",4,"ngIf"],["matTooltip","Warning : Changes made because of differences in source and spanner capabilities.","matTooltipPosition","above","class","warning",4,"ngIf"],["matTooltip","Suggestion : We highly recommend you make these changes or else it will impact your DB performance.","matTooltipPosition","above","class","suggestion",4,"ngIf"],["matTooltip","Note : This is informational and you dont need to do anything.","matTooltipPosition","above","class","success",4,"ngIf"],[1,"middle"],[3,"matMenuTriggerFor"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["matTooltip","Error: Please resolve them to proceed with the migration","matTooltipPosition","above",1,"danger"],["matTooltip","Warning : Changes made because of differences in source and spanner capabilities.","matTooltipPosition","above",1,"warning"],["matTooltip","Suggestion : We highly recommend you make these changes or else it will impact your DB performance.","matTooltipPosition","above",1,"suggestion"],["matTooltip","Note : This is informational and you dont need to do anything.","matTooltipPosition","above",1,"success"],["mat-menu-item","",3,"click"],[1,"no-issue-container"],[1,"no-issue-icon-container"],["width","36","height","36","viewBox","0 0 24 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.8332 0.69873C16.0051 7.45842 16.2492 9.44782 10.4672 10.2012C16.1511 11.1242 16.2329 13.2059 16.8332 19.7037C17.6237 13.1681 17.4697 11.2106 23.1986 10.2012C17.4247 9.45963 17.6194 7.4505 16.8332 0.69873ZM4.23739 0.872955C3.79064 4.52078 3.92238 5.59467 0.802246 6.00069C3.86944 6.49885 3.91349 7.62218 4.23739 11.1284C4.66397 7.60153 4.581 6.54497 7.67271 6.00069C4.55696 5.60052 4.66178 4.51623 4.23739 0.872955ZM7.36426 11.1105C7.05096 13.6683 7.14331 14.4212 4.95554 14.7061C7.10612 15.0553 7.13705 15.8431 7.36426 18.3017C7.66333 15.8288 7.60521 15.088 9.77298 14.7061C7.58818 14.4255 7.66177 13.6653 7.36426 11.1105Z","fill","#3367D6"],[1,"no-issue-message"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"span",4),h(6,"filter_list"),l(),d(7,"span",5),h(8,"Filter"),l()(),d(9,"div",6)(10,"mat-form-field",7)(11,"mat-chip-grid",null,8),_(13,uee,5,1,"mat-chip-row",9),l(),D(14,"input",10),d(15,"mat-autocomplete",null,11),_(17,hee,2,2,"mat-option",12),va(18,"async"),l()()()()(),d(19,"div",13)(20,"div",2)(21,"div",3)(22,"span"),h(23," Status "),l()(),d(24,"div",6)(25,"span"),h(26," Summary "),l()()()(),_(27,yee,2,1,"div",14),_(28,xee,8,0,"div",15),l()()),2&i){const r=At(12),a=At(16);m(13),f("ngForOf",o.searchFilters),m(1),f("formControl",o.filterInput)("matChipInputFor",r)("matChipInputSeparatorKeyCodes",o.separatorKeysCodes)("matChipInputAddOnBlur",!1)("matAutocomplete",a),m(3),f("ngForOf",ya(18,9,o.obsFilteredOptions)),m(10),f("ngIf",0!==o.summaryCount),m(1),f("ngIf",0===o.summaryCount)}},dependencies:[an,Et,_i,Oi,_n,Mi,vi,Zc,el,Xr,tl,RE,FE,OE,$y,On,JZ,DO,tM],styles:[".container[_ngcontent-%COMP%]{height:calc(100vh - 271px);position:relative;overflow-y:auto;background-color:#fff}.container[_ngcontent-%COMP%] .no-object-container[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.container[_ngcontent-%COMP%] .no-object-container[_ngcontent-%COMP%] .no-object-icon-container[_ngcontent-%COMP%]{padding:10px;background-color:#3367d61f;border-radius:3px;margin:20px}.container[_ngcontent-%COMP%] .no-object-container[_ngcontent-%COMP%] .no-object-message[_ngcontent-%COMP%]{width:80%;max-width:500px;text-align:center}.container[_ngcontent-%COMP%] .no-issue-container[_ngcontent-%COMP%]{width:100%;position:absolute;top:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.container[_ngcontent-%COMP%] .no-issue-container[_ngcontent-%COMP%] .no-issue-icon-container[_ngcontent-%COMP%]{padding:10px;background-color:#3367d61f;border-radius:3px;margin:20px}.container[_ngcontent-%COMP%] .no-issue-container[_ngcontent-%COMP%] .no-issue-message[_ngcontent-%COMP%]{width:80%;max-width:500px;text-align:center}h3[_ngcontent-%COMP%]{margin-bottom:0;padding-left:15px}.filter[_ngcontent-%COMP%]{display:flex;flex:1;min-height:65px;padding:0 15px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{order:1;position:relative;padding-top:20px;width:100px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .filter-icon[_ngcontent-%COMP%]{position:absolute;font-size:20px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .filter-text[_ngcontent-%COMP%]{position:absolute;margin-left:30px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{order:2;width:100%}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%;min-height:22px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .mat-mdc-chip-input[_ngcontent-%COMP%]{height:24px;flex:0}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .primary[_ngcontent-%COMP%]{background-color:#3f51b5;color:#fff}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .primary[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;opacity:.4}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-underline{display:none}.filter[_ngcontent-%COMP%] .mat-mdc-chip[_ngcontent-%COMP%]{min-height:24px;font-weight:lighter}.header[_ngcontent-%COMP%]{display:flex;flex:1;padding:5px 0;background-color:#f5f5f5;text-align:center}.header[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1}.header[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:60px;order:1}.header[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{flex:1;order:2}.summary-row[_ngcontent-%COMP%]{display:flex;flex:1;padding:10px 0;border-bottom:1px solid #ccc}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:60px;order:1;text-align:center;padding-top:5px}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .middle[_ngcontent-%COMP%]{flex:1;order:2}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:30px;order:3;cursor:pointer}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:18px}.chip-list[_ngcontent-%COMP%]{width:100%}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-color: #fff}"]})}return t})();function Cee(t,n){if(1&t&&(d(0,"h2"),h(1),l()),2&t){const e=w();m(1),Se("Skip ",e.eligibleTables.length," table(s)?")}}function Dee(t,n){if(1&t&&(d(0,"h2"),h(1),l()),2&t){const e=w();m(1),Se("Restore ",e.eligibleTables.length," table(s) and all associated indexes?")}}function kee(t,n){1&t&&(d(0,"span",9),h(1," Confirm skip by typing the following below: "),d(2,"b"),h(3,"SKIP"),l(),D(4,"br"),l())}function See(t,n){1&t&&(d(0,"span",9),h(1," Confirm restoration by typing the following below: "),d(2,"b"),h(3,"RESTORE"),l(),D(4,"br"),l())}function Mee(t,n){if(1&t&&(d(0,"div")(1,"b"),h(2,"Note:"),l(),h(3),D(4,"br"),d(5,"b"),h(6,"Already skipped tables:"),l(),h(7),l()),2&t){const e=w();m(3),Ic(" You selected ",e.data.tables.length," tables. ",e.ineligibleTables.length," table(s) will not be skipped since they are already skipped."),m(4),Se(" ",e.ineligibleTables," ")}}function Tee(t,n){if(1&t&&(d(0,"div")(1,"b"),h(2,"Note:"),l(),h(3),D(4,"br"),d(5,"b"),h(6,"Already active tables:"),l(),h(7),l()),2&t){const e=w();m(3),Ic(" You selected ",e.data.tables.length," tables. ",e.ineligibleTables.length," table(s) will not be restored since they are already active."),m(4),Se(" ",e.ineligibleTables," ")}}let VA=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i,this.eligibleTables=[],this.ineligibleTables=[];let o="";"SKIP"==this.data.operation?(o="SKIP",this.data.tables.forEach(r=>{r.isDeleted?this.ineligibleTables.push(r.TableName):this.eligibleTables.push(r.TableName)})):(o="RESTORE",this.data.tables.forEach(r=>{r.isDeleted?this.eligibleTables.push(r.TableName):this.ineligibleTables.push(r.TableName)})),this.confirmationInput=new Q("",[me.required,me.pattern(o)]),i.disableClose=!0}confirm(){this.dialogRef.close(this.data.operation)}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-bulk-drop-restore-table-dialog"]],decls:19,vars:8,consts:[["mat-dialog-content",""],[4,"ngIf"],[1,"form-container"],["class","form-custom-label",4,"ngIf"],["appearance","outline"],["matInput","","type","text",3,"formControl"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[1,"form-custom-label"]],template:function(i,o){1&i&&(d(0,"div",0),_(1,Cee,2,1,"h2",1),_(2,Dee,2,1,"h2",1),d(3,"mat-dialog-content")(4,"div",2)(5,"form"),_(6,kee,5,0,"span",3),_(7,See,5,0,"span",3),d(8,"mat-form-field",4)(9,"mat-label"),h(10,"Confirm"),l(),D(11,"input",5),l(),_(12,Mee,8,3,"div",1),_(13,Tee,8,3,"div",1),l()()(),d(14,"div",6)(15,"button",7),h(16,"Cancel"),l(),d(17,"button",8),L("click",function(){return o.confirm()}),h(18," Confirm "),l()()()),2&i&&(m(1),f("ngIf","SKIP"==o.data.operation),m(1),f("ngIf","RESTORE"==o.data.operation),m(4),f("ngIf","SKIP"==o.data.operation),m(1),f("ngIf","RESTORE"==o.data.operation),m(4),f("formControl",o.confirmationInput),m(1),f("ngIf","SKIP"==o.data.operation&&0!=o.ineligibleTables.length),m(1),f("ngIf","RESTORE"==o.data.operation&&0!=o.ineligibleTables.length),m(4),f("disabled",!o.confirmationInput.valid))},dependencies:[Et,Kt,Oi,Ii,sn,Tn,Mi,vi,Ui,Zc,wo,vr,yr,ja],styles:[".alert-container[_ngcontent-%COMP%]{padding:.5rem;display:flex;align-items:center;margin-bottom:1rem;background-color:#f8f4f4}.alert-container[_ngcontent-%COMP%] mat-mdc-icon[_ngcontent-%COMP%]{color:#f3b300;margin-right:20px}.form-container[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}"]})}return t})();const jA=function(t){return{"blue-font-color":t}};function Iee(t,n){if(1&t&&(d(0,"span",24),h(1),l()),2&t){const e=w();f("ngClass",ii(2,jA,"source"===e.selectedTab)),m(1),Se(" ",e.srcDbName.toUpperCase()," ")}}function Eee(t,n){1&t&&(d(0,"th",25),h(1,"Status"),l())}function Oee(t,n){1&t&&(di(),d(0,"svg",30),D(1,"path",31),l())}function Aee(t,n){1&t&&(d(0,"mat-icon",32),h(1," work "),l())}function Pee(t,n){1&t&&(d(0,"mat-icon",33),h(1," work_history "),l())}function Ree(t,n){if(1&t&&(d(0,"td",26),_(1,Oee,2,0,"svg",27),_(2,Aee,2,0,"mat-icon",28),_(3,Pee,2,0,"mat-icon",29),l()),2&t){const e=n.$implicit;m(1),f("ngIf","EXCELLENT"===e.status||"NONE"===e.status),m(1),f("ngIf","OK"===e.status||"GOOD"===e.status),m(1),f("ngIf","POOR"===e.status)}}function Fee(t,n){1&t&&(d(0,"mat-icon",37),h(1,"arrow_upward"),l())}function Nee(t,n){1&t&&(d(0,"mat-icon",38),h(1,"arrow_upward"),l())}function Lee(t,n){1&t&&(d(0,"mat-icon",38),h(1,"arrow_downward"),l())}function Bee(t,n){if(1&t){const e=_e();d(0,"th",34),L("click",function(){return ae(e),se(w().srcTableSort())}),d(1,"div")(2,"span"),h(3," Object Name "),l(),_(4,Fee,2,0,"mat-icon",35),_(5,Nee,2,0,"mat-icon",36),_(6,Lee,2,0,"mat-icon",36),l()()}if(2&t){const e=w();m(4),f("ngIf",""===e.srcSortOrder),m(1),f("ngIf","asc"===e.srcSortOrder),m(1),f("ngIf","desc"===e.srcSortOrder)}}function Vee(t,n){1&t&&(di(),d(0,"svg",47),D(1,"path",48),l())}function jee(t,n){1&t&&(di(),d(0,"svg",49),D(1,"path",50),l())}function zee(t,n){1&t&&(di(),d(0,"svg",51),D(1,"path",52),l())}function Hee(t,n){1&t&&(di(),d(0,"svg",53),D(1,"path",54),l())}function Uee(t,n){if(1&t&&(d(0,"span",55)(1,"mat-icon",56),h(2,"more_vert"),l(),d(3,"mat-menu",null,57)(5,"button",58)(6,"span"),h(7,"Add Index"),l()()()()),2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}function $ee(t,n){if(1&t){const e=_e();d(0,"td",39)(1,"button",40),L("click",function(){const r=ae(e).$implicit;return se(w().srcTreeControl.toggle(r))}),_(2,Vee,2,0,"svg",41),_(3,jee,2,0,"ng-template",null,42,Zo),l(),d(5,"span",43),L("click",function(){const r=ae(e).$implicit;return se(w().objectSelected(r))}),d(6,"span"),_(7,zee,2,0,"svg",44),_(8,Hee,2,0,"svg",45),d(9,"span"),h(10),l()(),_(11,Uee,8,1,"span",46),l()()}if(2&t){const e=n.$implicit,i=At(4),o=w();m(1),rn("visibility",e.expandable?"":"hidden")("margin-left",10*e.level,"px"),m(1),f("ngIf",o.srcTreeControl.isExpanded(e))("ngIfElse",i),m(5),f("ngIf",o.isTableNode(e.type)),m(1),f("ngIf",o.isIndexNode(e.type)),m(2),Re(e.name),m(1),f("ngIf",o.isIndexNode(e.type)&&e.isSpannerNode)}}function Gee(t,n){1&t&&D(0,"tr",59)}const zA=function(t){return{"selected-row":t}};function Wee(t,n){if(1&t&&D(0,"tr",60),2&t){const e=n.$implicit,i=w();f("ngClass",ii(1,zA,i.shouldHighlight(e)))}}function qee(t,n){if(1&t&&(d(0,"span",24),h(1," SPANNER DRAFT "),l()),2&t){const e=w();f("ngClass",ii(1,jA,"spanner"===e.selectedTab))}}function Kee(t,n){1&t&&(d(0,"th",25),h(1,"Status"),l())}function Zee(t,n){1&t&&(di(),d(0,"svg",30),D(1,"path",31),l())}function Yee(t,n){1&t&&(d(0,"mat-icon",32),h(1," work "),l())}function Qee(t,n){1&t&&(d(0,"mat-icon",33),h(1," work_history "),l())}function Xee(t,n){1&t&&(d(0,"mat-icon",62),h(1," delete "),l())}function Jee(t,n){if(1&t&&(d(0,"td",26),_(1,Zee,2,0,"svg",27),_(2,Yee,2,0,"mat-icon",28),_(3,Qee,2,0,"mat-icon",29),_(4,Xee,2,0,"mat-icon",61),l()),2&t){const e=n.$implicit;m(1),f("ngIf","EXCELLENT"===e.status||"NONE"===e.status),m(1),f("ngIf","OK"===e.status||"GOOD"===e.status),m(1),f("ngIf","POOR"===e.status),m(1),f("ngIf","DARK"===e.status||1==e.isDeleted)}}function ete(t,n){1&t&&(d(0,"mat-icon",64),h(1,"arrow_upward"),l())}function tte(t,n){1&t&&(d(0,"mat-icon",38),h(1,"arrow_upward"),l())}function ite(t,n){1&t&&(d(0,"mat-icon",38),h(1,"arrow_downward"),l())}function nte(t,n){if(1&t){const e=_e();d(0,"th",34),L("click",function(){return ae(e),se(w().spannerTableSort())}),d(1,"div")(2,"span"),h(3," Object Name "),l(),_(4,ete,2,0,"mat-icon",63),_(5,tte,2,0,"mat-icon",36),_(6,ite,2,0,"mat-icon",36),l()()}if(2&t){const e=w();m(4),f("ngIf",""===e.spannerSortOrder),m(1),f("ngIf","asc"===e.spannerSortOrder),m(1),f("ngIf","desc"===e.spannerSortOrder)}}function ote(t,n){if(1&t){const e=_e();d(0,"mat-checkbox",69),L("change",function(){ae(e);const o=w().$implicit;return se(w().selectionToggle(o))}),l()}if(2&t){const e=w().$implicit;f("checked",w().checklistSelection.isSelected(e))}}function rte(t,n){1&t&&(di(),d(0,"svg",47),D(1,"path",48),l())}function ate(t,n){1&t&&(di(),d(0,"svg",49),D(1,"path",50),l())}function ste(t,n){1&t&&(di(),d(0,"svg",51),D(1,"path",52),l())}function cte(t,n){1&t&&(di(),d(0,"svg",53),D(1,"path",54),l())}function lte(t,n){if(1&t){const e=_e();d(0,"span",55)(1,"mat-icon",70),h(2,"more_vert"),l(),d(3,"mat-menu",71,57)(5,"button",72),L("click",function(){ae(e);const o=w().$implicit;return se(w().openAddIndexForm(o.parent))}),d(6,"span"),h(7,"Add Index"),l()()()()}if(2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}const dte=function(){return{sidebar_link:!0}},ute=function(t){return{"gray-out":t}};function hte(t,n){if(1&t){const e=_e();d(0,"td",65),_(1,ote,1,1,"mat-checkbox",66),d(2,"button",40),L("click",function(){const r=ae(e).$implicit;return se(w().treeControl.toggle(r))}),_(3,rte,2,0,"svg",41),_(4,ate,2,0,"ng-template",null,42,Zo),l(),d(6,"span",67),L("click",function(){const r=ae(e).$implicit;return se(w().objectSelected(r))}),d(7,"span"),_(8,ste,2,0,"svg",44),_(9,cte,2,0,"svg",45),d(10,"span",68),h(11),l()(),_(12,lte,8,1,"span",46),l()()}if(2&t){const e=n.$implicit,i=At(5),o=w();f("ngClass",Ko(13,dte)),m(1),f("ngIf",!o.isIndexLikeNode(e)),m(1),rn("visibility",e.expandable?"":"hidden")("margin-left",10*e.level,"px"),m(1),f("ngIf",o.treeControl.isExpanded(e))("ngIfElse",i),m(3),f("ngClass",ii(14,ute,e.isDeleted)),m(2),f("ngIf",o.isTableNode(e.type)),m(1),f("ngIf",o.isIndexNode(e.type)),m(2),Re(e.name),m(1),f("ngIf",o.isIndexNode(e.type))}}function mte(t,n){1&t&&D(0,"tr",59)}function pte(t,n){if(1&t&&D(0,"tr",60),2&t){const e=n.$implicit,i=w();f("ngClass",ii(1,zA,i.shouldHighlight(e)))}}const A0=function(t){return[t]};let fte=(()=>{class t{constructor(e,i,o,r,a){this.conversion=e,this.dialog=i,this.data=o,this.sidenav=r,this.clickEvent=a,this.isLeftColumnCollapse=!1,this.currentSelectedObject=null,this.srcSortOrder="",this.spannerSortOrder="",this.srcSearchText="",this.spannerSearchText="",this.selectedTab="spanner",this.selectedDatabase=new Ne,this.selectObject=new Ne,this.updateSpannerTable=new Ne,this.updateSrcTable=new Ne,this.leftCollaspe=new Ne,this.updateSidebar=new Ne,this.spannerTree=[],this.srcTree=[],this.srcDbName="",this.selectedIndex=1,this.transformer=(s,c)=>({expandable:!!s.children&&s.children.length>0,name:s.name,status:s.status,type:s.type,parent:s.parent,parentId:s.parentId,pos:s.pos,isSpannerNode:s.isSpannerNode,level:c,isDeleted:!!s.isDeleted,id:s.id}),this.treeControl=new NE(s=>s.level,s=>s.expandable),this.srcTreeControl=new NE(s=>s.level,s=>s.expandable),this.treeFlattener=new Hq(this.transformer,s=>s.level,s=>s.expandable,s=>s.children),this.dataSource=new BE(this.treeControl,this.treeFlattener),this.srcDataSource=new BE(this.srcTreeControl,this.treeFlattener),this.checklistSelection=new Ud(!0,[]),this.displayedColumns=["status","name"]}ngOnInit(){this.clickEvent.tabToSpanner.subscribe({next:e=>{this.setSpannerTab()}})}ngOnChanges(e){let i=e?.spannerTree?.currentValue,o=e?.srcTree?.currentValue;o&&(this.srcDataSource.data=o,this.srcTreeControl.expand(this.srcTreeControl.dataNodes[0]),this.srcTreeControl.expand(this.srcTreeControl.dataNodes[1])),i&&(this.dataSource.data=i,this.treeControl.expand(this.treeControl.dataNodes[0]),this.treeControl.expand(this.treeControl.dataNodes[1]))}filterSpannerTable(){this.updateSpannerTable.emit({text:this.spannerSearchText,order:this.spannerSortOrder})}filterSrcTable(){this.updateSrcTable.emit({text:this.srcSearchText,order:this.srcSortOrder})}srcTableSort(){this.srcSortOrder=""===this.srcSortOrder?"asc":"asc"===this.srcSortOrder?"desc":"",this.updateSrcTable.emit({text:this.srcSearchText,order:this.srcSortOrder})}spannerTableSort(){this.spannerSortOrder=""===this.spannerSortOrder?"asc":"asc"===this.spannerSortOrder?"desc":"",this.updateSpannerTable.emit({text:this.spannerSearchText,order:this.spannerSortOrder})}objectSelected(e){this.currentSelectedObject=e,(e.type===oi.Index||e.type===oi.Table)&&this.selectObject.emit(e)}leftColumnToggle(){this.isLeftColumnCollapse=!this.isLeftColumnCollapse,this.leftCollaspe.emit()}isTableNode(e){return new RegExp("^tables").test(e)}isIndexNode(e){return new RegExp("^indexes").test(e)}isIndexLikeNode(e){return e.type==oi.Index||e.type==oi.Indexes}openAddIndexForm(e){this.sidenav.setSidenavAddIndexTable(e),this.sidenav.setSidenavRuleType("addIndex"),this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("rule"),this.sidenav.setRuleData([]),this.sidenav.setDisplayRuleFlag(!1)}shouldHighlight(e){return e.name===this.currentSelectedObject?.name&&(e.type===oi.Table||e.type===oi.Index)}onTabChanged(){"spanner"==this.selectedTab?(this.selectedTab="source",this.selectedIndex=0):(this.selectedTab="spanner",this.selectedIndex=1),this.selectedDatabase.emit(this.selectedTab),this.currentSelectedObject=null,this.selectObject.emit(void 0)}setSpannerTab(){this.selectedIndex=1}checkDropSelection(){return 0!=this.countSelectionByCategory().eligibleForDrop}checkRestoreSelection(){return 0!=this.countSelectionByCategory().eligibleForRestore}countSelectionByCategory(){let i=0,o=0;return this.checklistSelection.selected.forEach(r=>{r.isDeleted?o+=1:i+=1}),{eligibleForDrop:i,eligibleForRestore:o}}dropSelected(){var i=[];this.checklistSelection.selected.forEach(a=>{""!=a.id&&a.type==oi.Table&&i.push({TableId:a.id,TableName:a.name,isDeleted:a.isDeleted})});let o=this.dialog.open(VA,{width:"35vw",minWidth:"450px",maxWidth:"600px",maxHeight:"90vh",data:{tables:i,operation:"SKIP"}});var r={TableList:[]};i.forEach(a=>{r.TableList.push(a.TableId)}),o.afterClosed().subscribe(a=>{"SKIP"==a&&(this.data.dropTables(r).pipe(Pt(1)).subscribe(s=>{""===s&&(this.data.getConversionRate(),this.updateSidebar.emit(!0))}),this.checklistSelection.clear())})}restoreSelected(){var i=[];this.checklistSelection.selected.forEach(a=>{""!=a.id&&a.type==oi.Table&&i.push({TableId:a.id,TableName:a.name,isDeleted:a.isDeleted})});let o=this.dialog.open(VA,{width:"35vw",minWidth:"450px",maxWidth:"600px",data:{tables:i,operation:"RESTORE"}});var r={TableList:[]};i.forEach(a=>{r.TableList.push(a.TableId)}),o.afterClosed().subscribe(a=>{"RESTORE"==a&&(this.data.restoreTables(r).pipe(Pt(1)).subscribe(s=>{this.data.getConversionRate(),this.data.getDdl()}),this.checklistSelection.clear())})}selectionToggle(e){this.checklistSelection.toggle(e);const i=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?this.checklistSelection.select(...i):this.checklistSelection.deselect(...i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Rs),g(br),g(Li),g(Pn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-object-explorer"]],inputs:{spannerTree:"spannerTree",srcTree:"srcTree",srcDbName:"srcDbName"},outputs:{selectedDatabase:"selectedDatabase",selectObject:"selectObject",updateSpannerTable:"updateSpannerTable",updateSrcTable:"updateSrcTable",leftCollaspe:"leftCollaspe",updateSidebar:"updateSidebar"},features:[ai],decls:59,vars:20,consts:[[1,"container"],[3,"ngClass","selectedIndex","selectedTabChange"],["mat-tab-label",""],[1,"filter-wrapper"],[1,"left"],[1,"material-icons","filter-icon"],[1,"filter-text"],[1,"right"],["placeholder","Filter by table name",3,"ngModel","ngModelChange"],[1,"explorer-table"],["mat-table","",3,"dataSource"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","","class","mat-header-cell-name cursor-pointer",3,"click",4,"matHeaderCellDef"],["mat-cell","","class","sidebar_link",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["clas","delete-selected-btn"],["mat-button","","color","primary",1,"icon","drop",3,"disabled","click"],["clas","restore-selected-btn"],["mat-cell","",3,"ngClass",4,"matCellDef"],["id","left-column-toggle-button",3,"click"],[3,"ngClass"],["mat-header-cell",""],["mat-cell",""],["class","icon success","matTooltip","Can be converted automatically","matTooltipPosition","above","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","black",4,"ngIf"],["class","work","matTooltip","Requires minimal conversion changes","matTooltipPosition","above",4,"ngIf"],["class","work_history","matTooltip","Requires high complexity conversion changes","matTooltipPosition","above",4,"ngIf"],["matTooltip","Can be converted automatically","matTooltipPosition","above","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","black",1,"icon","success"],["d","m10.4 17.6-2-4.4-4.4-2 4.4-2 2-4.4 2 4.4 4.4 2-4.4 2Zm6.4 1.6-1-2.2-2.2-1 2.2-1 1-2.2 1 2.2 2.2 1-2.2 1Z"],["matTooltip","Requires minimal conversion changes","matTooltipPosition","above",1,"work"],["matTooltip","Requires high complexity conversion changes","matTooltipPosition","above",1,"work_history"],["mat-header-cell","",1,"mat-header-cell-name","cursor-pointer",3,"click"],["class","src-unsorted-icon sort-icon",4,"ngIf"],["class","sort-icon",4,"ngIf"],[1,"src-unsorted-icon","sort-icon"],[1,"sort-icon"],["mat-cell","",1,"sidebar_link"],["mat-icon-button","",3,"click"],["width","12","height","6","viewBox","0 0 12 6","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf","ngIfElse"],["collaps",""],[1,"sidebar_link",3,"click"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["width","12","height","14","viewBox","0 0 12 14","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","actions",4,"ngIf"],["width","12","height","6","viewBox","0 0 12 6","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M12 0L0 0L6 6L12 0Z","fill","black","fill-opacity","0.54"],["width","6","height","12","viewBox","0 0 6 12","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M-5.24537e-07 2.62268e-07L0 12L6 6L-5.24537e-07 2.62268e-07Z","fill","black","fill-opacity","0.54"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M0 0V18H18V0H0ZM16 2V6H2V2H16ZM7.33 11V8H10.66V11H7.33ZM10.67 13V16H7.34V13H10.67ZM5.33 11H2V8H5.33V11ZM12.67 8H16V11H12.67V8ZM2 13H5.33V16H2V13ZM12.67 16V13H16V16H12.67Z","fill","black","fill-opacity","0.54"],["width","12","height","14","viewBox","0 0 12 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.005 14C11.555 14 12 13.554 12 13.002V5L10 3V12H2V14H11.005ZM0 0.996C0 0.446 0.438 0 1.003 0H7L9 2.004V10.004C9 10.554 8.554 11 8.002 11H0.998C0.867035 11.0003 0.737304 10.9747 0.616233 10.9248C0.495162 10.8748 0.385128 10.8015 0.292428 10.709C0.199729 10.6165 0.126186 10.5066 0.0760069 10.3856C0.0258282 10.2646 -2.64036e-07 10.135 0 10.004V0.996ZM6 1L5 5.5H2L6 1ZM3 10L4 5.5H7L3 10Z","fill","black","fill-opacity","0.54"],[1,"actions"],[3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-header-row",""],["mat-row","",3,"ngClass"],["class","icon dark","matTooltip","Deleted","matTooltipPosition","above",4,"ngIf"],["matTooltip","Deleted","matTooltipPosition","above",1,"icon","dark"],["class","spanner-unsorted-icon sort-icon",4,"ngIf"],[1,"spanner-unsorted-icon","sort-icon"],["mat-cell","",3,"ngClass"],["class","checklist-node",3,"checked","change",4,"ngIf"],[1,"sidebar_link",3,"ngClass","click"],[1,"object-name"],[1,"checklist-node",3,"checked","change"],[1,"add-index-icon",3,"matMenuTriggerFor"],["xPosition","before"],["mat-menu-item","",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-tab-group",1),L("selectedTabChange",function(){return o.onTabChanged()}),d(2,"mat-tab"),_(3,Iee,2,4,"ng-template",2),d(4,"div",3)(5,"div",4)(6,"span",5),h(7,"filter_list"),l(),d(8,"span",6),h(9,"Filter"),l()(),d(10,"div",7)(11,"input",8),L("ngModelChange",function(a){return o.srcSearchText=a})("ngModelChange",function(){return o.filterSrcTable()}),l()()(),d(12,"div",9)(13,"table",10),xe(14,11),_(15,Eee,2,0,"th",12),_(16,Ree,4,3,"td",13),we(),xe(17,14),_(18,Bee,7,3,"th",15),_(19,$ee,12,10,"td",16),we(),_(20,Gee,1,0,"tr",17),_(21,Wee,1,3,"tr",18),l()()(),d(22,"mat-tab"),_(23,qee,2,3,"ng-template",2),d(24,"div",3)(25,"div",4)(26,"span",5),h(27,"filter_list"),l(),d(28,"span",6),h(29,"Filter"),l()(),d(30,"div",7)(31,"input",8),L("ngModelChange",function(a){return o.spannerSearchText=a})("ngModelChange",function(){return o.filterSpannerTable()}),l()(),d(32,"div",19)(33,"button",20),L("click",function(){return o.dropSelected()}),d(34,"mat-icon"),h(35,"delete"),l(),d(36,"span"),h(37,"SKIP"),l()()(),d(38,"div",21)(39,"button",20),L("click",function(){return o.restoreSelected()}),d(40,"mat-icon"),h(41,"undo"),l(),d(42,"span"),h(43,"RESTORE"),l()()()(),d(44,"div",9)(45,"table",10),xe(46,11),_(47,Kee,2,0,"th",12),_(48,Jee,5,4,"td",13),we(),xe(49,14),_(50,nte,7,3,"th",15),_(51,hte,13,16,"td",22),we(),_(52,mte,1,0,"tr",17),_(53,pte,1,3,"tr",18),l()()()(),d(54,"button",23),L("click",function(){return o.leftColumnToggle()}),d(55,"mat-icon",24),h(56,"first_page"),l(),d(57,"mat-icon",24),h(58,"last_page"),l()()()),2&i&&(m(1),f("ngClass",ii(14,A0,o.isLeftColumnCollapse?"hidden":"display"))("selectedIndex",o.selectedIndex),m(10),f("ngModel",o.srcSearchText),m(2),f("dataSource",o.srcDataSource),m(7),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns),m(10),f("ngModel",o.spannerSearchText),m(2),f("disabled",!o.checkDropSelection()),m(6),f("disabled",!o.checkRestoreSelection()),m(6),f("dataSource",o.dataSource),m(7),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns),m(2),f("ngClass",ii(16,A0,o.isLeftColumnCollapse?"hidden":"display")),m(2),f("ngClass",ii(18,A0,o.isLeftColumnCollapse?"display":"hidden")))},dependencies:[Qo,Et,Kt,Fa,_i,Mi,vi,el,Xr,tl,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,Qy,Bp,Jy,On,a0,Kc],styles:[".container[_ngcontent-%COMP%]{position:relative;background-color:#fff}.container[_ngcontent-%COMP%] .filter-wrapper[_ngcontent-%COMP%]{padding:0 10px}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%]{height:35px}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%] .spanner-unsorted-icon[_ngcontent-%COMP%]{visibility:hidden}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%]:hover .spanner-unsorted-icon[_ngcontent-%COMP%]{visibility:visible;opacity:.7}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%] .src-unsorted-icon[_ngcontent-%COMP%]{visibility:hidden}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%]:hover .src-unsorted-icon[_ngcontent-%COMP%]{visibility:visible;opacity:.7}.container[_ngcontent-%COMP%] .sort-icon[_ngcontent-%COMP%]{font-size:1.1rem;vertical-align:middle}.selected-row[_ngcontent-%COMP%]{background-color:#61b3ff4a}.explorer-table[_ngcontent-%COMP%]{height:calc(100vh - 320px);width:100%;overflow:auto}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__header-cell[_ngcontent-%COMP%]{padding:0 0 0 16px}.mat-mdc-table[_ngcontent-%COMP%]{width:100%;border:inset}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;height:40px}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:10px}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{height:40px;margin-left:14px}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .add-index-icon[_ngcontent-%COMP%]{margin-top:7px}.mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%], .mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-header-row[_ngcontent-%COMP%]{height:29px}.mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-header-cell[_ngcontent-%COMP%]{font-family:Roboto;font-size:13px;font-style:normal;font-weight:500;line-height:18px;background:#f5f5f5}.mat-mdc-table[_ngcontent-%COMP%] .mat-column-status[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:medium}.mat-mdc-table[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:20px}.filter-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;height:48px}.filter-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:30%;display:flex;align-items:center}.filter-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:5px}.filter-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:70%}.filter-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:70%;border:none;outline:none;background-color:transparent}#left-column-toggle-button[_ngcontent-%COMP%]{z-index:100;position:absolute;right:4px;top:10px;border:none;background-color:inherit}#left-column-toggle-button[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-mdc-column-status[_ngcontent-%COMP%]{width:80px} .column-left .mat-mdc-tab-label-container{margin-right:40px} .column-left .mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-label-container{margin-right:0} .column-left .mat-mdc-tab-header-pagination-after{margin-right:40px}"]})}return t})();function gte(t,n){1&t&&(d(0,"div",9)(1,"mat-icon"),h(2,"warning"),l(),d(3,"span"),h(4,"This operation cannot be undone"),l()())}let HA=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i,this.ObjectDetailNodeType=fl,this.confirmationInput=new Q("",[me.required,me.pattern(`^${e.name}$`)]),i.disableClose=!0}delete(){this.dialogRef.close(this.data.type)}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-drop-index-dialog"]],decls:19,vars:7,consts:[["mat-dialog-content",""],["class","alert-container",4,"ngIf"],[1,"form-container"],[1,"form-custom-label"],["appearance","outline"],["matInput","","type","text",3,"formControl"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[1,"alert-container"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h2"),h(2),l(),_(3,gte,5,0,"div",1),d(4,"div",2)(5,"form")(6,"span",3),h(7," Confirm deletion by typing the following below: "),d(8,"b"),h(9),l()(),d(10,"mat-form-field",4)(11,"mat-label"),h(12),l(),D(13,"input",5),l()()()(),d(14,"div",6)(15,"button",7),h(16,"Cancel"),l(),d(17,"button",8),L("click",function(){return o.delete()}),h(18," Confirm "),l()()),2&i&&(m(2),Ic("Skip ",o.data.type," (",o.data.name,")?"),m(1),f("ngIf","Index"===o.data.type),m(6),Re(o.data.name),m(3),Se("",o.data.type==o.ObjectDetailNodeType.Table?"Table":"Index"," Name"),m(1),f("formControl",o.confirmationInput),m(4),f("disabled",!o.confirmationInput.valid))},dependencies:[Et,Kt,_i,Oi,Ii,sn,Tn,Mi,vi,Ui,Zc,wo,vr,yr,ja],styles:[".alert-container[_ngcontent-%COMP%]{padding:.5rem;display:flex;align-items:center;margin-bottom:1rem;background-color:#f8f4f4}.alert-container[_ngcontent-%COMP%] mat-mdc-icon[_ngcontent-%COMP%]{color:#f3b300;margin-right:20px}.form-container[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}"]})}return t})();function _te(t,n){if(1&t&&(d(0,"mat-option",12),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function bte(t,n){1&t&&(d(0,"div")(1,"mat-form-field",2)(2,"mat-label"),h(3,"Length"),l(),D(4,"input",13),l(),D(5,"br"),l())}function vte(t,n){if(1&t&&(d(0,"mat-option",12),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}let yte=(()=>{class t{constructor(e,i,o,r){this.formBuilder=e,this.dataService=i,this.dialogRef=o,this.data=r,this.dialect="",this.datatypes=[],this.selectedDatatype="",this.tableId="",this.selectedNull=!0,this.dataTypesWithColLen=ln.DataTypes,this.isColumnNullable=[{value:!1,displayName:"No"},{value:!0,displayName:"Yes"}],this.dialect=r.dialect,this.tableId=r.tableId,this.addNewColumnForm=this.formBuilder.group({name:["",[me.required,me.minLength(1),me.maxLength(128),me.pattern("^[a-zA-Z][a-zA-Z0-9_]*$")]],datatype:["",me.required],length:["",me.pattern("^[0-9]+$")],isNullable:[]})}ngOnInit(){this.datatypes="google_standard_sql"==this.dialect?PA_GoogleStandardSQL:PA_PostgreSQL}changeValidator(){this.addNewColumnForm.controls.length.clearValidators(),"BYTES"===this.selectedDatatype?this.addNewColumnForm.get("length")?.addValidators([me.required,me.max(ln.ByteMaxLength)]):("VARCHAR"===this.selectedDatatype||"STRING"===this.selectedDatatype)&&this.addNewColumnForm.get("length")?.addValidators([me.required,me.max(ln.StringMaxLength)]),this.addNewColumnForm.controls.length.updateValueAndValidity()}addNewColumn(){let e=this.addNewColumnForm.value,i={Name:e.name,Datatype:this.selectedDatatype,Length:parseInt(e.length),IsNullable:this.selectedNull};this.dataService.addColumn(this.tableId,i),this.dialogRef.close()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-add-new-column"]],decls:26,vars:7,consts:[["mat-dialog-content",""],[1,"add-new-column-form",3,"formGroup"],["appearance","outline",1,"full-width"],["matInput","","placeholder","Column Name","type","text","formControlName","name"],["appearance","outline"],["formControlName","datatype","required","true",1,"input-field",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["formControlName","isNullable","required","true",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[3,"value"],["matInput","","placeholder","Length","type","text","formControlName","length"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Column Details"),l(),d(4,"mat-form-field",2)(5,"mat-label"),h(6,"Name"),l(),D(7,"input",3),l(),D(8,"br"),d(9,"mat-form-field",4)(10,"mat-label"),h(11,"Datatype"),l(),d(12,"mat-select",5),L("ngModelChange",function(a){return o.selectedDatatype=a})("selectionChange",function(){return o.changeValidator()}),_(13,_te,2,2,"mat-option",6),l()(),D(14,"br"),_(15,bte,6,0,"div",7),d(16,"mat-form-field",4)(17,"mat-label"),h(18,"IsNullable"),l(),d(19,"mat-select",8),L("ngModelChange",function(a){return o.selectedNull=a}),_(20,vte,2,2,"mat-option",6),l()()(),d(21,"div",9)(22,"button",10),h(23,"CANCEL"),l(),d(24,"button",11),L("click",function(){return o.addNewColumn()}),h(25," ADD "),l()()()),2&i&&(m(1),f("formGroup",o.addNewColumnForm),m(11),f("ngModel",o.selectedDatatype),m(1),f("ngForOf",o.datatypes),m(2),f("ngIf",o.dataTypesWithColLen.indexOf(o.selectedDatatype)>-1),m(4),f("ngModel",o.selectedNull),m(1),f("ngForOf",o.isColumnNullable),m(4),f("disabled",!o.addNewColumnForm.valid))},dependencies:[an,Et,Kt,Oi,Ii,sn,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,wo,vr,yr]})}return t})();function xte(t,n){1&t&&(d(0,"span"),h(1," To view and modify an object details, click on the object name on the Spanner draft panel. "),l())}function wte(t,n){if(1&t&&(d(0,"span"),h(1),l()),2&t){const e=w(2);m(1),Se(" To view an object details, click on the object name on the ",e.srcDbName," panel. ")}}const ff=function(t){return[t]};function Cte(t,n){if(1&t){const e=_e();d(0,"div",2)(1,"div",3)(2,"h3",4),h(3,"OBJECT VIEWER"),l(),d(4,"button",5),L("click",function(){return ae(e),se(w().middleColumnToggle())}),d(5,"mat-icon",6),h(6,"first_page"),l(),d(7,"mat-icon",6),h(8,"last_page"),l()()(),D(9,"mat-divider"),d(10,"div",7)(11,"div",8),di(),d(12,"svg",9),D(13,"path",10),l()(),Pr(),d(14,"div",11),_(15,xte,2,0,"span",12),_(16,wte,2,1,"span",12),l()()()}if(2&t){const e=w();m(5),f("ngClass",ii(4,ff,e.isMiddleColumnCollapse?"display":"hidden")),m(2),f("ngClass",ii(6,ff,e.isMiddleColumnCollapse?"hidden":"display")),m(8),f("ngIf","spanner"==e.currentDatabase),m(1),f("ngIf","source"==e.currentDatabase)}}function Dte(t,n){1&t&&(d(0,"mat-icon",23),h(1," table_chart"),l())}function kte(t,n){1&t&&(di(),d(0,"svg",24),D(1,"path",25),l())}function Ste(t,n){if(1&t&&(d(0,"span"),h(1),va(2,"uppercase"),l()),2&t){const e=w(2);m(1),Se("( TABLE: ",ya(2,1,e.currentObject.parent)," ) ")}}function Mte(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).dropIndex())}),d(1,"mat-icon"),h(2,"delete"),l(),d(3,"span"),h(4,"SKIP INDEX"),l()()}}function Tte(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).restoreIndex())}),d(1,"mat-icon"),h(2,"undo"),l(),d(3,"span"),h(4," RESTORE INDEX"),l()()}}function Ite(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).dropTable())}),d(1,"mat-icon"),h(2,"delete"),l(),d(3,"span"),h(4,"SKIP TABLE"),l()()}}function Ete(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).restoreSpannerTable())}),d(1,"mat-icon"),h(2,"undo"),l(),d(3,"span"),h(4," RESTORE TABLE"),l()()}}function Ote(t,n){if(1&t&&(d(0,"div",27),h(1," Interleaved: "),d(2,"div",28),h(3),l()()),2&t){const e=w(2);m(3),Se(" ",e.interleaveParentName," ")}}function Ate(t,n){1&t&&(d(0,"span"),h(1,"COLUMNS "),l())}function Pte(t,n){if(1&t&&(d(0,"th",74),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function Rte(t,n){1&t&&(d(0,"th",75),h(1,"S No."),l())}function Fte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcOrder").value," ")}}function Nte(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Lte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColName").value," ")}}function Bte(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function Vte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcDataType").value," ")}}function jte(t,n){1&t&&(d(0,"th",75),h(1,"Max Length"),l())}function zte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColMaxLength").value," ")}}function Hte(t,n){1&t&&(d(0,"th",75),h(1,"Pk"),l())}function Ute(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function $te(t,n){if(1&t&&(d(0,"td",76),_(1,Ute,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("srcIsPk").value)}}function Gte(t,n){1&t&&(d(0,"th",75),h(1,"Nullable"),l())}function Wte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcIsNotNull").value?"Not Null":""," ")}}function qte(t,n){1&t&&D(0,"tr",79)}function Kte(t,n){1&t&&D(0,"tr",79)}const Zte=function(t){return{"scr-column-data-edit-mode":t}};function Yte(t,n){if(1&t&&D(0,"tr",80),2&t){const e=w(3);f("ngClass",ii(1,Zte,e.isEditMode))}}function Qte(t,n){if(1&t){const e=_e();d(0,"button",84),L("click",function(){return ae(e),se(w(5).toggleEdit())}),d(1,"mat-icon",85),h(2,"edit"),l(),h(3," EDIT "),l()}}function Xte(t,n){if(1&t&&(d(0,"div"),_(1,Qte,4,0,"button",83),l()),2&t){const e=w(4);m(1),f("ngIf",e.currentObject.isSpannerNode)}}function Jte(t,n){if(1&t){const e=_e();d(0,"button",84),L("click",function(){return ae(e),se(w(5).addNewColumn())}),d(1,"mat-icon",85),h(2,"edit"),l(),h(3," ADD COLUMN "),l()}}function eie(t,n){if(1&t&&(d(0,"div"),_(1,Jte,4,0,"button",83),l()),2&t){const e=w(4);m(1),f("ngIf",e.currentObject.isSpannerNode)}}function tie(t,n){if(1&t&&(d(0,"th",81)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,Xte,2,1,"div",12),_(5,eie,2,1,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isEditMode&&!e.currentObject.isDeleted),m(1),f("ngIf",!e.isEditMode&&!e.currentObject.isDeleted&&!1)}}function iie(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function nie(t,n){if(1&t&&(d(0,"div"),D(1,"input",86),l()),2&t){const e=w().$implicit;let i;m(1),f("formControl",e.get("spColName"))("matTooltipDisabled",!(null!=(i=e.get("spColName"))&&i.hasError("pattern")))}}function oie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spColName").value)}}function rie(t,n){if(1&t&&(d(0,"td",76),_(1,nie,2,2,"div",12),_(2,oie,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isEditMode&&""!==e.get("spDataType").value&&""!==e.get("srcId").value),m(1),f("ngIf",!i.isEditMode||""===e.get("srcId").value)}}function aie(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function sie(t,n){if(1&t&&(d(0,"span",90),h(1,"warning"),l()),2&t){const e=w().index;f("matTooltip",w(3).spTableSuggestion[e])}}function cie(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayT),m(1),Se(" ",e.DisplayT," ")}}function lie(t,n){1&t&&(d(0,"mat-option",98),h(1," STRING "),l())}function die(t,n){1&t&&(d(0,"mat-option",99),h(1," VARCHAR "),l())}function uie(t,n){if(1&t){const e=_e();d(0,"mat-form-field",91)(1,"mat-select",92,93),L("selectionChange",function(){ae(e);const o=At(2),r=w().index;return se(w(3).spTableEditSuggestionHandler(r,o.value))}),_(3,cie,2,2,"mat-option",94),_(4,lie,2,0,"mat-option",95),_(5,die,2,0,"mat-option",96),l()()}if(2&t){const e=w().$implicit,i=w(3);m(1),f("formControl",e.get("spDataType")),m(2),f("ngForOf",i.typeMap[e.get("srcDataType").value]),m(1),f("ngIf",""==e.get("srcDataType").value&&!i.isPostgreSQLDialect),m(1),f("ngIf",""==e.get("srcDataType").value&&i.isPostgreSQLDialect)}}function hie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spDataType").value)}}function mie(t,n){if(1&t&&(d(0,"td",76)(1,"div",87),_(2,sie,2,1,"span",88),_(3,uie,6,4,"mat-form-field",89),_(4,hie,2,1,"p",12),l()()),2&t){const e=n.$implicit,i=n.index,o=w(3);m(2),f("ngIf",o.isSpTableSuggesstionDisplay[i]&&""!==e.get("spDataType").value),m(1),f("ngIf",o.isEditMode&&""!==e.get("spDataType").value&&""!==e.get("srcId").value),m(1),f("ngIf",!o.isEditMode||""===e.get("srcId").value)}}function pie(t,n){1&t&&(d(0,"th",75),h(1,"Max Length"),l())}function fie(t,n){if(1&t&&(d(0,"div"),D(1,"input",100),l()),2&t){const e=w(2).$implicit;m(1),f("formControl",e.get("spColMaxLength"))}}function gie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w(2).$implicit;m(1),Se(" ",e.get("spColMaxLength").value," ")}}function _ie(t,n){if(1&t&&(d(0,"div"),_(1,fie,2,1,"div",12),_(2,gie,2,1,"p",12),l()),2&t){const e=w().$implicit,i=w(3);m(1),f("ngIf",i.isEditMode&&""!=e.get("srcDataType").value&&e.get("spId").value!==i.shardIdCol),m(1),f("ngIf",!i.isEditMode||e.get("spId").value===i.shardIdCol)}}function bie(t,n){if(1&t&&(d(0,"td",76),_(1,_ie,3,2,"div",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.dataTypesWithColLen.indexOf(e.get("spDataType").value)>-1)}}function vie(t,n){1&t&&(d(0,"th",75),h(1,"Pk"),l())}function yie(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function xie(t,n){if(1&t&&(d(0,"td",76),_(1,yie,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spIsPk").value)}}function wie(t,n){1&t&&(d(0,"span"),h(1,"Not Null"),l())}function Cie(t,n){1&t&&(d(0,"span"),h(1,"Nullable"),l())}function Die(t,n){if(1&t&&(d(0,"th",75),_(1,wie,2,0,"span",12),_(2,Cie,2,0,"span",12),l()),2&t){const e=w(3);m(1),f("ngIf",e.isEditMode),m(1),f("ngIf",!e.isEditMode)}}function kie(t,n){if(1&t&&(d(0,"div"),D(1,"mat-checkbox",102),l()),2&t){const e=w().$implicit;m(1),f("formControl",e.get("spIsNotNull"))}}function Sie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Se(" ",e.get("spIsNotNull").value?"Not Null":""," ")}}function Mie(t,n){if(1&t&&(d(0,"td",76)(1,"div",101),_(2,kie,2,1,"div",12),_(3,Sie,2,1,"p",12),l()()),2&t){const e=n.$implicit,i=w(3);m(2),f("ngIf",i.isEditMode&&""!==e.get("spDataType").value&&e.get("spId").value!==i.shardIdCol),m(1),f("ngIf",!i.isEditMode||e.get("spId").value===i.shardIdCol)}}function Tie(t,n){1&t&&D(0,"th",75)}function Iie(t,n){if(1&t){const e=_e();d(0,"div",105)(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",109),L("click",function(){ae(e);const o=w().$implicit;return se(w(3).dropColumn(o))}),d(6,"span"),h(7,"Drop Column"),l()()()()}if(2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}const gf=function(t){return{"drop-button-left-border":t}};function Eie(t,n){if(1&t&&(d(0,"td",103),_(1,Iie,8,1,"div",104),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isEditMode)),m(1),f("ngIf",i.isEditMode&&i.currentObject.isSpannerNode&&""!==e.get("spDataType").value&&e.get("spId").value!==i.shardIdCol)}}function Oie(t,n){1&t&&D(0,"tr",79)}function Aie(t,n){1&t&&D(0,"tr",79)}function Pie(t,n){1&t&&D(0,"tr",110)}function Rie(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function Fie(t,n){if(1&t){const e=_e();d(0,"div",111)(1,"mat-form-field",112)(2,"mat-label"),h(3,"Column Name"),l(),d(4,"mat-select",113),L("selectionChange",function(o){return ae(e),se(w(3).setColumn(o.value))}),_(5,Rie,2,2,"mat-option",94),l()(),d(6,"button",114),L("click",function(){return ae(e),se(w(3).restoreColumn())}),d(7,"mat-icon"),h(8,"add"),l(),h(9," RESTORE COLUMN "),l()()}if(2&t){const e=w(3);f("formGroup",e.addColumnForm),m(5),f("ngForOf",e.droppedSourceColumns)}}function Nie(t,n){1&t&&(d(0,"span"),h(1,"PRIMARY KEY "),l())}function Lie(t,n){if(1&t&&(d(0,"th",115),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function Bie(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",84),L("click",function(){return ae(e),se(w(4).togglePkEdit())}),d(2,"mat-icon",85),h(3,"edit"),l(),h(4," EDIT "),l()()}}function Vie(t,n){if(1&t&&(d(0,"th",74)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,Bie,5,0,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isPkEditMode&&e.pkDataSource.length>0&&e.currentObject.isSpannerNode&&!e.currentObject.isDeleted)}}function jie(t,n){1&t&&(d(0,"th",75),h(1,"Order"),l())}function zie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcOrder").value," ")}}function Hie(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Uie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColName").value," ")}}function $ie(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function Gie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcDataType").value," ")}}function Wie(t,n){1&t&&(d(0,"th",75),h(1,"PK"),l())}function qie(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function Kie(t,n){if(1&t&&(d(0,"td",76),_(1,qie,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("srcIsPk").value)}}function Zie(t,n){1&t&&(d(0,"th",75),h(1,"Nullable"),l())}function Yie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcIsNotNull").value?"Not Null":""," ")}}function Qie(t,n){1&t&&(d(0,"th",75),h(1,"Order"),l())}function Xie(t,n){if(1&t&&(d(0,"div"),D(1,"input",116),l()),2&t){const e=w().$implicit;let i;m(1),f("formControl",e.get("spOrder"))("matTooltipDisabled",!(null!=(i=e.get("spOrder"))&&i.hasError("pattern")))}}function Jie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spOrder").value)}}function ene(t,n){if(1&t&&(d(0,"td",76),_(1,Xie,2,2,"div",12),_(2,Jie,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isPkEditMode&&""!==e.get("spColName").value),m(1),f("ngIf",!i.isPkEditMode)}}function tne(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function ine(t,n){if(1&t&&(d(0,"td",76)(1,"p"),h(2),l()()),2&t){const e=n.$implicit;m(2),Re(e.get("spColName").value)}}function nne(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function one(t,n){if(1&t&&(d(0,"span",90),h(1,"warning"),l()),2&t){const e=w().index;f("matTooltip",w(3).spTableSuggestion[e])}}function rne(t,n){if(1&t&&(d(0,"td",76)(1,"div",87),_(2,one,2,1,"span",88),d(3,"p"),h(4),l()()()),2&t){const e=n.$implicit,i=n.index,o=w(3);m(2),f("ngIf",o.isSpTableSuggesstionDisplay[i]&&""!==e.get("spColName").value),m(2),Re(e.get("spDataType").value)}}function ane(t,n){1&t&&(d(0,"th",75),h(1,"Pk"),l())}function sne(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function cne(t,n){if(1&t&&(d(0,"td",76),_(1,sne,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spIsPk").value)}}function lne(t,n){1&t&&(d(0,"th",75),h(1,"Nullable"),l())}function dne(t,n){if(1&t&&(d(0,"td",76)(1,"div",101)(2,"p"),h(3),l()()()),2&t){const e=n.$implicit;m(3),Se(" ",e.get("spIsNotNull").value?"Not Null":""," ")}}function une(t,n){1&t&&D(0,"th",75)}function hne(t,n){if(1&t){const e=_e();d(0,"div",105)(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",117),L("click",function(){ae(e);const o=w().$implicit;return se(w(3).dropPk(o))}),d(6,"span"),h(7,"Remove primary key"),l()()()()}if(2&t){const e=At(4),i=w(4);m(1),f("matMenuTriggerFor",e),m(4),f("disabled",!i.isPkEditMode)}}function mne(t,n){if(1&t&&(d(0,"td",103),_(1,hne,8,2,"div",104),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isPkEditMode)),m(1),f("ngIf",i.isPkEditMode&&i.currentObject.isSpannerNode&&""!==e.get("spColName").value)}}function pne(t,n){1&t&&D(0,"tr",79)}function fne(t,n){1&t&&D(0,"tr",79)}function gne(t,n){1&t&&D(0,"tr",110)}function _ne(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function bne(t,n){if(1&t){const e=_e();d(0,"div",118)(1,"mat-form-field",112)(2,"mat-label"),h(3,"Column Name"),l(),d(4,"mat-select",113),L("selectionChange",function(o){return ae(e),se(w(3).setPkColumn(o.value))}),_(5,_ne,2,2,"mat-option",94),l()(),d(6,"button",114),L("click",function(){return ae(e),se(w(3).addPkColumn())}),d(7,"mat-icon"),h(8,"add"),l(),h(9," ADD COLUMN "),l()()}if(2&t){const e=w(3);f("formGroup",e.addPkColumnForm),m(5),f("ngForOf",e.pkColumnNames)}}function vne(t,n){1&t&&(d(0,"span"),h(1,"FOREIGN KEY"),l())}function yne(t,n){if(1&t&&(d(0,"th",119),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function xne(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",84),L("click",function(){return ae(e),se(w(4).toggleFkEdit())}),d(2,"mat-icon",85),h(3,"edit"),l(),h(4," EDIT "),l()()}}function wne(t,n){if(1&t&&(d(0,"th",115)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,xne,5,0,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isFkEditMode&&e.fkDataSource.length>0&&e.currentObject.isSpannerNode&&!e.currentObject.isDeleted)}}function Cne(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Dne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcName").value," ")}}function kne(t,n){1&t&&(d(0,"th",75),h(1,"Columns"),l())}function Sne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColumns").value," ")}}function Mne(t,n){1&t&&(d(0,"th",75),h(1,"Refer Table"),l())}function Tne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcReferTable").value," ")}}function Ine(t,n){1&t&&(d(0,"th",75),h(1,"Refer Columns"),l())}function Ene(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcReferColumns").value," ")}}function One(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Ane(t,n){if(1&t&&(d(0,"div"),D(1,"input",86),l()),2&t){const e=w().$implicit;let i;m(1),f("formControl",e.get("spName"))("matTooltipDisabled",!(null!=(i=e.get("spName"))&&i.hasError("pattern")))}}function Pne(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spName").value)}}function Rne(t,n){if(1&t&&(d(0,"td",76),_(1,Ane,2,2,"div",12),_(2,Pne,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isFkEditMode&&""!==e.get("spReferTable").value),m(1),f("ngIf",!i.isFkEditMode)}}function Fne(t,n){1&t&&(d(0,"th",75),h(1,"Columns"),l())}function Nne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("spColumns").value," ")}}function Lne(t,n){1&t&&(d(0,"th",75),h(1,"Refer Table"),l())}function Bne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("spReferTable").value," ")}}function Vne(t,n){1&t&&(d(0,"th",75),h(1,"Refer Columns"),l())}function jne(t,n){if(1&t&&(d(0,"td",76)(1,"div",120),h(2),l()()),2&t){const e=n.$implicit;m(2),Se(" ",e.get("spReferColumns").value," ")}}function zne(t,n){1&t&&D(0,"th",75)}function Hne(t,n){if(1&t){const e=_e();d(0,"button",117),L("click",function(){return ae(e),se(w(5).setInterleave())}),d(1,"span"),h(2,"Convert to interleave"),l()()}2&t&&f("disabled",""===w(2).$implicit.get("spName").value)}function Une(t,n){if(1&t){const e=_e();d(0,"div",105)(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",117),L("click",function(){ae(e);const o=w().$implicit;return se(w(3).dropFk(o))}),d(6,"span"),h(7,"Drop Foreign Key"),l()(),_(8,Hne,3,1,"button",121),l()()}if(2&t){const e=At(4),i=w().$implicit,o=w(3);m(1),f("matMenuTriggerFor",e),m(4),f("disabled",""===i.get("spName").value),m(3),f("ngIf",o.interleaveStatus.tableInterleaveStatus&&o.interleaveStatus.tableInterleaveStatus.Possible)}}function $ne(t,n){if(1&t&&(d(0,"td",103),_(1,Une,9,3,"div",104),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isFkEditMode)),m(1),f("ngIf",i.isFkEditMode&&i.currentObject.isSpannerNode&&""!==e.get("spReferTable").value)}}function Gne(t,n){1&t&&D(0,"tr",79)}function Wne(t,n){1&t&&D(0,"tr",79)}function qne(t,n){1&t&&D(0,"tr",110)}function Kne(t,n){if(1&t){const e=_e();d(0,"button",125),L("click",function(){return ae(e),se(w(4).setInterleave())}),h(1," Convert to Interleave "),l()}}function Zne(t,n){if(1&t){const e=_e();d(0,"button",125),L("click",function(){return ae(e),se(w(4).removeInterleave())}),h(1," Convert Back to Foreign Key "),l()}}function Yne(t,n){if(1&t&&(d(0,"div"),h(1," This table is interleaved with "),d(2,"span",126),h(3),l(),h(4,". Click on the above button to convert back to foreign key. "),l()),2&t){const e=w(4);m(3),Re(e.interleaveParentName)}}function Qne(t,n){if(1&t&&(d(0,"mat-tab",122)(1,"div",123),_(2,Kne,2,0,"button",124),_(3,Zne,2,0,"button",124),D(4,"br"),_(5,Yne,5,1,"div",12),l()()),2&t){const e=w(3);m(2),f("ngIf",e.interleaveStatus.tableInterleaveStatus&&e.interleaveStatus.tableInterleaveStatus.Possible&&null===e.interleaveParentName),m(1),f("ngIf",e.interleaveStatus.tableInterleaveStatus&&!e.interleaveStatus.tableInterleaveStatus.Possible||null!==e.interleaveParentName),m(2),f("ngIf",e.interleaveStatus.tableInterleaveStatus&&!e.interleaveStatus.tableInterleaveStatus.Possible||null!==e.interleaveParentName)}}function Xne(t,n){1&t&&(d(0,"span"),h(1,"SQL"),l())}function Jne(t,n){if(1&t&&(d(0,"mat-tab"),_(1,Xne,2,0,"ng-template",30),d(2,"div",127)(3,"pre")(4,"code"),h(5),l()()()()),2&t){const e=w(3);m(5),Re(e.ddlStmts[e.currentObject.id])}}const eoe=function(t){return{"height-on-edit":t}},toe=function(){return["srcDatabase"]},ioe=function(){return["spDatabase"]},P0=function(){return["srcDatabase","spDatabase"]};function noe(t,n){if(1&t){const e=_e();d(0,"mat-tab-group",29),L("selectedTabChange",function(o){return ae(e),se(w(2).tabChanged(o))}),d(1,"mat-tab"),_(2,Ate,2,0,"ng-template",30),d(3,"div",31)(4,"div",32)(5,"table",33),xe(6,34),_(7,Pte,2,1,"th",35),we(),xe(8,36),_(9,Rte,2,0,"th",37),_(10,Fte,2,1,"td",38),we(),xe(11,39),_(12,Nte,2,0,"th",37),_(13,Lte,2,1,"td",38),we(),xe(14,40),_(15,Bte,2,0,"th",41),_(16,Vte,2,1,"td",38),we(),xe(17,42),_(18,jte,2,0,"th",41),_(19,zte,2,1,"td",38),we(),xe(20,43),_(21,Hte,2,0,"th",37),_(22,$te,2,1,"td",38),we(),xe(23,44),_(24,Gte,2,0,"th",41),_(25,Wte,2,1,"td",38),we(),_(26,qte,1,0,"tr",45),_(27,Kte,1,0,"tr",45),_(28,Yte,1,3,"tr",46),l(),d(29,"table",33),xe(30,47),_(31,tie,6,2,"th",48),we(),xe(32,49),_(33,iie,2,0,"th",41),_(34,rie,3,2,"td",38),we(),xe(35,50),_(36,aie,2,0,"th",41),_(37,mie,5,3,"td",38),we(),xe(38,51),_(39,pie,2,0,"th",41),_(40,bie,2,1,"td",38),we(),xe(41,52),_(42,vie,2,0,"th",37),_(43,xie,2,1,"td",38),we(),xe(44,53),_(45,Die,3,2,"th",41),_(46,Mie,4,2,"td",38),we(),xe(47,54),_(48,Tie,1,0,"th",41),_(49,Eie,2,4,"td",55),we(),_(50,Oie,1,0,"tr",45),_(51,Aie,1,0,"tr",45),_(52,Pie,1,0,"tr",56),l()(),_(53,Fie,10,2,"div",57),l()(),d(54,"mat-tab"),_(55,Nie,2,0,"ng-template",30),d(56,"div",58)(57,"table",33),xe(58,34),_(59,Lie,2,1,"th",59),we(),xe(60,47),_(61,Vie,5,1,"th",35),we(),xe(62,36),_(63,jie,2,0,"th",37),_(64,zie,2,1,"td",38),we(),xe(65,39),_(66,Hie,2,0,"th",37),_(67,Uie,2,1,"td",38),we(),xe(68,40),_(69,$ie,2,0,"th",41),_(70,Gie,2,1,"td",38),we(),xe(71,43),_(72,Wie,2,0,"th",37),_(73,Kie,2,1,"td",38),we(),xe(74,44),_(75,Zie,2,0,"th",41),_(76,Yie,2,1,"td",38),we(),xe(77,60),_(78,Qie,2,0,"th",37),_(79,ene,3,2,"td",38),we(),xe(80,49),_(81,tne,2,0,"th",41),_(82,ine,3,1,"td",38),we(),xe(83,50),_(84,nne,2,0,"th",41),_(85,rne,5,2,"td",38),we(),xe(86,52),_(87,ane,2,0,"th",37),_(88,cne,2,1,"td",38),we(),xe(89,53),_(90,lne,2,0,"th",41),_(91,dne,4,1,"td",38),we(),xe(92,54),_(93,une,1,0,"th",41),_(94,mne,2,4,"td",55),we(),_(95,pne,1,0,"tr",45),_(96,fne,1,0,"tr",45),_(97,gne,1,0,"tr",56),l(),_(98,bne,10,2,"div",61),l()(),d(99,"mat-tab"),_(100,vne,2,0,"ng-template",30),d(101,"div",62)(102,"table",33),xe(103,34),_(104,yne,2,1,"th",63),we(),xe(105,47),_(106,wne,5,1,"th",59),we(),xe(107,64),_(108,Cne,2,0,"th",37),_(109,Dne,2,1,"td",38),we(),xe(110,65),_(111,kne,2,0,"th",37),_(112,Sne,2,1,"td",38),we(),xe(113,66),_(114,Mne,2,0,"th",37),_(115,Tne,2,1,"td",38),we(),xe(116,67),_(117,Ine,2,0,"th",37),_(118,Ene,2,1,"td",38),we(),xe(119,68),_(120,One,2,0,"th",41),_(121,Rne,3,2,"td",38),we(),xe(122,69),_(123,Fne,2,0,"th",37),_(124,Nne,2,1,"td",38),we(),xe(125,70),_(126,Lne,2,0,"th",37),_(127,Bne,2,1,"td",38),we(),xe(128,71),_(129,Vne,2,0,"th",37),_(130,jne,3,1,"td",38),we(),xe(131,72),_(132,zne,1,0,"th",41),_(133,$ne,2,4,"td",55),we(),_(134,Gne,1,0,"tr",45),_(135,Wne,1,0,"tr",45),_(136,qne,1,0,"tr",56),l()()(),_(137,Qne,6,3,"mat-tab",73),_(138,Jne,6,1,"mat-tab",12),l()}if(2&t){const e=w(2);f("ngClass",ii(21,eoe,e.isEditMode||e.isPkEditMode||e.isFkEditMode)),m(5),f("dataSource",e.srcDataSource),m(21),f("matHeaderRowDef",Ko(23,toe)),m(1),f("matHeaderRowDef",e.srcDisplayedColumns),m(1),f("matRowDefColumns",e.srcDisplayedColumns),m(1),f("dataSource",e.spDataSource),m(21),f("matHeaderRowDef",Ko(24,ioe)),m(1),f("matHeaderRowDef",e.spDisplayedColumns),m(1),f("matRowDefColumns",e.spDisplayedColumns),m(1),f("ngIf",e.isEditMode&&0!=e.droppedSourceColumns.length),m(4),f("dataSource",e.pkDataSource),m(38),f("matHeaderRowDef",Ko(25,P0)),m(1),f("matHeaderRowDef",e.displayedPkColumns),m(1),f("matRowDefColumns",e.displayedPkColumns),m(1),f("ngIf",e.isPkEditMode),m(4),f("dataSource",e.fkDataSource),m(32),f("matHeaderRowDef",Ko(26,P0)),m(1),f("matHeaderRowDef",e.displayedFkColumns),m(1),f("matRowDefColumns",e.displayedFkColumns),m(1),f("ngIf",(e.interleaveStatus.tableInterleaveStatus&&e.interleaveStatus.tableInterleaveStatus.Possible||null!==e.interleaveParentName)&&e.currentObject.isSpannerNode),m(1),f("ngIf",e.currentObject.isSpannerNode&&!e.currentObject.isDeleted)}}function ooe(t,n){if(1&t&&(d(0,"th",138),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function roe(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",84),L("click",function(){return ae(e),se(w(4).toggleIndexEdit())}),d(2,"mat-icon",85),h(3,"edit"),l(),h(4," EDIT "),l()()}}function aoe(t,n){if(1&t&&(d(0,"th",119)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,roe,5,0,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isIndexEditMode&&!e.currentObject.isDeleted&&e.currentObject.isSpannerNode)}}function soe(t,n){1&t&&(d(0,"th",75),h(1,"Column"),l())}function coe(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColName").value," ")}}function loe(t,n){1&t&&(d(0,"th",75),h(1,"Sort By"),l())}function doe(t,n){1&t&&(d(0,"p"),h(1,"Desc"),l())}function uoe(t,n){1&t&&(d(0,"p"),h(1,"Asc"),l())}function hoe(t,n){if(1&t&&(d(0,"td",76),_(1,doe,2,0,"p",12),_(2,uoe,2,0,"p",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("srcDesc").value),m(1),f("ngIf",!1===e.get("srcDesc").value)}}function moe(t,n){1&t&&(d(0,"th",75),h(1,"Column Order"),l())}function poe(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcOrder").value," ")}}function foe(t,n){1&t&&(d(0,"th",75),h(1,"Column"),l())}function goe(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spColName").value)}}function _oe(t,n){if(1&t&&(d(0,"td",76),_(1,goe,2,1,"p",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spColName").value)}}function boe(t,n){1&t&&(d(0,"th",75),h(1,"Sort By"),l())}function voe(t,n){1&t&&(d(0,"p"),h(1,"Desc"),l())}function yoe(t,n){1&t&&(d(0,"p"),h(1,"Asc"),l())}function xoe(t,n){if(1&t&&(d(0,"td",76),_(1,voe,2,0,"p",12),_(2,yoe,2,0,"p",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spDesc").value),m(1),f("ngIf",!1===e.get("spDesc").value)}}function woe(t,n){1&t&&(d(0,"th",75),h(1,"Column Order"),l())}function Coe(t,n){if(1&t&&(d(0,"div"),D(1,"input",139),l()),2&t){const e=w().$implicit;m(1),f("formControl",e.get("spOrder"))}}function Doe(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spOrder").value)}}function koe(t,n){if(1&t&&(d(0,"td",76),_(1,Coe,2,1,"div",12),_(2,Doe,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isIndexEditMode&&e.get("spColName").value),m(1),f("ngIf",!i.isIndexEditMode)}}function Soe(t,n){1&t&&D(0,"th",75)}function Moe(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",109),L("click",function(){ae(e);const o=w().index;return se(w(3).dropIndexKey(o))}),d(6,"span"),h(7,"Drop Index Key"),l()()()()}if(2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}function Toe(t,n){if(1&t&&(d(0,"td",103),_(1,Moe,8,1,"div",12),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isIndexEditMode)),m(1),f("ngIf",i.isIndexEditMode&&e.get("spColName").value)}}function Ioe(t,n){1&t&&D(0,"tr",79)}function Eoe(t,n){1&t&&D(0,"tr",79)}function Ooe(t,n){1&t&&D(0,"tr",140)}function Aoe(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function Poe(t,n){if(1&t){const e=_e();d(0,"div",141)(1,"mat-form-field",142)(2,"mat-label"),h(3,"Column Name"),l(),d(4,"mat-select",143),_(5,Aoe,2,2,"mat-option",94),l()(),d(6,"mat-form-field",144)(7,"mat-label"),h(8,"Sort By"),l(),d(9,"mat-select",145)(10,"mat-option",146),h(11,"Ascending"),l(),d(12,"mat-option",147),h(13,"Descending"),l()()(),d(14,"button",148),L("click",function(){return ae(e),se(w(3).addIndexKey())}),d(15,"mat-icon"),h(16,"add"),l(),d(17,"span"),h(18," ADD COLUMN"),l()()()}if(2&t){const e=w(3);f("formGroup",e.addIndexKeyForm),m(5),f("ngForOf",e.indexColumnNames),m(9),f("disabled",!e.addIndexKeyForm.valid)}}function Roe(t,n){if(1&t&&(d(0,"div",128)(1,"table",33),xe(2,34),_(3,ooe,2,1,"th",129),we(),xe(4,47),_(5,aoe,5,1,"th",63),we(),xe(6,130),_(7,soe,2,0,"th",37),_(8,coe,2,1,"td",38),we(),xe(9,131),_(10,loe,2,0,"th",41),_(11,hoe,3,2,"td",38),we(),xe(12,132),_(13,moe,2,0,"th",37),_(14,poe,2,1,"td",38),we(),xe(15,133),_(16,foe,2,0,"th",41),_(17,_oe,2,1,"td",38),we(),xe(18,134),_(19,boe,2,0,"th",41),_(20,xoe,3,2,"td",38),we(),xe(21,135),_(22,woe,2,0,"th",37),_(23,koe,3,2,"td",38),we(),xe(24,54),_(25,Soe,1,0,"th",41),_(26,Toe,2,4,"td",55),we(),_(27,Ioe,1,0,"tr",45),_(28,Eoe,1,0,"tr",45),_(29,Ooe,1,0,"tr",136),l(),_(30,Poe,19,3,"div",137),l()),2&t){const e=w(2);m(1),f("dataSource",e.spDataSource),m(26),f("matHeaderRowDef",Ko(5,P0)),m(1),f("matHeaderRowDef",e.indexDisplayedColumns),m(1),f("matRowDefColumns",e.indexDisplayedColumns),m(1),f("ngIf",e.isIndexEditMode&&e.indexColumnNames.length>0)}}function Foe(t,n){1&t&&D(0,"mat-divider")}function Noe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).toggleEdit())}),h(1," CANCEL "),l()}}function Loe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",150),L("click",function(){return ae(e),se(w(2).saveColumnTable())}),h(2," SAVE & CONVERT "),l(),_(3,Noe,2,0,"button",151),l()}if(2&t){const e=w(2);m(1),f("disabled",!e.spRowArray.valid),m(2),f("ngIf",e.currentObject.isSpannerNode)}}function Boe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).togglePkEdit())}),h(1," CANCEL "),l()}}function Voe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",150),L("click",function(){return ae(e),se(w(2).savePk())}),h(2," SAVE & CONVERT "),l(),_(3,Boe,2,0,"button",151),l()}if(2&t){const e=w(2);m(1),f("disabled",!e.pkArray.valid),m(2),f("ngIf",e.currentObject.isSpannerNode)}}function joe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).toggleFkEdit())}),h(1," CANCEL "),l()}}function zoe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",125),L("click",function(){return ae(e),se(w(2).saveFk())}),h(2,"SAVE & CONVERT"),l(),_(3,joe,2,0,"button",151),l()}if(2&t){const e=w(2);m(3),f("ngIf",e.currentObject.isSpannerNode)}}function Hoe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).toggleIndexEdit())}),h(1," CANCEL "),l()}}function Uoe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",125),L("click",function(){return ae(e),se(w(2).saveIndex())}),h(2,"SAVE & CONVERT"),l(),_(3,Hoe,2,0,"button",151),l()}if(2&t){const e=w(2);m(3),f("ngIf",e.currentObject.isSpannerNode)}}function $oe(t,n){if(1&t){const e=_e();d(0,"div",13)(1,"div",3)(2,"span")(3,"h3",4),_(4,Dte,2,0,"mat-icon",14),_(5,kte,2,0,"svg",15),d(6,"span",16),h(7),l(),_(8,Ste,3,3,"span",12),_(9,Mte,5,0,"button",17),_(10,Tte,5,0,"button",17),_(11,Ite,5,0,"button",17),_(12,Ete,5,0,"button",17),l(),_(13,Ote,4,1,"div",18),l(),d(14,"button",5),L("click",function(){return ae(e),se(w().middleColumnToggle())}),d(15,"mat-icon",6),h(16,"first_page"),l(),d(17,"mat-icon",6),h(18,"last_page"),l()()(),_(19,noe,139,27,"mat-tab-group",19),_(20,Roe,31,6,"div",20),d(21,"div",21),_(22,Foe,1,0,"mat-divider",12),_(23,Loe,4,2,"div",22),_(24,Voe,4,2,"div",22),_(25,zoe,4,1,"div",22),_(26,Uoe,4,1,"div",22),l()()}if(2&t){const e=w();m(4),f("ngIf",e.currentObject.type===e.ObjectExplorerNodeType.Table),m(1),f("ngIf",e.currentObject.type===e.ObjectExplorerNodeType.Index),m(2),Re(" "+e.currentObject.name+" "),m(1),f("ngIf",""!=e.currentObject.parent),m(1),f("ngIf",e.currentObject.isSpannerNode&&!e.currentObject.isDeleted&&"indexName"===e.currentObject.type),m(1),f("ngIf",e.currentObject.isSpannerNode&&e.currentObject.isDeleted&&e.currentObject.type==e.ObjectExplorerNodeType.Index),m(1),f("ngIf",e.currentObject.isSpannerNode&&"indexName"!==e.currentObject.type&&!e.currentObject.isDeleted),m(1),f("ngIf",e.currentObject.isSpannerNode&&e.currentObject.isDeleted&&e.currentObject.type==e.ObjectExplorerNodeType.Table),m(1),f("ngIf",e.interleaveParentName&&e.currentObject.isSpannerNode),m(2),f("ngClass",ii(18,ff,e.isMiddleColumnCollapse?"display":"hidden")),m(2),f("ngClass",ii(20,ff,e.isMiddleColumnCollapse?"hidden":"display")),m(2),f("ngIf","tableName"===e.currentObject.type),m(1),f("ngIf","indexName"===e.currentObject.type),m(2),f("ngIf",e.isEditMode||e.isPkEditMode||e.isFkEditMode),m(1),f("ngIf",e.isEditMode&&0===e.currentTabIndex),m(1),f("ngIf",e.isPkEditMode&&1===e.currentTabIndex),m(1),f("ngIf",e.isFkEditMode&&2===e.currentTabIndex),m(1),f("ngIf",e.isIndexEditMode&&-1===e.currentTabIndex)}}let Goe=(()=>{class t{constructor(e,i,o,r,a,s,c){this.data=e,this.dialog=i,this.snackbar=o,this.conversion=r,this.sidenav=a,this.tableUpdatePubSub=s,this.fb=c,this.currentObject=null,this.typeMap={},this.defaultTypeMap={},this.ddlStmts={},this.fkData=[],this.tableData=[],this.currentDatabase="spanner",this.indexData=[],this.srcDbName=localStorage.getItem($i.SourceDbName),this.updateSidebar=new Ne,this.ObjectExplorerNodeType=oi,this.conv={},this.interleaveParentName=null,this.localTableData=[],this.localIndexData=[],this.isMiddleColumnCollapse=!1,this.isPostgreSQLDialect=!1,this.srcDisplayedColumns=["srcOrder","srcColName","srcDataType","srcColMaxLength","srcIsPk","srcIsNotNull"],this.spDisplayedColumns=["spColName","spDataType","spColMaxLength","spIsPk","spIsNotNull","dropButton"],this.displayedFkColumns=["srcName","srcColumns","srcReferTable","srcReferColumns","spName","spColumns","spReferTable","spReferColumns","dropButton"],this.displayedPkColumns=["srcOrder","srcColName","srcDataType","srcIsPk","srcIsNotNull","spOrder","spColName","spDataType","spIsPk","spIsNotNull","dropButton"],this.indexDisplayedColumns=["srcIndexColName","srcSortBy","srcIndexOrder","spIndexColName","spSortBy","spIndexOrder","dropButton"],this.spDataSource=[],this.srcDataSource=[],this.fkDataSource=[],this.pkDataSource=[],this.pkData=[],this.isPkEditMode=!1,this.isEditMode=!1,this.isFkEditMode=!1,this.isIndexEditMode=!1,this.isObjectSelected=!1,this.srcRowArray=this.fb.array([]),this.spRowArray=this.fb.array([]),this.pkArray=this.fb.array([]),this.fkArray=this.fb.array([]),this.isSpTableSuggesstionDisplay=[],this.spTableSuggestion=[],this.currentTabIndex=0,this.addedColumnName="",this.droppedColumns=[],this.droppedSourceColumns=[],this.pkColumnNames=[],this.indexColumnNames=[],this.shardIdCol="",this.addColumnForm=new ni({columnName:new Q("",[me.required])}),this.addIndexKeyForm=new ni({columnName:new Q("",[me.required]),ascOrDesc:new Q("",[me.required])}),this.addedPkColumnName="",this.addPkColumnForm=new ni({columnName:new Q("",[me.required])}),this.pkObj={},this.dataTypesWithColLen=ln.DataTypes}ngOnInit(){this.data.conv.subscribe({next:e=>{this.conv=e,this.isPostgreSQLDialect="postgresql"===this.conv.SpDialect}})}ngOnChanges(e){this.fkData=e.fkData?.currentValue||this.fkData,this.currentObject=e.currentObject?.currentValue||this.currentObject,this.tableData=e.tableData?.currentValue||this.tableData,this.indexData=e.indexData?.currentValue||this.indexData,this.currentDatabase=e.currentDatabase?.currentValue||this.currentDatabase,this.currentTabIndex=this.currentObject?.type===oi.Table?0:-1,this.isObjectSelected=!!this.currentObject,this.pkData=this.conversion.getPkMapping(this.tableData),this.interleaveParentName=this.getInterleaveParentFromConv(),this.isEditMode=!1,this.isFkEditMode=!1,this.isIndexEditMode=!1,this.isPkEditMode=!1,this.srcRowArray=this.fb.array([]),this.spRowArray=this.fb.array([]),this.droppedColumns=[],this.droppedSourceColumns=[],this.pkColumnNames=[],this.interleaveParentName=this.getInterleaveParentFromConv(),this.localTableData=JSON.parse(JSON.stringify(this.tableData)),this.localIndexData=JSON.parse(JSON.stringify(this.indexData)),this.currentObject?.type===oi.Table?(this.checkIsInterleave(),this.interleaveObj=this.data.tableInterleaveStatus.subscribe(i=>{this.interleaveStatus=i}),this.setSrcTableRows(),this.setSpTableRows(),this.setColumnsToAdd(),this.setAddPkColumnList(),this.setPkOrder(),this.setPkRows(),this.setFkRows(),this.updateSpTableSuggestion(),this.setShardIdColumn()):this.currentObject?.type===oi.Index&&(this.indexOrderValidation(),this.setIndexRows()),this.data.getSummary()}setSpTableRows(){this.spRowArray=this.fb.array([]),this.localTableData.forEach(e=>{if(e.spOrder){let i=new ni({srcOrder:new Q(e.srcOrder),srcColName:new Q(e.srcColName),srcDataType:new Q(e.srcDataType),srcIsPk:new Q(e.srcIsPk),srcIsNotNull:new Q(e.srcIsNotNull),srcColMaxLength:new Q(e.srcColMaxLength),spOrder:new Q(e.srcOrder),spColName:new Q(e.spColName,[me.required,me.pattern("^[a-zA-Z]([a-zA-Z0-9/_]*[a-zA-Z0-9])?")]),spDataType:new Q(e.spDataType),spIsPk:new Q(e.spIsPk),spIsNotNull:new Q(e.spIsNotNull),spId:new Q(e.spId),srcId:new Q(e.srcId),spColMaxLength:new Q(e.spColMaxLength,[me.required])});this.dataTypesWithColLen.indexOf(e.spDataType.toString())>-1?(i.get("spColMaxLength")?.setValidators([me.required,me.pattern("([1-9][0-9]*|MAX)")]),(void 0===e.spColMaxLength||"MAX"!==e.spColMaxLength&&(("STRING"===e.spDataType||"VARCHAR"===e.spDataType)&&"number"==typeof e.spColMaxLength&&e.spColMaxLength>ln.StringMaxLength||"BYTES"===e.spDataType&&"number"==typeof e.spColMaxLength&&e.spColMaxLength>ln.ByteMaxLength))&&i.get("spColMaxLength")?.setValue("MAX")):i.controls.spColMaxLength.clearValidators(),i.controls.spColMaxLength.updateValueAndValidity(),this.spRowArray.push(i)}}),this.spDataSource=this.spRowArray.controls}setSrcTableRows(){this.srcRowArray=this.fb.array([]),this.localTableData.forEach(e=>{this.srcRowArray.push(new ni(""!=e.spColName?{srcOrder:new Q(e.srcOrder),srcColName:new Q(e.srcColName),srcDataType:new Q(e.srcDataType),srcIsPk:new Q(e.srcIsPk),srcIsNotNull:new Q(e.srcIsNotNull),srcColMaxLength:new Q(e.srcColMaxLength),spOrder:new Q(e.spOrder),spColName:new Q(e.spColName),spDataType:new Q(e.spDataType),spIsPk:new Q(e.spIsPk),spIsNotNull:new Q(e.spIsNotNull),spId:new Q(e.spId),srcId:new Q(e.srcId),spColMaxLength:new Q(e.spColMaxLength)}:{srcOrder:new Q(e.srcOrder),srcColName:new Q(e.srcColName),srcDataType:new Q(e.srcDataType),srcIsPk:new Q(e.srcIsPk),srcIsNotNull:new Q(e.srcIsNotNull),srcColMaxLength:new Q(e.srcColMaxLength),spOrder:new Q(e.srcOrder),spColName:new Q(e.srcColName),spDataType:new Q(this.defaultTypeMap[e.srcDataType].Name),spIsPk:new Q(e.srcIsPk),spIsNotNull:new Q(e.srcIsNotNull),spColMaxLength:new Q(e.srcColMaxLength)}))}),this.srcDataSource=this.srcRowArray.controls}setColumnsToAdd(){this.localTableData.forEach(e=>{e.spColName||this.srcRowArray.value.forEach(i=>{e.srcColName==i.srcColName&&""!=i.srcColName&&(this.droppedColumns.push(i),this.droppedSourceColumns.push(i.srcColName))})})}toggleEdit(){this.currentTabIndex=0,this.isEditMode?(this.localTableData=JSON.parse(JSON.stringify(this.tableData)),this.setSpTableRows(),this.isEditMode=!1):this.isEditMode=!0}saveColumnTable(){this.isEditMode=!1;let i,e={UpdateCols:{}};this.conversion.pgSQLToStandardTypeTypeMap.subscribe(o=>{i=o}),this.spRowArray.value.forEach((o,r)=>{for(let a=0;aln.StringMaxLength||"BYTES"===o.spDataType&&"number"==typeof o.spColMaxLength&&o.spColMaxLength>ln.ByteMaxLength)&&(o.spColMaxLength="MAX"),"number"==typeof o.spColMaxLength&&(o.spColMaxLength=o.spColMaxLength.toString()),"STRING"!=o.spDataType&&"BYTES"!=o.spDataType&&"VARCHAR"!=o.spDataType&&(o.spColMaxLength=""),o.srcId==this.tableData[a].srcId&&""!=this.tableData[a].srcId){e.UpdateCols[this.tableData[a].srcId]={Add:""==this.tableData[a].spId,Rename:s.spColName!==o.spColName?o.spColName:"",NotNull:o.spIsNotNull?"ADDED":"REMOVED",Removed:!1,ToType:"postgresql"===this.conv.SpDialect?void 0===c?o.spDataType:c:o.spDataType,MaxColLength:o.spColMaxLength};break}o.spId==this.tableData[a].spId&&(e.UpdateCols[this.tableData[a].spId]={Add:""==this.tableData[a].spId,Rename:s.spColName!==o.spColName?o.spColName:"",NotNull:o.spIsNotNull?"ADDED":"REMOVED",Removed:!1,ToType:"postgresql"===this.conv.SpDialect?void 0===c?o.spDataType:c:o.spDataType,MaxColLength:o.spColMaxLength})}}),this.droppedColumns.forEach(o=>{e.UpdateCols[o.spId]={Add:!1,Rename:"",NotNull:"",Removed:!0,ToType:"",MaxColLength:""}}),this.data.reviewTableUpdate(this.currentObject.id,e).subscribe({next:o=>{""==o?(this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("reviewChanges"),this.tableUpdatePubSub.setTableUpdateDetail({tableName:this.currentObject.name,tableId:this.currentObject.id,updateDetail:e}),this.isEditMode=!0):(this.dialog.open(Co,{data:{message:o,type:"error"},maxWidth:"500px"}),this.isEditMode=!0)}})}addNewColumn(){this.dialog.open(yte,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{dialect:this.conv.SpDialect,tableId:this.currentObject?.id}})}setColumn(e){this.addedColumnName=e}restoreColumn(){let e=this.tableData.map(r=>r.srcColName).indexOf(this.addedColumnName),i=this.droppedColumns.map(r=>r.srcColName).indexOf(this.addedColumnName);this.localTableData[e].spColName=this.droppedColumns[i].spColName,this.localTableData[e].spDataType=this.droppedColumns[i].spDataType,this.localTableData[e].spOrder=-1,this.localTableData[e].spIsPk=this.droppedColumns[i].spIsPk,this.localTableData[e].spIsNotNull=this.droppedColumns[i].spIsNotNull,this.localTableData[e].spColMaxLength=this.droppedColumns[i].spColMaxLength;let o=this.droppedColumns.map(r=>r.spColName).indexOf(this.addedColumnName);o>-1&&(this.droppedColumns.splice(o,1),this.droppedSourceColumns.indexOf(this.addedColumnName)>-1&&this.droppedSourceColumns.splice(this.droppedSourceColumns.indexOf(this.addedColumnName),1)),this.setSpTableRows()}dropColumn(e){let i=e.get("srcColName").value,o=e.get("srcId").value,r=e.get("spId").value,a=""!=o?o:r,s=e.get("spColName").value,c=this.getAssociatedIndexs(a);if(this.checkIfPkColumn(a)||0!=c.length){let u="",p="",b="";this.checkIfPkColumn(a)&&(u=" Primary key"),0!=c.length&&(p=` Index ${c}`),""!=u&&""!=p&&(b=" and"),this.dialog.open(Co,{data:{message:`Column ${s} is a part of${u}${b}${p}. Remove the dependencies from respective tabs before dropping the Column. `,type:"error"},maxWidth:"500px"})}else this.spRowArray.value.forEach((u,p)=>{u.spId===r&&this.droppedColumns.push(u)}),this.dropColumnFromUI(r),""!==i&&this.droppedSourceColumns.push(i)}checkIfPkColumn(e){let i=!1;return null!=this.conv.SpSchema[this.currentObject.id].PrimaryKeys&&this.conv.SpSchema[this.currentObject.id].PrimaryKeys.map(o=>o.ColId).includes(e)&&(i=!0),i}setShardIdColumn(){void 0!==this.conv.SpSchema[this.currentObject.id]&&(this.shardIdCol=this.conv.SpSchema[this.currentObject.id].ShardIdColumn)}getAssociatedIndexs(e){let i=[];return null!=this.conv.SpSchema[this.currentObject.id].Indexes&&this.conv.SpSchema[this.currentObject.id].Indexes.forEach(o=>{o.Keys.map(r=>r.ColId).includes(e)&&i.push(o.Name)}),i}dropColumnFromUI(e){this.localTableData.forEach((i,o)=>{i.spId==e&&(i.spColName="",i.spDataType="",i.spIsNotNull=!1,i.spIsPk=!1,i.spOrder="",i.spColMaxLength="")}),this.setSpTableRows()}updateSpTableSuggestion(){this.isSpTableSuggesstionDisplay=[],this.spTableSuggestion=[],this.localTableData.forEach(e=>{const i=e.srcDataType,o=e.spDataType;let r="";this.typeMap[i]?.forEach(a=>{o==a.DiplayT&&(r=a.Brief)}),this.isSpTableSuggesstionDisplay.push(""!==r),this.spTableSuggestion.push(r)})}spTableEditSuggestionHandler(e,i){let r="";this.typeMap[this.localTableData[e].srcDataType].forEach(a=>{i==a.T&&(r=a.Brief)}),this.isSpTableSuggesstionDisplay[e]=""!==r,this.spTableSuggestion[e]=r}setPkRows(){this.pkArray=this.fb.array([]),this.pkOrderValidation();var e=new Array,i=new Array;this.pkData.forEach(o=>{o.srcIsPk&&e.push({srcColName:o.srcColName,srcDataType:o.srcDataType,srcIsNotNull:o.srcIsNotNull,srcIsPk:o.srcIsPk,srcOrder:o.srcOrder,srcId:o.srcId}),o.spIsPk&&i.push({spColName:o.spColName,spDataType:o.spDataType,spIsNotNull:o.spIsNotNull,spIsPk:o.spIsPk,spOrder:o.spOrder,spId:o.spId})}),i.sort((o,r)=>o.spOrder-r.spOrder);for(let o=0;oMath.min(e.length,i.length))for(let o=Math.min(e.length,i.length);oMath.min(e.length,i.length))for(let o=Math.min(e.length,i.length);or.spColName).indexOf(this.addedPkColumnName),i=this.localTableData[e],o=1;this.localTableData[e].spIsPk=!0,this.pkData=[],this.pkData=this.conversion.getPkMapping(this.localTableData),e=this.pkData.findIndex(r=>r.srcId===i.srcId||r.spId==i.spId),this.pkArray.value.forEach(r=>{r.spIsPk&&(o+=1);for(let a=0;a{i.spIsPk&&e.push(i.spColName)});for(let i=0;i{if(this.pkData[i].spId===this.conv.SpSchema[this.currentObject.id].PrimaryKeys[i].ColId)this.pkData[i].spOrder=this.conv.SpSchema[this.currentObject.id].PrimaryKeys[i].Order;else{let o=this.conv.SpSchema[this.currentObject.id].PrimaryKeys.map(r=>r.ColId).indexOf(e.spId);e.spOrder=this.conv.SpSchema[this.currentObject.id].PrimaryKeys[o]?.Order}}:(e,i)=>{let o=this.conv.SpSchema[this.currentObject.id]?.PrimaryKeys.map(r=>r.ColId).indexOf(e.spId);-1!==o&&(e.spOrder=this.conv.SpSchema[this.currentObject.id]?.PrimaryKeys[o].Order)})}pkOrderValidation(){let e=this.pkData.filter(i=>i.spIsPk).map(i=>Number(i.spOrder));if(e.sort((i,o)=>i-o),e[e.length-1]>e.length&&e.forEach((i,o)=>{this.pkData.forEach(r=>{r.spOrder==i&&(r.spOrder=o+1)})}),0==e[0]&&e[e.length-1]<=e.length){let i;for(let o=0;o{"number"==typeof o.spOrder&&o.spOrder{o.spIsPk&&i.push({ColId:o.spId,Desc:typeof this.conv.SpSchema[this.currentObject.id].PrimaryKeys.find(({ColId:r})=>r===o.spId)<"u"&&this.conv.SpSchema[this.currentObject.id].PrimaryKeys.find(({ColId:r})=>r===o.spId).Desc,Order:parseInt(o.spOrder)})}),this.pkObj.TableId=e,this.pkObj.Columns=i}togglePkEdit(){this.currentTabIndex=1,this.isPkEditMode?(this.localTableData=JSON.parse(JSON.stringify(this.tableData)),this.pkData=this.conversion.getPkMapping(this.tableData),this.setAddPkColumnList(),this.setPkOrder(),this.setPkRows(),this.isPkEditMode=!1):this.isPkEditMode=!0}savePk(){if(this.pkArray.value.forEach(e=>{for(let i=0;i{o&&this.data.removeInterleave(""!=this.conv.SpSchema[this.currentObject.id].ParentId?this.currentObject.id:this.conv.SpSchema[e].Id).pipe(Pt(1)).subscribe(a=>{this.updatePk()})}):this.updatePk()}}updatePk(){this.isPkEditMode=!1,this.data.updatePk(this.pkObj).subscribe({next:e=>{""==e?this.isEditMode=!1:(this.dialog.open(Co,{data:{message:e,type:"error"},maxWidth:"500px"}),this.isPkEditMode=!0)}})}dropPk(e){let i=this.localTableData.map(a=>a.spColName).indexOf(e.value.spColName);this.localTableData[i].spId==(this.conv.SyntheticPKeys[this.currentObject.id]?this.conv.SyntheticPKeys[this.currentObject.id].ColId:"")?this.dialog.open(Co,{data:{message:"Removing this synthetic id column from primary key will drop the column from the table",title:"Confirm removal of synthetic id",type:"warning"},maxWidth:"500px"}).afterClosed().subscribe(s=>{s&&this.dropPkHelper(i,e.value.spOrder)}):this.dropPkHelper(i,e.value.spOrder)}dropPkHelper(e,i){this.localTableData[e].spIsPk=!1,this.pkData=[],this.pkData=this.conversion.getPkMapping(this.localTableData),this.pkArray.value.forEach(o=>{for(let r=0;r{"number"==typeof o.spOrder&&o.spOrder>i&&(o.spOrder=Number(o.spOrder)-1)}),this.setAddPkColumnList(),this.setPkRows()}setFkRows(){this.fkArray=this.fb.array([]);var e=new Array,i=new Array;this.fkData.forEach(o=>{e.push({srcName:o.srcName,srcColumns:o.srcColumns,srcRefTable:o.srcReferTable,srcRefColumns:o.srcReferColumns,Id:o.srcFkId}),""!=o.spName&&i.push({spName:o.spName,spColumns:o.spColumns,spRefTable:o.spReferTable,spRefColumns:o.spReferColumns,Id:o.spFkId,spColIds:o.spColIds,spReferColumnIds:o.spReferColumnIds,spReferTableId:o.spReferTableId})});for(let o=0;oMath.min(e.length,i.length))for(let o=Math.min(e.length,i.length);o{e.push({Name:i.spName,ColIds:i.spColIds,ReferTableId:i.spReferTableId,ReferColumnIds:i.spReferColumnIds,Id:i.spFkId})}),this.data.updateFkNames(this.currentObject.id,e).subscribe({next:i=>{""==i?this.isFkEditMode=!1:this.dialog.open(Co,{data:{message:i,type:"error"},maxWidth:"500px"})}})}dropFk(e){this.fkData.forEach(i=>{i.spName==e.get("spName").value&&(i.spName="",i.spColumns=[],i.spReferTable="",i.spReferColumns=[],i.spColIds=[],i.spReferColumnIds=[],i.spReferTableId="")}),this.setFkRows()}getRemovedFkIndex(e){let i=-1;return this.fkArray.value.forEach((o,r)=>{o.spName===e.get("spName").value&&(i=r)}),i}removeInterleave(){this.data.removeInterleave(this.currentObject.id).pipe(Pt(1)).subscribe(i=>{""===i&&this.snackbar.openSnackBar("Interleave removed and foreign key restored successfully","Close",5)})}checkIsInterleave(){this.currentObject&&!this.currentObject?.isDeleted&&this.currentObject?.isSpannerNode&&this.data.getInterleaveConversionForATable(this.currentObject.id)}setInterleave(){this.data.setInterleave(this.currentObject.id)}getInterleaveParentFromConv(){return this.currentObject?.type===oi.Table&&this.currentObject.isSpannerNode&&!this.currentObject.isDeleted&&""!=this.conv.SpSchema[this.currentObject.id].ParentId?this.conv.SpSchema[this.conv.SpSchema[this.currentObject.id].ParentId]?.Name:null}setIndexRows(){this.spRowArray=this.fb.array([]);const e=this.localIndexData.map(i=>i.spColName?i.spColName:"").filter(i=>""!=i);this.indexColumnNames=this.conv.SpSchema[this.currentObject.parentId]?.ColIds?.filter(i=>!e.includes(this.conv.SpSchema[this.currentObject.parentId]?.ColDefs[i]?.Name)).map(i=>this.conv.SpSchema[this.currentObject.parentId]?.ColDefs[i]?.Name),this.localIndexData.forEach(i=>{this.spRowArray.push(new ni({srcOrder:new Q(i.srcOrder),srcColName:new Q(i.srcColName),srcDesc:new Q(i.srcDesc),spOrder:new Q(i.spOrder),spColName:new Q(i.spColName,[me.required,me.pattern("^[a-zA-Z]([a-zA-Z0-9/_]*[a-zA-Z0-9])?")]),spDesc:new Q(i.spDesc)}))}),this.spDataSource=this.spRowArray.controls}setIndexOrder(){this.spRowArray.value.forEach(e=>{for(let i=0;i""!=i.spColName).map(i=>Number(i.spOrder));if(e.sort((i,o)=>i-o),e[e.length-1]>e.length&&e.forEach((i,o)=>{this.localIndexData.forEach(r=>{""!=r.spColName&&r.spOrder==i&&(r.spOrder=o+1)})}),0==e[0]&&e[e.length-1]<=e.length){let i;for(let o=0;o{o.spOrder!!i.spColId).map(i=>({ColId:i.spColId,Desc:i.spDesc,Order:i.spOrder})),Id:this.currentObject.id}),0==e[0].Keys.length?this.dropIndex():(this.data.updateIndex(this.currentObject?.parentId,e).subscribe({next:i=>{""==i?this.isEditMode=!1:(this.dialog.open(Co,{data:{message:i,type:"error"},maxWidth:"500px"}),this.isIndexEditMode=!0)}}),this.addIndexKeyForm.controls.columnName.setValue(""),this.addIndexKeyForm.controls.ascOrDesc.setValue(""),this.addIndexKeyForm.markAsUntouched(),this.data.getSummary(),this.isIndexEditMode=!1)}dropIndex(){this.dialog.open(HA,{width:"35vw",minWidth:"450px",maxWidth:"600px",data:{name:this.currentObject?.name,type:fl.Index}}).afterClosed().subscribe(i=>{i===fl.Index&&(this.data.dropIndex(this.currentObject.parentId,this.currentObject.id).pipe(Pt(1)).subscribe(o=>{""===o&&(this.isObjectSelected=!1,this.updateSidebar.emit(!0))}),this.currentObject=null)})}restoreIndex(){this.data.restoreIndex(this.currentObject.parentId,this.currentObject.id).pipe(Pt(1)).subscribe(o=>{""===o&&(this.isObjectSelected=!1)}),this.currentObject=null}dropIndexKey(e){this.localIndexData[e].srcColName?(this.localIndexData[e].spColName="",this.localIndexData[e].spColId="",this.localIndexData[e].spDesc="",this.localIndexData[e].spOrder=""):this.localIndexData.splice(e,1),this.setIndexRows()}addIndexKey(){let e=0;this.localIndexData.forEach(i=>{i.spColName&&(e+=1)}),this.localIndexData.push({spColName:this.addIndexKeyForm.value.columnName,spDesc:"desc"===this.addIndexKeyForm.value.ascOrDesc,spOrder:e+1,srcColName:"",srcDesc:void 0,srcOrder:"",srcColId:void 0,spColId:this.currentObject?this.conversion.getColIdFromSpannerColName(this.addIndexKeyForm.value.columnName,this.currentObject.parentId,this.conv):""}),this.setIndexRows()}restoreSpannerTable(){this.data.restoreTable(this.currentObject.id).pipe(Pt(1)).subscribe(e=>{""===e&&(this.isObjectSelected=!1),this.data.getConversionRate(),this.data.getDdl()}),this.currentObject=null}dropTable(){this.dialog.open(HA,{width:"35vw",minWidth:"450px",maxWidth:"600px",data:{name:this.currentObject?.name,type:fl.Table}}).afterClosed().subscribe(i=>{i===fl.Table&&(this.data.dropTable(this.currentObject.id).pipe(Pt(1)).subscribe(r=>{""===r&&(this.isObjectSelected=!1,this.data.getConversionRate(),this.updateSidebar.emit(!0))}),this.currentObject=null)})}tabChanged(e){this.currentTabIndex=e.index}middleColumnToggle(){this.isMiddleColumnCollapse=!this.isMiddleColumnCollapse,this.sidenav.setMiddleColComponent(this.isMiddleColumnCollapse)}tableInterleaveWith(e){if(""!=this.conv.SpSchema[e].ParentId)return this.conv.SpSchema[e].ParentId;let i="";return Object.keys(this.conv.SpSchema).forEach(o=>{""!=this.conv.SpSchema[o].ParentId&&this.conv.SpSchema[o].ParentId==e&&(i=o)}),i}isPKPrefixModified(e,i){let o,r;this.conv.SpSchema[e].ParentId!=i?(o=this.pkObj.Columns,r=this.conv.SpSchema[i].PrimaryKeys):(r=this.pkObj.Columns,o=this.conv.SpSchema[i].PrimaryKeys);for(let a=0;a{class t{constructor(e,i){this.sidenavService=e,this.data=i,this.dataSource=[],this.currentDataSource=[],this.displayedColumns=["order","name","type","objectType","associatedObject","enabled","view"],this.currentObject=null,this.lengthOfRules=new Ne}ngOnInit(){this.dataSource=[],this.data.rule.subscribe({next:e=>{this.currentDataSource=e,this.updateRules()}})}ngOnChanges(){this.updateRules()}updateRules(){if(this.currentDataSource){let e=[],i=[];e=this.currentDataSource.filter(o=>"global_datatype_change"===o?.Type||"add_shard_id_primary_key"===o?.Type||"edit_column_max_length"===o?.Type&&"All table"===o?.AssociatedObjects),this.currentObject&&("tableName"===this.currentObject?.type||"indexName"===this.currentObject?.type)&&(i=this.currentDataSource.filter(o=>o?.AssociatedObjects===this.currentObject?.id||o?.AssociatedObjects===this.currentObject?.parentId||o?.AssociatedObjects===this.currentObject?.name||o?.AssociatedObjects===this.currentObject?.parent).map(o=>{let r="";return"tableName"===this.currentObject?.type?r=this.currentObject.name:"indexName"===this.currentObject?.type&&(r=this.currentObject.parent),o.AssociatedObjects=r,o})),this.dataSource=[...e,...i],this.lengthOfRules.emit(this.dataSource.length)}else this.dataSource=[],this.lengthOfRules.emit(0)}openSidenav(){this.sidenavService.openSidenav(),this.sidenavService.setSidenavComponent("rule"),this.sidenavService.setSidenavRuleType(""),this.sidenavService.setRuleData({}),this.sidenavService.setDisplayRuleFlag(!1)}viewSidenavRule(e){let i=[];for(let o=0;o{class t{constructor(e,i,o,r,a,s,c){this.data=e,this.conversion=i,this.dialog=o,this.sidenav=r,this.router=a,this.clickEvent=s,this.fetch=c,this.fkData=[],this.tableData=[],this.indexData=[],this.typeMap=!1,this.defaultTypeMap=!1,this.conversionRates={},this.isLeftColumnCollapse=!1,this.isRightColumnCollapse=!0,this.isMiddleColumnCollapse=!0,this.isOfflineStatus=!1,this.spannerTree=[],this.srcTree=[],this.issuesAndSuggestionsLabel="ISSUES AND SUGGESTIONS",this.rulesLabel="RULES (0)",this.objectExplorerInitiallyRender=!1,this.srcDbName=localStorage.getItem($i.SourceDbName),this.conversionRateCount={good:0,ok:0,bad:0},this.conversionRatePercentages={good:0,ok:0,bad:0},this.currentDatabase="spanner",this.dialect="",this.currentObject=null}ngOnInit(){this.conversion.getStandardTypeToPGSQLTypemap(),this.conversion.getPGSQLToStandardTypeTypemap(),this.ddlsumconvObj=this.data.getRateTypemapAndSummary(),this.typemapObj=this.data.typeMap.subscribe(e=>{this.typeMap=e}),this.defaultTypemapObj=this.data.defaultTypeMap.subscribe(e=>{this.defaultTypeMap=e}),this.ddlObj=this.data.ddl.subscribe(e=>{this.ddlStmts=e}),this.sidenav.setMiddleColumnComponent.subscribe(e=>{this.isMiddleColumnCollapse=!e}),this.convObj=this.data.conv.subscribe(e=>{Object.keys(e.SrcSchema).length<=0&&this.router.navigate(["/"]);const i=this.isIndexAddedOrRemoved(e);e&&this.conv&&Object.keys(e?.SpSchema).length!=Object.keys(this.conv?.SpSchema).length&&(this.conv=e,this.reRenderObjectExplorerSpanner(),this.reRenderObjectExplorerSrc()),this.conv=e,this.conv.DatabaseType&&(this.srcDbName=mf(this.conv.DatabaseType)),i&&this.conversionRates&&this.reRenderObjectExplorerSpanner(),!this.objectExplorerInitiallyRender&&this.conversionRates&&(this.reRenderObjectExplorerSpanner(),this.reRenderObjectExplorerSrc(),this.objectExplorerInitiallyRender=!0),this.currentObject&&this.currentObject.type===oi.Table&&(this.fkData=this.currentObject?this.conversion.getFkMapping(this.currentObject.id,e):[],this.tableData=this.currentObject?this.conversion.getColumnMapping(this.currentObject.id,e):[]),this.currentObject&&this.currentObject?.type===oi.Index&&!i&&(this.indexData=this.conversion.getIndexMapping(this.currentObject.parentId,this.conv,this.currentObject.id)),this.dialect="postgresql"===this.conv.SpDialect?"PostgreSQL":"Google Standard SQL"}),this.converObj=this.data.conversionRate.subscribe(e=>{this.conversionRates=e,this.updateConversionRatePercentages(),this.conv?(this.reRenderObjectExplorerSpanner(),this.reRenderObjectExplorerSrc(),this.objectExplorerInitiallyRender=!0):this.objectExplorerInitiallyRender=!1}),this.data.isOffline.subscribe({next:e=>{this.isOfflineStatus=e}})}ngOnDestroy(){this.typemapObj.unsubscribe(),this.convObj.unsubscribe(),this.ddlObj.unsubscribe(),this.ddlsumconvObj.unsubscribe()}updateConversionRatePercentages(){let e=Object.keys(this.conversionRates).length;this.conversionRateCount={good:0,ok:0,bad:0},this.conversionRatePercentages={good:0,ok:0,bad:0};for(const i in this.conversionRates)"NONE"===this.conversionRates[i]||"EXCELLENT"===this.conversionRates[i]?this.conversionRateCount.good+=1:"GOOD"===this.conversionRates[i]||"OK"===this.conversionRates[i]?this.conversionRateCount.ok+=1:this.conversionRateCount.bad+=1;if(e>0)for(let i in this.conversionRatePercentages)this.conversionRatePercentages[i]=Number((this.conversionRateCount[i]/e*100).toFixed(2))}reRenderObjectExplorerSpanner(){this.spannerTree=this.conversion.createTreeNode(this.conv,this.conversionRates)}reRenderObjectExplorerSrc(){this.srcTree=this.conversion.createTreeNodeForSource(this.conv,this.conversionRates)}reRenderSidebar(){this.reRenderObjectExplorerSpanner()}changeCurrentObject(e){e?.type===oi.Table?(this.currentObject=e,this.tableData=this.currentObject?this.conversion.getColumnMapping(this.currentObject.id,this.conv):[],this.fkData=[],this.fkData=this.currentObject?this.conversion.getFkMapping(this.currentObject.id,this.conv):[]):e?.type===oi.Index?(this.currentObject=e,this.indexData=this.conversion.getIndexMapping(e.parentId,this.conv,e.id)):this.currentObject=null}changeCurrentDatabase(e){this.currentDatabase=e}updateIssuesLabel(e){setTimeout(()=>{this.issuesAndSuggestionsLabel=`ISSUES AND SUGGESTIONS (${e})`})}updateRulesLabel(e){setTimeout(()=>{this.rulesLabel=`RULES (${e})`})}leftColumnToggle(){this.isLeftColumnCollapse=!this.isLeftColumnCollapse}middleColumnToggle(){this.isMiddleColumnCollapse=!this.isMiddleColumnCollapse}rightColumnToggle(){this.isRightColumnCollapse=!this.isRightColumnCollapse}openAssessment(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("assessment");let e="";if(localStorage.getItem($i.Type)==An.DirectConnect){let r=JSON.parse(localStorage.getItem($i.Config));e=r?.hostName+" : "+r?.port}else e=this.conv.DatabaseName;this.clickEvent.setViewAssesmentData({srcDbType:this.srcDbName,connectionDetail:e,conversionRates:this.conversionRateCount})}openSaveSessionSidenav(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("saveSession"),this.sidenav.setSidenavDatabaseName(this.conv.DatabaseName)}downloadSession(){RA(this.conv)}downloadArtifacts(){let e=new BA,i=`${this.conv.DatabaseName}`;this.fetch.getDStructuredReport().subscribe({next:o=>{let r=JSON.stringify(o).replace(/9223372036854776000/g,"9223372036854775807");e.file(i+"_migration_structuredReport.json",r),this.fetch.getDTextReport().subscribe({next:s=>{e.file(i+"_migration_textReport.txt",s),this.fetch.getDSpannerDDL().subscribe({next:c=>{e.file(i+"_spannerDDL.txt",c);let u=JSON.stringify(this.conv).replace(/9223372036854776000/g,"9223372036854775807");e.file(`${this.conv.SessionName}_${this.conv.DatabaseType}_${i}.json`,u),e.generateAsync({type:"blob"}).then(b=>{var y=document.createElement("a");y.href=URL.createObjectURL(b),y.download=`${i}_artifacts`,y.click()})}})}})}})}downloadStructuredReport(){var e=document.createElement("a");this.fetch.getDStructuredReport().subscribe({next:i=>{let o=JSON.stringify(i).replace(/9223372036854776000/g,"9223372036854775807");e.href="data:text/json;charset=utf-8,"+encodeURIComponent(o),e.download=`${this.conv.DatabaseName}_migration_structuredReport.json`,e.click()}})}downloadTextReport(){var e=document.createElement("a");this.fetch.getDTextReport().subscribe({next:i=>{e.href="data:text;charset=utf-8,"+encodeURIComponent(i),e.download=`${this.conv.DatabaseName}_migration_textReport.txt`,e.click()}})}downloadDDL(){var e=document.createElement("a");this.fetch.getDSpannerDDL().subscribe({next:i=>{e.href="data:text;charset=utf-8,"+encodeURIComponent(i),e.download=`${this.conv.DatabaseName}_spannerDDL.txt`,e.click()}})}updateSpannerTable(e){this.spannerTree=this.conversion.createTreeNode(this.conv,this.conversionRates,e.text,e.order)}updateSrcTable(e){this.srcTree=this.conversion.createTreeNodeForSource(this.conv,this.conversionRates,e.text,e.order)}isIndexAddedOrRemoved(e){if(this.conv){let i=0,o=0;return Object.entries(this.conv.SpSchema).forEach(r=>{i+=r[1].Indexes?r[1].Indexes.length:0}),Object.entries(e.SpSchema).forEach(r=>{o+=r[1].Indexes?r[1].Indexes.length:0}),i!==o}return!1}prepareMigration(){this.fetch.getTableWithErrors().subscribe({next:e=>{if(null!=e&&0!=e.length){console.log(e.map(o=>o.Name).join(", "));let i="Please fix the errors for the following tables to move ahead: "+e.map(o=>o.Name).join(", ");this.dialog.open(Co,{data:{message:i,type:"error",title:"Error in Spanner Draft"},maxWidth:"500px"})}else this.isOfflineStatus?this.dialog.open(Co,{data:{message:"Please configure spanner project id and instance id to proceed",type:"error",title:"Configure Spanner"},maxWidth:"500px"}):0==Object.keys(this.conv.SpSchema).length?this.dialog.open(Co,{data:{message:"Please restore some table(s) to proceed with the migration",type:"error",title:"All tables skipped"},maxWidth:"500px"}):this.router.navigate(["/prepare-migration"])}})}spannerTab(){this.clickEvent.setTabToSpanner()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(Rs),g(br),g(Pn),g(cn),g(jo),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-workspace"]],decls:57,vars:59,consts:[[1,"header"],[1,"breadcrumb","vertical-center"],["mat-button","",1,"breadcrumb_source",3,"routerLink"],["mat-button","",1,"breadcrumb_workspace",3,"routerLink"],[1,"header_action"],["matTooltip","Connect to a spanner instance to run migration",3,"matTooltipDisabled"],["mat-button","",3,"click"],["mat-button","",3,"click",4,"ngIf"],[1,"artifactsButtons"],["mat-raised-button","","color","primary",1,"split-button-left",3,"click"],["mat-raised-button","","color","primary",1,"split-button-right",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","More options"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"click"],[1,"container"],[1,"summary"],[1,"spanner-tab-link",3,"click"],[1,"columns"],[1,"column-left",3,"ngClass"],[3,"spannerTree","srcTree","srcDbName","selectedDatabase","selectObject","updateSpannerTable","updateSrcTable","leftCollaspe","middleCollapse"],[1,"column-middle",3,"ngClass"],[3,"currentObject","tableData","indexData","typeMap","ddlStmts","fkData","currentDatabase","defaultTypeMap","updateSidebar"],[1,"column-right",3,"ngClass"],[3,"ngClass","label"],[3,"currentObject","changeIssuesLabel"],[3,"currentObject","lengthOfRules"],["id","right-column-toggle-button",3,"click"],[3,"ngClass"]],template:function(i,o){if(1&i&&(d(0,"div")(1,"div",0)(2,"div",1)(3,"a",2),h(4,"Select Source"),l(),d(5,"span"),h(6,">"),l(),d(7,"a",3)(8,"b"),h(9),l()()(),d(10,"div",4)(11,"span",5)(12,"button",6),L("click",function(){return o.prepareMigration()}),h(13," PREPARE MIGRATION "),l()(),d(14,"button",6),L("click",function(){return o.openAssessment()}),h(15,"VIEW ASSESSMENT"),l(),_(16,pre,2,0,"button",7),d(17,"span",8)(18,"button",9),L("click",function(){return o.downloadArtifacts()}),h(19," DOWNLOAD ARTIFACTS "),l(),d(20,"button",10)(21,"mat-icon",11),h(22,"expand_more"),l()(),d(23,"mat-menu",12,13)(25,"button",14),L("click",function(){return o.downloadTextReport()}),h(26,"Download Text Report"),l(),d(27,"button",14),L("click",function(){return o.downloadStructuredReport()}),h(28,"Download Structured Report"),l(),d(29,"button",14),L("click",function(){return o.downloadSession()}),h(30,"Download Session File"),l(),d(31,"button",14),L("click",function(){return o.downloadDDL()}),h(32,"Download Spanner DDL"),l()()()()(),d(33,"div",15)(34,"div",16),h(35),D(36,"br"),h(37," To make schema changes go to "),d(38,"a",17),L("click",function(){return o.spannerTab()}),h(39,"Spanner Draft"),l(),h(40," pane. "),l()(),d(41,"div",18)(42,"div",19)(43,"app-object-explorer",20),L("selectedDatabase",function(a){return o.changeCurrentDatabase(a)})("selectObject",function(a){return o.changeCurrentObject(a)})("updateSpannerTable",function(a){return o.updateSpannerTable(a)})("updateSrcTable",function(a){return o.updateSrcTable(a)})("leftCollaspe",function(){return o.leftColumnToggle()})("middleCollapse",function(){return o.middleColumnToggle()}),l()(),d(44,"div",21)(45,"app-object-detail",22),L("updateSidebar",function(){return o.reRenderSidebar()}),l()(),d(46,"div",23)(47,"mat-tab-group")(48,"mat-tab",24)(49,"app-summary",25),L("changeIssuesLabel",function(a){return o.updateIssuesLabel(a)}),l()(),d(50,"mat-tab",24)(51,"app-rule",26),L("lengthOfRules",function(a){return o.updateRulesLabel(a)}),l()()(),d(52,"button",27),L("click",function(){return o.rightColumnToggle()}),d(53,"mat-icon",28),h(54,"first_page"),l(),d(55,"mat-icon",28),h(56,"last_page"),l()()()()()),2&i){const r=At(24);m(3),f("routerLink","/"),m(4),f("routerLink","/workspace"),m(2),Se("Configure Schema (",o.dialect," Dialect)"),m(2),f("matTooltipDisabled",!o.isOfflineStatus),m(5),f("ngIf",!o.isOfflineStatus),m(4),f("matMenuTriggerFor",r),m(15),A_(" Estimation for ",o.srcDbName.toUpperCase()," to Spanner conversion: ",o.conversionRatePercentages.good,"% of tables can be converted automatically, ",o.conversionRatePercentages.ok,"% requires minimal conversion changes and ",o.conversionRatePercentages.bad,"% requires high complexity conversion changes. "),m(7),f("ngClass",ii(32,Cu,o.isLeftColumnCollapse?"left-column-collapse":"left-column-expand")),m(1),f("spannerTree",o.spannerTree)("srcTree",o.srcTree)("srcDbName",o.srcDbName),m(1),f("ngClass",function gk(t,n,e,i,o,r,a,s){const c=Ln()+t,u=Ce(),p=Ao(u,c,e,i,o,r);return Sn(u,c+4,a)||p?ur(u,c+5,s?n.call(s,e,i,o,r,a):n(e,i,o,r,a)):nd(u,c+5)}(34,fre,o.isLeftColumnCollapse,!o.isLeftColumnCollapse,!o.isMiddleColumnCollapse,o.isRightColumnCollapse,!o.isRightColumnCollapse)),m(1),f("currentObject",o.currentObject)("tableData",o.tableData)("indexData",o.indexData)("typeMap",o.typeMap)("ddlStmts",o.ddlStmts)("fkData",o.fkData)("currentDatabase",o.currentDatabase)("defaultTypeMap",o.defaultTypeMap),m(1),f("ngClass",function _k(t,n,e,i,o,r,a,s,c){const u=Ln()+t,p=Ce(),b=Ao(p,u,e,i,o,r);return ds(p,u+4,a,s)||b?ur(p,u+6,c?n.call(c,e,i,o,r,a,s):n(e,i,o,r,a,s)):nd(p,u+6)}(40,gre,!o.isRightColumnCollapse&&!o.isLeftColumnCollapse,!o.isRightColumnCollapse&&o.isLeftColumnCollapse,o.isRightColumnCollapse,!o.isMiddleColumnCollapse,o.isMiddleColumnCollapse,!o.isMiddleColumnCollapse)),m(2),f("ngClass",ii(49,UA,ii(47,Cu,o.updateIssuesLabel)))("label",o.issuesAndSuggestionsLabel),m(1),f("currentObject",o.currentObject),m(1),f("ngClass",ii(53,UA,ii(51,Cu,o.updateRulesLabel)))("label",o.rulesLabel),m(1),f("currentObject",o.currentObject),m(2),f("ngClass",ii(55,Cu,o.isRightColumnCollapse?"display":"hidden")),m(2),f("ngClass",ii(57,Cu,o.isRightColumnCollapse?"hidden":"display"))}},dependencies:[Qo,Et,Cr,JT,Kt,_i,el,Xr,tl,Bp,Jy,On,wee,fte,Goe,mre],styles:["app-object-detail[_ngcontent-%COMP%]{height:100%}.vertical-center[_ngcontent-%COMP%]{display:flex;align-items:center}.columns[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3;height:calc(100vh - 222px)}.artifactsButtons[_ngcontent-%COMP%]{white-space:nowrap}.container[_ngcontent-%COMP%]{padding:7px 20px;margin-bottom:20px}.container[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{font-weight:lighter}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 5px}.column-left[_ngcontent-%COMP%]{overflow:auto}.column-middle[_ngcontent-%COMP%]{width:48%;border-left:1px solid #d3d3d3;border-right:1px solid #d3d3d3;overflow:auto}.column-right[_ngcontent-%COMP%]{width:26%;position:relative;overflow:auto}.left-column-collapse[_ngcontent-%COMP%]{width:3%}.left-column-expand[_ngcontent-%COMP%]{width:26%}.middle-column-collapse[_ngcontent-%COMP%]{width:48%}.middle-column-expand[_ngcontent-%COMP%]{width:71%}.right-column-half-expand[_ngcontent-%COMP%]{width:80%}.right-column-collapse[_ngcontent-%COMP%]{width:26%}.right-column-full-expand[_ngcontent-%COMP%]{width:97%}.middle-column-hide[_ngcontent-%COMP%]{width:0%}.middle-column-full[_ngcontent-%COMP%]{width:100%}#right-column-toggle-button[_ngcontent-%COMP%]{border:none;background-color:inherit;position:absolute;top:10px;right:7px;z-index:100}#right-column-toggle-button[_ngcontent-%COMP%]:hover{cursor:pointer} .column-right .mat-mdc-tab-label .mat-mdc-tab-label-content{font-size:.8rem} .column-right .mat-mdc-tab-label{min-width:25px!important;padding:10px} .column-right .mat-mdc-tab-label.mat-mdc-tab-label-active{min-width:25px!important;padding:7px} .column-right .mat-mdc-tab-label-container{margin-right:40px} .column-right .mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-label-container{margin-right:0} .column-right .mat-mdc-tab-header-pagination-after{margin-right:40px}.split-button-left[_ngcontent-%COMP%]{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:none;padding-right:1px}.split-button-right[_ngcontent-%COMP%]{box-shadow:none;width:30px!important;min-width:unset!important;padding:0 2px;border-top-left-radius:0;border-bottom-left-radius:0;margin-right:7px}"]})}return t})(),bre=(()=>{class t{constructor(e,i,o){this.formBuilder=e,this.dialogRef=i,this.data=o,this.region="",this.spannerInstance="",this.dialect="",this.region=o.Region,this.spannerInstance=o.Instance,this.dialect=o.Dialect,this.targetDetailsForm=this.formBuilder.group({targetDb:["",me.required]}),this.targetDetailsForm.setValue({targetDb:localStorage.getItem(Xt.TargetDB)})}ngOnInit(){}updateTargetDetails(){let e=this.targetDetailsForm.value;localStorage.setItem(Xt.TargetDB,e.targetDb),localStorage.setItem(Xt.Dialect,e.dialect),localStorage.setItem(ue.IsTargetDetailSet,"true"),this.dialogRef.close()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-target-details-form"]],decls:30,vars:5,consts:[["mat-dialog-content",""],[1,"target-detail-form",3,"formGroup"],["matTooltip","Schema & Schema and data migration: Specify new database name or existing database with empty schema. Data migration: Specify existing database with tables already created",1,"configure"],["appearance","outline",1,"full-width"],["matInput","","placeholder","Target Database","type","text","formControlName","targetDb","ng-value","targetDetails.TargetDB"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Spanner Database Details"),d(4,"mat-icon",2),h(5," info"),l()(),d(6,"mat-form-field",3)(7,"mat-label"),h(8,"Spanner Database"),l(),D(9,"input",4),l(),D(10,"br")(11,"br"),d(12,"b"),h(13,"Region:"),l(),h(14),D(15,"br")(16,"br"),d(17,"b"),h(18,"Spanner Instance:"),l(),h(19),D(20,"br")(21,"br"),d(22,"b"),h(23,"Dialect:"),l(),h(24),l(),d(25,"div",5)(26,"button",6),h(27,"Cancel"),l(),d(28,"button",7),L("click",function(){return o.updateTargetDetails()}),h(29," Save "),l()()()),2&i&&(m(1),f("formGroup",o.targetDetailsForm),m(13),Se(" ",o.region," "),m(5),Se(" ",o.spannerInstance," "),m(5),Se(" ",o.dialect," "),m(4),f("disabled",!o.targetDetailsForm.valid))},dependencies:[Kt,_i,Oi,Ii,sn,Tn,Mi,vi,Ui,Ti,Xi,wo,vr,yr,On]})}return t})();function vre(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",10),L("change",function(){const r=ae(e).$implicit;return se(w().onItemChange(r.value))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function yre(t,n){if(1&t&&(d(0,"mat-option",14),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayName),m(1),Se(" ",e.DisplayName," ")}}function xre(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",11)(2,"mat-label"),h(3,"Select connection profile"),l(),d(4,"mat-select",12),_(5,yre,2,2,"mat-option",13),l()()()),2&t){const e=w();m(5),f("ngForOf",e.profileList)}}function wre(t,n){1&t&&(d(0,"div")(1,"mat-form-field",15)(2,"mat-label"),h(3,"Connection profile name"),l(),D(4,"input",16),l()())}function Cre(t,n){1&t&&(d(0,"div")(1,"mat-form-field",11)(2,"mat-label"),h(3,"Replication slot"),l(),D(4,"input",17),l(),D(5,"br"),d(6,"mat-form-field",11)(7,"mat-label"),h(8,"Publication name"),l(),D(9,"input",18),l()())}function Dre(t,n){if(1&t&&(d(0,"li",24)(1,"span",25),h(2),l(),d(3,"span")(4,"mat-icon",26),h(5,"file_copy"),l()()()),2&t){const e=n.$implicit;m(2),Re(e),m(2),f("cdkCopyToClipboard",e)}}function kre(t,n){if(1&t&&(d(0,"div",27)(1,"span",25),h(2,"Test connection failed"),l(),d(3,"mat-icon",28),h(4," error "),l()()),2&t){const e=w(3);m(3),f("matTooltip",e.errorMsg)}}function Sre(t,n){1&t&&(d(0,"mat-icon",29),h(1," check_circle "),l())}function Mre(t,n){if(1&t){const e=_e();d(0,"div")(1,"div")(2,"b"),h(3,"Copy the public IPs below, and use them to configure the network firewall to accept connections from them."),l(),d(4,"a",19),h(5,"Learn More"),l()(),D(6,"br"),_(7,Dre,6,2,"li",20),_(8,kre,5,1,"div",21),D(9,"br"),d(10,"button",22),L("click",function(){return ae(e),se(w(2).testConnection())}),h(11,"Test Connection"),l(),_(12,Sre,2,0,"mat-icon",23),l()}if(2&t){const e=w(2);m(7),f("ngForOf",e.ipList),m(1),f("ngIf",!e.testSuccess&&""!=e.errorMsg),m(2),f("disabled",!e.connectionProfileForm.valid),m(2),f("ngIf",e.testSuccess)}}function Tre(t,n){if(1&t&&(d(0,"div"),_(1,Mre,13,4,"div",6),l()),2&t){const e=w();m(1),f("ngIf",e.isSource)}}let Ire=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.formBuilder=o,this.dialogRef=r,this.data=a,this.selectedProfile="",this.profileType="Source",this.profileList=[],this.ipList=[],this.selectedOption="new",this.profileOptions=[{value:"new",display:"Create a new connection profile"},{value:"existing",display:"Choose an existing connection profile"}],this.profileName="",this.errorMsg="",this.isSource=!1,this.sourceDatabaseType="",this.testSuccess=!1,this.testingSourceConnection=!1,this.isSource=a.IsSource,this.sourceDatabaseType=a.SourceDatabaseType,this.isSource||(this.profileType="Target"),this.connectionProfileForm=this.formBuilder.group({profileOption:["",me.required],newProfile:["",[me.pattern("^[a-z][a-z0-9-]{0,59}$")]],existingProfile:[],replicationSlot:[],publication:[]}),"postgres"==this.sourceDatabaseType&&this.isSource&&(this.connectionProfileForm.get("replicationSlot")?.addValidators([me.required]),this.connectionProfileForm.controls.replicationSlot.updateValueAndValidity(),this.connectionProfileForm.get("publication")?.addValidators([me.required]),this.connectionProfileForm.controls.publication.updateValueAndValidity()),this.getConnectionProfilesAndIps()}onItemChange(e){this.selectedOption=e,"new"==this.selectedOption?(this.connectionProfileForm.get("newProfile")?.setValidators([me.required]),this.connectionProfileForm.controls.existingProfile.clearValidators(),this.connectionProfileForm.controls.newProfile.updateValueAndValidity(),this.connectionProfileForm.controls.existingProfile.updateValueAndValidity()):(this.connectionProfileForm.controls.newProfile.clearValidators(),this.connectionProfileForm.get("existingProfile")?.addValidators([me.required]),this.connectionProfileForm.controls.newProfile.updateValueAndValidity(),this.connectionProfileForm.controls.existingProfile.updateValueAndValidity())}testConnection(){this.testingSourceConnection=!0,this.fetch.createConnectionProfile({Id:this.connectionProfileForm.value.newProfile,IsSource:this.isSource,ValidateOnly:!0}).subscribe({next:()=>{this.testingSourceConnection=!1,this.testSuccess=!0},error:o=>{this.testingSourceConnection=!1,this.testSuccess=!1,this.errorMsg=o.error}})}createConnectionProfile(){let e=this.connectionProfileForm.value;this.isSource&&(localStorage.setItem(Xt.ReplicationSlot,e.replicationSlot),localStorage.setItem(Xt.Publication,e.publication)),"new"===this.selectedOption?this.fetch.createConnectionProfile({Id:e.newProfile,IsSource:this.isSource,ValidateOnly:!1}).subscribe({next:()=>{this.isSource?(localStorage.setItem(ue.IsSourceConnectionProfileSet,"true"),localStorage.setItem(Xt.SourceConnProfile,e.newProfile)):(localStorage.setItem(ue.IsTargetConnectionProfileSet,"true"),localStorage.setItem(Xt.TargetConnProfile,e.newProfile)),this.dialogRef.close()},error:o=>{this.snack.openSnackBar(o.error,"Close"),this.dialogRef.close()}}):(this.isSource?(localStorage.setItem(ue.IsSourceConnectionProfileSet,"true"),localStorage.setItem(Xt.SourceConnProfile,e.existingProfile)):(localStorage.setItem(ue.IsTargetConnectionProfileSet,"true"),localStorage.setItem(Xt.TargetConnProfile,e.existingProfile)),this.dialogRef.close())}ngOnInit(){}getConnectionProfilesAndIps(){this.fetch.getConnectionProfiles(this.isSource).subscribe({next:e=>{this.profileList=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}}),this.isSource&&this.fetch.getStaticIps().subscribe({next:e=>{this.ipList=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Kr),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-connection-profile-form"]],decls:19,vars:9,consts:[["mat-dialog-content",""],[1,"conn-profile-form",3,"formGroup"],[1,"mat-h3","header-title"],[1,"radio-button-container"],["formControlName","profileOption",3,"ngModel","ngModelChange"],[3,"value","change",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[3,"value","change"],["appearance","outline"],["formControlName","existingProfile","required","true","ng-value","selectedProfile",1,"input-field"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["appearance","outline","hintLabel","Name can include lower case letters, numbers and hyphens. Must start with a letter.",1,"new-connection-profile-input"],["matInput","","placeholder","Connection profile name","type","text","formControlName","newProfile","required","true"],["matInput","","placeholder","Replication slot","type","text","formControlName","replicationSlot","required","true"],["matInput","","placeholder","Publication name","type","text","formControlName","publication","required","true"],["href","https://cloud.google.com/datastream/docs/network-connectivity-options#ipallowlists"],["class","connection-form-container",4,"ngFor","ngForOf"],["class","failure",4,"ngIf"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["class","success","matTooltip","Test connection successful","matTooltipPosition","above",4,"ngIf"],[1,"connection-form-container"],[1,"left-text"],["matTooltip","Copy",1,"icon","copy",3,"cdkCopyToClipboard"],[1,"failure"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"],["matTooltip","Test connection successful","matTooltipPosition","above",1,"success"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"span",2),h(3),l(),D(4,"br"),d(5,"div",3)(6,"mat-radio-group",4),L("ngModelChange",function(a){return o.selectedOption=a}),_(7,vre,2,2,"mat-radio-button",5),l()(),D(8,"br"),_(9,xre,6,1,"div",6),_(10,wre,5,0,"div",6),D(11,"br"),_(12,Cre,10,0,"div",6),_(13,Tre,2,1,"div",6),d(14,"div",7)(15,"button",8),h(16,"Cancel"),l(),d(17,"button",9),L("click",function(){return o.createConnectionProfile()}),h(18," Save "),l()()()()),2&i&&(m(1),f("formGroup",o.connectionProfileForm),m(2),Se("",o.profileType," Connection Profile"),m(3),f("ngModel",o.selectedOption),m(1),f("ngForOf",o.profileOptions),m(2),f("ngIf","existing"===o.selectedOption),m(1),f("ngIf","new"===o.selectedOption),m(2),f("ngIf",o.isSource&&"postgres"==o.sourceDatabaseType),m(1),f("ngIf","new"===o.selectedOption),m(4),f("disabled",!o.connectionProfileForm.valid||!o.testSuccess&&"new"===o.selectedOption&&o.isSource))},dependencies:[an,Et,Kt,_i,Oi,Ii,sn,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,wo,vr,yr,On,$p,Gp,l0],styles:[".icon[_ngcontent-%COMP%]{font-size:15px}.connection-form-container[_ngcontent-%COMP%]{display:block}.left-text[_ngcontent-%COMP%]{width:40%;display:inline-block}"]})}return t})();function Ere(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",6),L("change",function(){const r=ae(e).$implicit;return se(w().onItemChange(r.value))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function Ore(t,n){1&t&&D(0,"mat-spinner",19),2&t&&f("diameter",25)}function Are(t,n){1&t&&(d(0,"mat-icon",20),h(1,"check_circle"),l())}function Pre(t,n){1&t&&(d(0,"mat-icon",21),h(1,"cancel"),l())}function Rre(t,n){if(1&t&&(d(0,"div",22)(1,"span",23),h(2,"Source database connection failed"),l(),d(3,"mat-icon",24),h(4," error "),l()()),2&t){const e=w(2);m(3),f("matTooltip",e.errorMsg)}}function Fre(t,n){if(1&t){const e=_e();d(0,"div")(1,"form",7),L("ngSubmit",function(){return ae(e),se(w().setSourceDBDetailsForDump())}),d(2,"h4",8),h(3,"Load from database dump"),l(),h(4," Dump File "),d(5,"mat-form-field",9)(6,"mat-label"),h(7,"File path"),l(),d(8,"input",10),L("click",function(){return ae(e),se(At(13).click())}),l(),_(9,Ore,1,1,"mat-spinner",11),_(10,Are,2,0,"mat-icon",12),_(11,Pre,2,0,"mat-icon",13),l(),d(12,"input",14,15),L("change",function(o){return ae(e),se(w().handleFileInput(o))}),l(),D(14,"br"),d(15,"button",16),h(16,"CANCEL"),l(),d(17,"button",17),h(18," SAVE "),l(),_(19,Rre,5,1,"div",18),l()()}if(2&t){const e=w();m(1),f("formGroup",e.dumpFileForm),m(8),f("ngIf",e.uploadStart&&!e.uploadSuccess&&!e.uploadFail),m(1),f("ngIf",e.uploadStart&&e.uploadSuccess),m(1),f("ngIf",e.uploadStart&&e.uploadFail),m(6),f("disabled",!e.dumpFileForm.valid||!e.uploadSuccess),m(2),f("ngIf",""!=e.errorMsg)}}function Nre(t,n){if(1&t&&(d(0,"div",22)(1,"span",23),h(2,"Source database connection failed"),l(),d(3,"mat-icon",24),h(4," error "),l()()),2&t){const e=w(2);m(3),f("matTooltip",e.errorMsg)}}function Lre(t,n){if(1&t){const e=_e();d(0,"div")(1,"form",7),L("ngSubmit",function(){return ae(e),se(w().setSourceDBDetailsForDirectConnect())}),d(2,"h4",8),h(3,"Connect to Source Database"),l(),h(4," Connection Detail "),d(5,"mat-form-field",25)(6,"mat-label"),h(7,"Hostname"),l(),D(8,"input",26),l(),d(9,"mat-form-field",25)(10,"mat-label"),h(11,"Port"),l(),D(12,"input",27),d(13,"mat-error"),h(14," Only numbers are allowed. "),l()(),D(15,"br"),d(16,"mat-form-field",25)(17,"mat-label"),h(18,"User name"),l(),D(19,"input",28),l(),d(20,"mat-form-field",25)(21,"mat-label"),h(22,"Password"),l(),D(23,"input",29),l(),D(24,"br"),d(25,"mat-form-field",25)(26,"mat-label"),h(27,"Database Name"),l(),D(28,"input",30),l(),D(29,"br"),d(30,"button",16),h(31,"CANCEL"),l(),d(32,"button",17),h(33," SAVE "),l(),_(34,Nre,5,1,"div",18),l()()}if(2&t){const e=w();m(1),f("formGroup",e.directConnectForm),m(31),f("disabled",!e.directConnectForm.valid),m(2),f("ngIf",""!=e.errorMsg)}}let Bre=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.dataService=i,this.snack=o,this.dialogRef=r,this.data=a,this.inputOptions=[{value:An.DumpFile,display:"Connect via dump file"},{value:An.DirectConnect,display:"Connect via direct connection"}],this.selectedOption=An.DirectConnect,this.sourceDatabaseEngine="",this.errorMsg="",this.fileToUpload=null,this.uploadStart=!1,this.uploadSuccess=!1,this.uploadFail=!1,this.dumpFileForm=new ni({filePath:new Q("",[me.required])}),this.directConnectForm=new ni({hostName:new Q("",[me.required]),port:new Q("",[me.required]),userName:new Q("",[me.required]),dbName:new Q("",[me.required]),password:new Q("")}),this.sourceDatabaseEngine=a}ngOnInit(){}setSourceDBDetailsForDump(){const{filePath:e}=this.dumpFileForm.value;this.fetch.setSourceDBDetailsForDump({Driver:this.sourceDatabaseEngine,Path:e}).subscribe({next:()=>{localStorage.setItem(ue.IsSourceDetailsSet,"true"),this.dialogRef.close()},error:o=>{this.errorMsg=o.error}})}setSourceDBDetailsForDirectConnect(){const{hostName:e,port:i,userName:o,password:r,dbName:a}=this.directConnectForm.value;this.fetch.setSourceDBDetailsForDirectConnect({dbEngine:this.sourceDatabaseEngine,isSharded:!1,hostName:e,port:i,userName:o,password:r,dbName:a}).subscribe({next:()=>{localStorage.setItem(ue.IsSourceDetailsSet,"true"),this.dialogRef.close()},error:c=>{this.errorMsg=c.error}})}handleFileInput(e){let i=e.target.files;i&&(this.fileToUpload=i.item(0),this.dumpFileForm.patchValue({filePath:this.fileToUpload?.name}),this.fileToUpload&&this.uploadFile())}uploadFile(){if(this.fileToUpload){this.uploadStart=!0,this.uploadFail=!1,this.uploadSuccess=!1;const e=new FormData;e.append("myFile",this.fileToUpload,this.fileToUpload?.name),this.dataService.uploadFile(e).subscribe(i=>{""==i?this.uploadSuccess=!0:this.uploadFail=!0})}}onItemChange(e){this.selectedOption=e,this.errorMsg=""}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Li),g(Vo),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-source-details-form"]],decls:7,vars:4,consts:[[1,"radio-button-container"],[1,"radio-button-group",3,"ngModel","ngModelChange"],[3,"value","change",4,"ngFor","ngForOf"],[1,"connect-load-database-container"],[1,"form-container"],[4,"ngIf"],[3,"value","change"],[3,"formGroup","ngSubmit"],[1,"primary-header"],["appearance","outline"],["matInput","","placeholder","File path","name","filePath","type","text","formControlName","filePath","readonly","",3,"click"],["matSuffix","",3,"diameter",4,"ngIf"],["matSuffix","","class","success",4,"ngIf"],["matSuffix","","class","danger",4,"ngIf"],["hidden","","type","file",3,"change"],["file",""],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","type","submit","color","primary",3,"disabled"],["class","failure",4,"ngIf"],["matSuffix","",3,"diameter"],["matSuffix","",1,"success"],["matSuffix","",1,"danger"],[1,"failure"],[1,"left-text"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"],["appearance","outline",1,"full-width"],["matInput","","placeholder","127.0.0.1","name","hostName","type","text","formControlName","hostName"],["matInput","","placeholder","3306","name","port","type","text","formControlName","port"],["matInput","","placeholder","root","name","userName","type","text","formControlName","userName"],["matInput","","name","password","type","password","formControlName","password"],["matInput","","name","dbname","type","text","formControlName","dbName"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-radio-group",1),L("ngModelChange",function(a){return o.selectedOption=a}),_(2,Ere,2,2,"mat-radio-button",2),l()(),d(3,"div",3)(4,"div",4),_(5,Fre,20,6,"div",5),_(6,Lre,35,3,"div",5),l()()),2&i&&(m(1),f("ngModel",o.selectedOption),m(1),f("ngForOf",o.inputOptions),m(3),f("ngIf","dumpFile"===o.selectedOption),m(1),f("ngIf","directConnect"===o.selectedOption))},dependencies:[an,Et,Kt,_i,Oi,Ii,by,vy,sn,Tn,Mi,vi,Ui,Ti,Xi,wo,On,Kc,$p,Gp,_l]})}return t})();function Vre(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",7),D(3,"mat-spinner",8),l(),d(4,"span",9),h(5,"Cleaning up resources"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}let jre=(()=>{class t{constructor(e,i,o,r){this.data=e,this.fetch=i,this.snack=o,this.dialogRef=r,this.sourceAndTargetDetails={SpannerDatabaseName:"",SpannerDatabaseUrl:"",SourceDatabaseName:"",SourceDatabaseType:""},this.cleaningUp=!1,this.sourceAndTargetDetails={SourceDatabaseName:e.SourceDatabaseName,SourceDatabaseType:e.SourceDatabaseType,SpannerDatabaseName:e.SpannerDatabaseName,SpannerDatabaseUrl:e.SpannerDatabaseUrl}}ngOnInit(){}cleanUpJobs(){this.cleaningUp=!0,this.fetch.cleanUpStreamingJobs().subscribe({next:()=>{this.cleaningUp=!1,this.snack.openSnackBar("Dataflow and datastream jobs will be cleaned up","Close"),this.dialogRef.close()},error:e=>{this.cleaningUp=!1,this.snack.openSnackBar(e.error,"Close")}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(yn),g(Vo),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-end-migration"]],decls:46,vars:7,consts:[[1,"end-migration-dialog"],["target","_blank",3,"href"],["href","https://github.com/GoogleCloudPlatform/professional-services-data-validator","target","_blank"],[4,"ngIf"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close","",3,"disabled"],["mat-raised-button","","color","primary",3,"disabled","click"],[1,"spinner"],[3,"diameter"],[1,"spinner-small-text"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h2"),h(2,"End Migration"),l(),d(3,"div")(4,"b"),h(5,"Source database:"),l(),h(6),D(7,"br"),d(8,"b"),h(9,"Spanner database:"),l(),d(10,"a",1),h(11),l()(),D(12,"br"),d(13,"div")(14,"b"),h(15,"Please follow these steps to complete the migration:"),l(),d(16,"ol")(17,"li"),h(18,"Validate that the schema has been created on Spanner as per the configuration"),l(),d(19,"li"),h(20,"Validate the data has been copied from the Source to Spanner. You can use the "),d(21,"a",2),h(22,"Data Validation Tool"),l(),h(23," to help with this process."),l(),d(24,"li"),h(25,"Stop the writes to the source database. "),d(26,"b"),h(27,"This will initiate a period of downtime."),l()(),d(28,"li"),h(29,"Wait for any incremental writes on source since the validation started on Spanner to catch up with the source. This can be done by periodically checking the Spanner Database for the most recent updates on source."),l(),d(30,"li"),h(31,"Once the Source and Spanner are in sync, start the application with Spanner as the Database."),l(),d(32,"li"),h(33,"Perform smoke tests on your application to ensure it is working properly on Spanner"),l(),d(34,"li"),h(35,"Cutover the traffic to the application with Spanner as the Database. "),d(36,"b"),h(37,"This marks the end of the period of downtime"),l()(),d(38,"li"),h(39,"Cleanup the migration jobs by clicking the button below."),l()()(),_(40,Vre,7,1,"div",3),d(41,"div",4)(42,"button",5),h(43,"Cancel"),l(),d(44,"button",6),L("click",function(){return o.cleanUpJobs()}),h(45,"Clean Up"),l()()()),2&i&&(m(6),Ic(" ",o.sourceAndTargetDetails.SourceDatabaseName,"(",o.sourceAndTargetDetails.SourceDatabaseType,") "),m(4),f("href",o.sourceAndTargetDetails.SpannerDatabaseUrl,kn),m(1),Re(o.sourceAndTargetDetails.SpannerDatabaseName),m(29),f("ngIf",o.cleaningUp),m(2),f("disabled",o.cleaningUp),m(2),f("disabled",o.cleaningUp))},dependencies:[Et,Kt,wo,yr,_l]})}return t})(),zre=(()=>{class t{constructor(e,i,o){this.data=e,this.dialofRef=i,this.fetch=o,this.disablePresetFlags=!0,this.tunableFlagsForm=new ni({network:new Q(""),subnetwork:new Q(""),numWorkers:new Q("1",[me.required,me.pattern("^[1-9][0-9]*$")]),maxWorkers:new Q("50",[me.required,me.pattern("^[1-9][0-9]*$")]),serviceAccountEmail:new Q(""),vpcHostProjectId:new Q(e.GCPProjectID,me.required),machineType:new Q(""),additionalUserLabels:new Q("",[me.pattern('^{("([0-9a-zA-Z_-]+)":"([0-9a-zA-Z_-]+)",?)+}$')]),kmsKeyName:new Q("",[me.pattern("^projects\\/[^\\n\\r]+\\/locations\\/[^\\n\\r]+\\/keyRings\\/[^\\n\\r]+\\/cryptoKeys\\/[^\\n\\r]+$")])}),this.presetFlagsForm=new ni({dataflowProjectId:new Q(e.GCPProjectID),dataflowLocation:new Q(""),gcsTemplatePath:new Q("",[me.pattern("^gs:\\/\\/[^\\n\\r]+$")])}),this.presetFlagsForm.disable()}ngOnInit(){}updateDataflowDetails(){let e=this.tunableFlagsForm.value;localStorage.setItem("network",e.network),localStorage.setItem("subnetwork",e.subnetwork),localStorage.setItem("vpcHostProjectId",e.vpcHostProjectId),localStorage.setItem("maxWorkers",e.maxWorkers),localStorage.setItem("numWorkers",e.numWorkers),localStorage.setItem("serviceAccountEmail",e.serviceAccountEmail),localStorage.setItem("machineType",e.machineType),localStorage.setItem("additionalUserLabels",e.additionalUserLabels),localStorage.setItem("kmsKeyName",e.kmsKeyName),localStorage.setItem("dataflowProjectId",this.presetFlagsForm.value.dataflowProjectId),localStorage.setItem("dataflowLocation",this.presetFlagsForm.value.dataflowLocation),localStorage.setItem("gcsTemplatePath",this.presetFlagsForm.value.gcsTemplatePath),localStorage.setItem("isDataflowConfigSet","true"),this.dialofRef.close()}enablePresetFlags(){this.disablePresetFlags=!1,this.presetFlagsForm.enable()}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-dataflow-form"]],decls:109,vars:16,consts:[["mat-dialog-content",""],[1,"dataflow-form",3,"formGroup"],["matTooltip","Edit to run Dataflow in a VPC",1,"mat-row"],["appearance","outline","matTooltip","Specify the host project Id of the VPC network. For shared VPC, this needs to be edited to the correct host project id.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","VPC Host ProjectID","type","text","formControlName","vpcHostProjectId"],["href","https://cloud.google.com/vpc/docs/create-modify-vpc-networks#create-auto-network","target","_blank"],["appearance","outline","matTooltip","Specify the network name for the VPC",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","VPC Network Name","type","text","formControlName","network"],["appearance","outline","matTooltip","Specify the subnetwork name for the VPC. Provide only the subnetwork name and NOT the full URL for subnetwork.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","VPC Subnetwork Name","type","text","formControlName","subnetwork"],["matTooltip","Set performance parameters of the Dataflow job(s)",1,"mat-row"],["appearance","outline","matTooltip","Set maximum workers for the dataflow job(s). Default value: 50",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","50","type","text","formControlName","maxWorkers"],["appearance","outline","matTooltip","Set initial number of workers for the dataflow job(s). Default value: 1",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","1","type","text","formControlName","numWorkers"],["appearance","outline","matTooltip","The machine type to use for the job, eg: n1-standard-2. Use default machine type if not specified.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Machine Type","type","text","formControlName","machineType"],["href","https://cloud.google.com/compute/docs/machine-resource","target","_blank"],["appearance","outline","matTooltip","Set the service account to run the dataflow job(s) as",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Service Account Email","type","text","formControlName","serviceAccountEmail"],["appearance","outline","matTooltip",'Additional user labels to be specified for the job. Enter a json of "key": "value" pairs. Example: {"name": "wrench", "mass": "1kg", "count": "3" }.',1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Additional User Labels","type","text","formControlName","additionalUserLabels"],["appearance","outline","matTooltip","Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings //cryptoKeys/. Omit this field to use Google Managed Encryption Keys.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","KMS Key Name","type","text","formControlName","kmsKeyName"],["mat-button","",1,"edit-button",3,"disabled","click"],["appearance","outline","matTooltip","Specify the project to run the dataflow job in.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Dataflow Project Id","type","text","formControlName","dataflowProjectId"],["appearance","outline","matTooltip","Specify the region to run the dataflow job in. It is recommended to keep the region same as Spanner region for performance. Example: us-central1",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Dataflow Location","type","text","formControlName","dataflowLocation"],["appearance","outline","matTooltip","Cloud Storage path to the template spec. Use this to run launch dataflow with custom templates. Example: gs://my-bucket/path/to/template",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","GCS Template Path","type","text","formControlName","gcsTemplatePath"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Tune Dataflow (Optional)"),l(),d(4,"h5"),h(5,"This form is optional and should only be edited to tune runtime environment for Dataflow."),l(),d(6,"mat-expansion-panel")(7,"mat-expansion-panel-header",2)(8,"span"),h(9,"Networking"),l()(),d(10,"div")(11,"mat-form-field",3)(12,"mat-label"),h(13,"VPC Host ProjectID"),l(),D(14,"input",4),l(),D(15,"br"),d(16,"h5"),h(17," - Provide "),d(18,"b"),h(19,"ONLY"),l(),h(20," the VPC subnetwork if unsure about what VPC network to use. Dataflow chooses the network for you. "),D(21,"br"),h(22," - If you are using an "),d(23,"a",5),h(24,"auto mode network"),l(),h(25,", provide ONLY the network name and skip the VPC subnetwork. "),l(),d(26,"mat-form-field",6)(27,"mat-label"),h(28,"VPC Network"),l(),D(29,"input",7),l(),D(30,"br"),d(31,"mat-form-field",8)(32,"mat-label"),h(33,"VPC Subnetwork"),l(),D(34,"input",9),l()()(),D(35,"br"),d(36,"mat-expansion-panel")(37,"mat-expansion-panel-header",10)(38,"span"),h(39,"Performance"),l()(),d(40,"div")(41,"mat-form-field",11)(42,"mat-label"),h(43,"Max Workers"),l(),D(44,"input",12),l(),D(45,"br"),d(46,"mat-form-field",13)(47,"mat-label"),h(48,"Number of Workers"),l(),D(49,"input",14),l(),D(50,"br"),d(51,"mat-form-field",15)(52,"mat-label"),h(53,"Machine Type"),l(),D(54,"input",16),l(),d(55,"h5"),h(56,"Find the list of all machine types "),d(57,"a",17),h(58,"here"),l(),h(59,"."),l()()(),D(60,"br"),d(61,"mat-form-field",18)(62,"mat-label"),h(63,"Service Account Email"),l(),D(64,"input",19),l(),D(65,"br"),d(66,"mat-form-field",20)(67,"mat-label"),h(68,"Additional User Labels"),l(),D(69,"input",21),l(),D(70,"br"),d(71,"mat-form-field",22)(72,"mat-label"),h(73,"KMS Key Name"),l(),D(74,"input",23),l()(),D(75,"hr"),d(76,"form",1)(77,"h2"),h(78," Preset Flags "),d(79,"span")(80,"button",24),L("click",function(){return o.enablePresetFlags()}),d(81,"mat-icon"),h(82,"edit"),l(),h(83," EDIT "),l()()(),d(84,"h5"),h(85,"These flags are set by SMT by default and "),d(86,"b"),h(87,"SHOULD NOT BE"),l(),h(88," modified unless running Dataflow in a non-standard configuration. To edit these parameters, click the edit button above."),l(),D(89,"br"),d(90,"mat-form-field",25)(91,"mat-label"),h(92,"Dataflow Project Id"),l(),D(93,"input",26),l(),D(94,"br"),d(95,"mat-form-field",27)(96,"mat-label"),h(97,"Dataflow Location"),l(),D(98,"input",28),l(),D(99,"br"),d(100,"mat-form-field",29)(101,"mat-label"),h(102,"GCS Template Path"),l(),D(103,"input",30),l()(),d(104,"div",31)(105,"button",32),h(106,"Cancel"),l(),d(107,"button",33),L("click",function(){return o.updateDataflowDetails()}),h(108," Save "),l()()()),2&i&&(m(1),f("formGroup",o.tunableFlagsForm),m(10),f("matTooltipPosition","right"),m(15),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(10),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(10),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("formGroup",o.presetFlagsForm),m(4),f("disabled",!o.disablePresetFlags),m(10),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(7),f("disabled",!(o.tunableFlagsForm.valid&&o.presetFlagsForm.valid)))},dependencies:[Kt,_i,Oi,Ii,sn,Tn,Mi,vi,Ui,Ti,Xi,Vy,kE,wo,vr,yr,On],styles:[".edit-button[_ngcontent-%COMP%]{color:#3367d6}"]})}return t})(),Hre=(()=>{class t{constructor(e,i){this.data=e,this.dialofRef=i,this.gcloudCmd=e}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-equivalent-gcloud-command"]],decls:12,vars:2,consts:[["mat-dialog-content",""],["matTooltip","This is the gcloud command to launch the dataflow job with the same parameters. Can be used to re-run a dataflow job manually in case of failure.",1,"configure"],[1,"left-text"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","color","primary",3,"cdkCopyToClipboard"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h2"),h(2,"Equivalent gcloud command line"),d(3,"mat-icon",1),h(4," info"),l()(),d(5,"span",2),h(6),l(),d(7,"div",3)(8,"button",4),h(9,"Close"),l(),d(10,"button",5),h(11,"Copy"),l()()()),2&i&&(m(6),Re(o.gcloudCmd),m(4),f("cdkCopyToClipboard",o.gcloudCmd))},dependencies:[Kt,_i,wo,vr,yr,On,l0]})}return t})();function Ure(t,n){if(1&t&&(d(0,"mat-option",14),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function $re(t,n){1&t&&(d(0,"div",15)(1,"mat-form-field",4)(2,"mat-label"),h(3,"Paste JSON Configuration"),l(),D(4,"textarea",16,17),l()())}function Gre(t,n){1&t&&(d(0,"div",18)(1,"mat-form-field",19)(2,"mat-label"),h(3,"Hostname"),l(),D(4,"input",20),l(),d(5,"mat-form-field",19)(6,"mat-label"),h(7,"Port"),l(),D(8,"input",21),d(9,"mat-error"),h(10," Only numbers are allowed. "),l()(),D(11,"br"),d(12,"mat-form-field",19)(13,"mat-label"),h(14,"User name"),l(),D(15,"input",22),l(),d(16,"mat-form-field",19)(17,"mat-label"),h(18,"Password"),l(),D(19,"input",23),l(),D(20,"br"),d(21,"mat-form-field",19)(22,"mat-label"),h(23,"Database Name"),l(),D(24,"input",24),l(),D(25,"br"),d(26,"mat-form-field",19)(27,"mat-label"),h(28,"Shard ID"),l(),D(29,"input",25),l(),D(30,"br"),l())}function Wre(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w().saveDetailsAndReset())}),h(1," ADD MORE SHARDS "),l()}2&t&&f("disabled",w().directConnectForm.invalid)}function qre(t,n){if(1&t&&(d(0,"div",27)(1,"span",28),h(2),l(),d(3,"mat-icon",29),h(4," error "),l()()),2&t){const e=w();m(2),Re(e.errorMsg),m(1),f("matTooltip",e.errorMsg)}}let Kre=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.dataService=o,this.dialogRef=r,this.data=a,this.errorMsg="",this.shardConnDetailsList=[],this.sourceConnDetails={dbConfigs:[],isRestoredSession:""},this.shardSessionDetails={sourceDatabaseEngine:"",isRestoredSession:""},this.inputOptionsList=[{value:"text",displayName:"Text"},{value:"form",displayName:"Form"}],this.shardSessionDetails={sourceDatabaseEngine:a.sourceDatabaseEngine,isRestoredSession:a.isRestoredSession};let s={dbEngine:"",isSharded:!1,hostName:"",port:"",userName:"",password:"",dbName:""};localStorage.getItem($i.Type)==An.DirectConnect&&null!=localStorage.getItem($i.Config)&&(s=JSON.parse(localStorage.getItem($i.Config))),this.directConnectForm=new ni({inputType:new Q("form",[me.required]),textInput:new Q(""),hostName:new Q(s.hostName,[me.required]),port:new Q(s.port,[me.required]),userName:new Q(s.userName,[me.required]),dbName:new Q(s.dbName,[me.required]),password:new Q(s.password),shardId:new Q("",[me.required])})}ngOnInit(){this.initFromLocalStorage()}initFromLocalStorage(){}setValidators(e){if("text"==e){for(const i in this.directConnectForm.controls)this.directConnectForm.get(i)?.clearValidators(),this.directConnectForm.get(i)?.updateValueAndValidity();this.directConnectForm.get("textInput")?.setValidators([me.required]),this.directConnectForm.controls.textInput.updateValueAndValidity()}else this.directConnectForm.get("hostName")?.setValidators([me.required]),this.directConnectForm.controls.hostName.updateValueAndValidity(),this.directConnectForm.get("port")?.setValidators([me.required]),this.directConnectForm.controls.port.updateValueAndValidity(),this.directConnectForm.get("userName")?.setValidators([me.required]),this.directConnectForm.controls.userName.updateValueAndValidity(),this.directConnectForm.get("dbName")?.setValidators([me.required]),this.directConnectForm.controls.dbName.updateValueAndValidity(),this.directConnectForm.get("password")?.setValidators([me.required]),this.directConnectForm.controls.password.updateValueAndValidity(),this.directConnectForm.get("shardId")?.setValidators([me.required]),this.directConnectForm.controls.shardId.updateValueAndValidity(),this.directConnectForm.controls.textInput.clearValidators(),this.directConnectForm.controls.textInput.updateValueAndValidity()}determineFormValidity(){return this.shardConnDetailsList.length>0||!!this.directConnectForm.valid}saveDetailsAndReset(){const{hostName:e,port:i,userName:o,password:r,dbName:a,shardId:s}=this.directConnectForm.value;this.shardConnDetailsList.push({dbEngine:this.shardSessionDetails.sourceDatabaseEngine,isSharded:!1,hostName:e,port:i,userName:o,password:r,dbName:a,shardId:s}),this.directConnectForm=new ni({inputType:new Q("form",me.required),textInput:new Q(""),hostName:new Q(""),port:new Q(""),userName:new Q(""),dbName:new Q(""),password:new Q(""),shardId:new Q("")}),this.setValidators("form"),this.snack.openSnackBar("Shard configured successfully, please configure the next","Close",5)}finalizeConnDetails(){if("form"===this.directConnectForm.value.inputType){const{hostName:i,port:o,userName:r,password:a,dbName:s,shardId:c}=this.directConnectForm.value;this.shardConnDetailsList.push({dbEngine:this.shardSessionDetails.sourceDatabaseEngine,isSharded:!1,hostName:i,port:o,userName:r,password:a,dbName:s,shardId:c}),this.sourceConnDetails.dbConfigs=this.shardConnDetailsList}else{try{this.sourceConnDetails.dbConfigs=JSON.parse(this.directConnectForm.value.textInput)}catch{throw this.errorMsg="Unable to parse JSON",new Error(this.errorMsg)}this.sourceConnDetails.dbConfigs.forEach(i=>{i.dbEngine=this.shardSessionDetails.sourceDatabaseEngine})}this.sourceConnDetails.isRestoredSession=this.shardSessionDetails.isRestoredSession,this.fetch.setShardsSourceDBDetailsForBulk(this.sourceConnDetails).subscribe({next:()=>{localStorage.setItem(ue.NumberOfShards,this.sourceConnDetails.dbConfigs.length.toString()),localStorage.setItem(ue.NumberOfInstances,this.sourceConnDetails.dbConfigs.length.toString()),localStorage.setItem(ue.IsSourceDetailsSet,"true"),this.dialogRef.close()},error:i=>{this.errorMsg=i.error}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Li),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sharded-bulk-source-details-form"]],decls:23,vars:7,consts:[[1,"connect-load-database-container"],[1,"form-container"],[1,"shard-bulk-form",3,"formGroup"],[1,"primary-header"],["appearance","outline"],["formControlName","inputType",3,"selectionChange"],["inputType",""],[3,"value",4,"ngFor","ngForOf"],["class","textInput",4,"ngIf"],["class","formInput",4,"ngIf"],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","type","submit","color","accent",3,"disabled","click",4,"ngIf"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["class","failure",4,"ngIf"],[3,"value"],[1,"textInput"],["name","textInput","formControlName","textInput","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","20"],["autosize","cdkTextareaAutosize"],[1,"formInput"],["appearance","outline",1,"full-width"],["matInput","","placeholder","127.0.0.1","name","hostName","type","text","formControlName","hostName"],["matInput","","placeholder","3306","name","port","type","text","formControlName","port"],["matInput","","placeholder","root","name","userName","type","text","formControlName","userName"],["matInput","","name","password","type","password","formControlName","password"],["matInput","","name","dbname","type","text","formControlName","dbName"],["matInput","","name","shardId","type","text","formControlName","shardId"],["mat-raised-button","","type","submit","color","accent",3,"disabled","click"],[1,"failure"],[1,"left-text"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"div",1)(2,"form",2)(3,"h4",3),h(4,"Add Data Shard Connection Details"),l(),d(5,"b"),h(6,"Note: Please configure the schema source used for schema conversion if you want Spanner migration tool to migrate data from it as well."),l(),D(7,"br")(8,"br"),d(9,"mat-form-field",4)(10,"mat-label"),h(11,"Input Type"),l(),d(12,"mat-select",5,6),L("selectionChange",function(){ae(r);const s=At(13);return se(o.setValidators(s.value))}),_(14,Ure,2,2,"mat-option",7),l()(),_(15,$re,6,0,"div",8),_(16,Gre,31,0,"div",9),d(17,"button",10),h(18,"CANCEL"),l(),_(19,Wre,2,1,"button",11),d(20,"button",12),L("click",function(){return o.finalizeConnDetails()}),h(21," FINISH "),l(),_(22,qre,5,2,"div",13),l()()()}2&i&&(m(2),f("formGroup",o.directConnectForm),m(12),f("ngForOf",o.inputOptionsList),m(1),f("ngIf","text"===o.directConnectForm.value.inputType),m(1),f("ngIf","form"===o.directConnectForm.value.inputType),m(3),f("ngIf","form"===o.directConnectForm.value.inputType),m(1),f("disabled",!o.determineFormValidity()),m(2),f("ngIf",""!=o.errorMsg))},dependencies:[an,Et,Kt,_i,Oi,Ii,by,sn,q2,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,wo,On]})}return t})();function Zre(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function Yre(t,n){if(1&t&&(d(0,"div",17)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title"),h(4,"Total Configured Shards"),l(),d(5,"mat-card-subtitle"),h(6),l(),d(7,"mat-card-subtitle"),h(8),l()()()()),2&t){const e=w();m(6),Se("",e.physicalShards," physical instances configured."),m(2),Se("",e.logicalShards," logical shards configured.")}}function Qre(t,n){1&t&&(d(0,"div",18)(1,"mat-form-field",19)(2,"mat-label"),h(3,"Paste JSON Configuration"),l(),D(4,"textarea",20,21),l()())}function Xre(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",35),L("change",function(){const r=ae(e).$implicit;return se(w(2).onItemChange(r.value,"source"))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function Jre(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayName),m(1),Se(" ",e.DisplayName," ")}}function eae(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",5)(2,"mat-label"),h(3,"Select source connection profile"),l(),d(4,"mat-select",36),_(5,Jre,2,2,"mat-option",8),l()(),d(6,"mat-form-field",5)(7,"mat-label"),h(8,"Data Shard Id"),l(),D(9,"input",37),l()()),2&t){const e=w(2);m(5),f("ngForOf",e.sourceProfileList),m(4),f("value",e.inputValue)}}function tae(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",5)(2,"mat-label"),h(3,"Host"),l(),D(4,"input",38),l(),d(5,"mat-form-field",5)(6,"mat-label"),h(7,"User"),l(),D(8,"input",39),l(),d(9,"mat-form-field",5)(10,"mat-label"),h(11,"Port"),l(),D(12,"input",40),l(),d(13,"mat-form-field",5)(14,"mat-label"),h(15,"Password"),l(),D(16,"input",41),l(),d(17,"mat-form-field",42)(18,"mat-label"),h(19,"Connection profile name"),l(),D(20,"input",43),l(),d(21,"mat-form-field",5)(22,"mat-label"),h(23,"Data Shard Id"),l(),D(24,"input",37),l()()),2&t){const e=w(2);m(24),f("value",e.inputValue)}}function iae(t,n){if(1&t&&(d(0,"li",50)(1,"span",51),h(2),l(),d(3,"span")(4,"mat-icon",52),h(5,"file_copy"),l()()()),2&t){const e=n.$implicit;m(2),Re(e),m(2),f("cdkCopyToClipboard",e)}}function nae(t,n){if(1&t&&(d(0,"div",53)(1,"span",51),h(2,"Test connection failed"),l(),d(3,"mat-icon",54),h(4," error "),l()()),2&t){const e=w(3);m(3),f("matTooltip",e.errorSrcMsg)}}function oae(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",55),D(3,"mat-spinner",56),l(),d(4,"span",57),h(5,"Testing Connection"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}function rae(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",55),D(3,"mat-spinner",56),l(),d(4,"span",57),h(5,"Creating source connection profile"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}function aae(t,n){1&t&&(d(0,"mat-icon",58),h(1," check_circle "),l())}function sae(t,n){1&t&&(d(0,"mat-icon",59),h(1," check_circle "),l())}function cae(t,n){if(1&t){const e=_e();d(0,"div")(1,"div")(2,"b"),h(3,"Copy the public IPs below, and use them to configure the network firewall to accept connections from them."),l(),d(4,"a",44),h(5,"Learn More"),l()(),D(6,"br"),_(7,iae,6,2,"li",45),_(8,nae,5,1,"div",15),D(9,"br"),_(10,oae,7,1,"div",26),_(11,rae,7,1,"div",26),_(12,aae,2,0,"mat-icon",46),d(13,"button",47),L("click",function(){return ae(e),se(w(2).createOrTestConnection(!0,!0))}),h(14,"TEST CONNECTION"),l(),_(15,sae,2,0,"mat-icon",48),d(16,"button",49),L("click",function(){return ae(e),se(w(2).createOrTestConnection(!0,!1))}),h(17,"CREATE PROFILE"),l()()}if(2&t){const e=w(2);m(7),f("ngForOf",e.ipList),m(1),f("ngIf",!e.testSuccess&&""!=e.errorSrcMsg),m(2),f("ngIf",e.testingSourceConnection),m(1),f("ngIf",e.creatingSourceConnection),m(1),f("ngIf",e.testSuccess),m(1),f("disabled",!e.determineConnectionProfileInfoValidity()||e.testingSourceConnection),m(2),f("ngIf",e.createSrcConnSuccess),m(1),f("disabled",!e.testSuccess||e.creatingSourceConnection)}}function lae(t,n){if(1&t){const e=_e();xe(0),d(1,"div",60)(2,"mat-form-field",5)(3,"mat-label"),h(4,"Logical Shard ID"),l(),D(5,"input",61),l(),d(6,"mat-form-field",5)(7,"mat-label"),h(8,"Source Database Name"),l(),D(9,"input",62),l(),d(10,"mat-icon",63),L("click",function(){const r=ae(e).index;return se(w(2).deleteRow(r))}),h(11," delete_forever"),l()(),we()}if(2&t){const e=n.index;m(1),f("formGroupName",e)}}function dae(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",35),L("change",function(){const r=ae(e).$implicit;return se(w(2).onItemChange(r.value,"target"))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function uae(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayName),m(1),Se(" ",e.DisplayName," ")}}function hae(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",5)(2,"mat-label"),h(3,"Select target connection profile"),l(),d(4,"mat-select",64),_(5,uae,2,2,"mat-option",8),l()()()),2&t){const e=w(2);m(5),f("ngForOf",e.targetProfileList)}}function mae(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",55),D(3,"mat-spinner",56),l(),d(4,"span",57),h(5,"Creating target connection profile"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}function pae(t,n){1&t&&(d(0,"mat-icon",59),h(1," check_circle "),l())}function fae(t,n){if(1&t&&(d(0,"div",53)(1,"span",51),h(2),l()()),2&t){const e=w(3);m(2),Re(e.errorTgtMsg)}}function gae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-form-field",42)(2,"mat-label"),h(3,"Connection profile name"),l(),D(4,"input",65),l(),_(5,mae,7,1,"div",26),_(6,pae,2,0,"mat-icon",48),d(7,"button",49),L("click",function(){return ae(e),se(w(2).createOrTestConnection(!1,!1))}),h(8,"CREATE PROFILE"),l(),_(9,fae,3,1,"div",15),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.creatingTargetConnection),m(1),f("ngIf",e.createTgtConnSuccess),m(1),f("disabled",e.creatingTargetConnection),m(2),f("ngIf",""!=e.errorTgtMsg)}}function _ae(t,n){if(1&t){const e=_e();d(0,"div",18)(1,"span",22),h(2,"Configure Source Profile"),l(),d(3,"div",23)(4,"mat-radio-group",24),L("ngModelChange",function(o){return ae(e),se(w().selectedSourceProfileOption=o)}),_(5,Xre,2,2,"mat-radio-button",25),l()(),D(6,"br"),_(7,eae,10,2,"div",26),_(8,tae,25,1,"div",26),D(9,"br"),_(10,cae,18,8,"div",26),D(11,"hr"),d(12,"span",22),h(13,"Configure ShardId and Database Names"),l(),d(14,"mat-icon",27),h(15,"info"),l(),D(16,"br")(17,"br"),d(18,"span",28),xe(19,29),_(20,lae,12,1,"ng-container",30),we(),l(),d(21,"div",31)(22,"button",32),L("click",function(){return ae(e),se(w().addRow())}),h(23,"ADD ROW"),l()(),D(24,"br")(25,"hr"),d(26,"span",22),h(27,"Configure Target Profile"),l(),d(28,"div",33)(29,"mat-radio-group",34),L("ngModelChange",function(o){return ae(e),se(w().selectedTargetProfileOption=o)}),_(30,dae,2,2,"mat-radio-button",25),l()(),D(31,"br"),_(32,hae,6,1,"div",26),_(33,gae,10,4,"div",26),D(34,"hr"),l()}if(2&t){const e=w();m(4),f("ngModel",e.selectedSourceProfileOption),m(1),f("ngForOf",e.profileOptions),m(2),f("ngIf","existing"===e.selectedSourceProfileOption),m(1),f("ngIf","new"===e.selectedSourceProfileOption),m(2),f("ngIf","new"===e.selectedSourceProfileOption),m(10),f("ngForOf",e.shardMappingTable.controls),m(9),f("ngModel",e.selectedTargetProfileOption),m(1),f("ngForOf",e.profileOptions),m(2),f("ngIf","existing"===e.selectedTargetProfileOption),m(1),f("ngIf","new"===e.selectedTargetProfileOption)}}function bae(t,n){if(1&t){const e=_e();d(0,"button",66),L("click",function(){return ae(e),se(w().saveDetailsAndReset())}),h(1," ADD MORE SHARDS "),l()}2&t&&f("disabled",!w().determineFormValidity())}function vae(t,n){if(1&t&&(d(0,"div",53)(1,"span",51),h(2),l(),d(3,"mat-icon",54),h(4," error "),l()()),2&t){const e=w();m(2),Re(e.errorMsg),m(1),f("matTooltip",e.errorMsg)}}let yae=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.formBuilder=o,this.dialogRef=r,this.data=a,this.selectedProfile="",this.profileType="",this.sourceProfileList=[],this.targetProfileList=[],this.definedSrcConnProfileList=[],this.definedTgtConnProfileList=[],this.shardIdToDBMappingTable=[],this.dataShardIdList=[],this.ipList=[],this.selectedSourceProfileOption="existing",this.selectedTargetProfileOption="existing",this.profileOptions=[{value:"existing",display:"Choose an existing connection profile"},{value:"new",display:"Create a new connection profile"}],this.profileName="",this.errorMsg="",this.errorSrcMsg="",this.errorTgtMsg="",this.sourceDatabaseType="",this.inputValue="",this.testSuccess=!1,this.createSrcConnSuccess=!1,this.createTgtConnSuccess=!1,this.physicalShards=0,this.logicalShards=0,this.testingSourceConnection=!1,this.creatingSourceConnection=!1,this.creatingTargetConnection=!1,this.prefix="smt_datashard",this.inputOptionsList=[{value:"text",displayName:"Text"},{value:"form",displayName:"Form"}],this.region=a.Region,this.sourceDatabaseType=a.SourceDatabaseType,localStorage.getItem($i.Type)==An.DirectConnect&&(this.schemaSourceConfig=JSON.parse(localStorage.getItem($i.Config)));let c=this.formBuilder.group({logicalShardId:["",me.required],dbName:["",me.required]});this.inputValue=this.prefix+"_"+this.randomString(4)+"_"+this.randomString(4),this.migrationProfileForm=this.formBuilder.group({inputType:["form",me.required],textInput:[""],sourceProfileOption:["new",me.required],targetProfileOption:["new",me.required],newSourceProfile:["",[me.pattern("^[a-z][a-z0-9-]{0,59}$")]],existingSourceProfile:[],newTargetProfile:["",me.pattern("^[a-z][a-z0-9-]{0,59}$")],existingTargetProfile:[],host:[this.schemaSourceConfig?.hostName],user:[this.schemaSourceConfig?.userName],port:[this.schemaSourceConfig?.port],password:[this.schemaSourceConfig?.password],dataShardId:[this.inputValue,me.required],shardMappingTable:this.formBuilder.array([c])}),this.migrationProfile={configType:"dataflow",shardConfigurationDataflow:{schemaSource:{host:this.schemaSourceConfig?.hostName,user:this.schemaSourceConfig?.userName,password:this.schemaSourceConfig?.password,port:this.schemaSourceConfig?.port,dbName:this.schemaSourceConfig?.dbName},dataShards:[]}}}ngOnInit(){this.getConnectionProfiles(!0),this.getConnectionProfiles(!1),this.getDatastreamIPs(),this.initFromLocalStorage()}initFromLocalStorage(){}get shardMappingTable(){return this.migrationProfileForm.controls.shardMappingTable}addRow(){let e=this.formBuilder.group({logicalShardId:["",me.required],dbName:["",me.required]});this.shardMappingTable.push(e)}deleteRow(e){this.shardMappingTable.removeAt(e)}getDatastreamIPs(){this.fetch.getStaticIps().subscribe({next:e=>{this.ipList=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}getConnectionProfiles(e){this.fetch.getConnectionProfiles(e).subscribe({next:i=>{e?this.sourceProfileList=i:this.targetProfileList=i},error:i=>{this.snack.openSnackBar(i.error,"Close")}})}onItemChange(e,i){this.profileType=i,"source"===this.profileType?(this.selectedSourceProfileOption=e,"new"==this.selectedSourceProfileOption?(this.migrationProfileForm.get("newSourceProfile")?.setValidators([me.required]),this.migrationProfileForm.controls.existingSourceProfile.clearValidators(),this.migrationProfileForm.controls.newSourceProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingSourceProfile.updateValueAndValidity(),this.migrationProfileForm.get("host")?.setValidators([me.required]),this.migrationProfileForm.controls.host.updateValueAndValidity(),this.migrationProfileForm.get("user")?.setValidators([me.required]),this.migrationProfileForm.controls.user.updateValueAndValidity(),this.migrationProfileForm.get("port")?.setValidators([me.required]),this.migrationProfileForm.controls.port.updateValueAndValidity(),this.migrationProfileForm.get("password")?.setValidators([me.required]),this.migrationProfileForm.controls.password.updateValueAndValidity()):(this.migrationProfileForm.controls.newSourceProfile.clearValidators(),this.migrationProfileForm.get("existingSourceProfile")?.addValidators([me.required]),this.migrationProfileForm.controls.newSourceProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingSourceProfile.updateValueAndValidity(),this.migrationProfileForm.controls.host.clearValidators(),this.migrationProfileForm.controls.host.updateValueAndValidity(),this.migrationProfileForm.controls.user.clearValidators(),this.migrationProfileForm.controls.user.updateValueAndValidity(),this.migrationProfileForm.controls.port.clearValidators(),this.migrationProfileForm.controls.port.updateValueAndValidity(),this.migrationProfileForm.controls.password.clearValidators(),this.migrationProfileForm.controls.password.updateValueAndValidity())):(this.selectedTargetProfileOption=e,"new"==this.selectedTargetProfileOption?(this.migrationProfileForm.get("newTargetProfile")?.setValidators([me.required]),this.migrationProfileForm.controls.existingTargetProfile.clearValidators(),this.migrationProfileForm.controls.newTargetProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingTargetProfile.updateValueAndValidity()):(this.migrationProfileForm.controls.newTargetProfile.clearValidators(),this.migrationProfileForm.get("existingTargetProfile")?.addValidators([me.required]),this.migrationProfileForm.controls.newTargetProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingTargetProfile.updateValueAndValidity()))}setValidators(e){if("text"===e){for(const o in this.migrationProfileForm.controls)this.migrationProfileForm.controls[o].clearValidators(),this.migrationProfileForm.controls[o].updateValueAndValidity();this.migrationProfileForm.get("shardMappingTable").controls.forEach(o=>{const r=o,a=r.get("logicalShardId"),s=r.get("dbName");a?.clearValidators(),a?.updateValueAndValidity(),s?.clearValidators(),s?.updateValueAndValidity()}),this.migrationProfileForm.controls.textInput.setValidators([me.required]),this.migrationProfileForm.controls.textInput.updateValueAndValidity()}else this.onItemChange("new","source"),this.onItemChange("new","target"),this.migrationProfileForm.controls.textInput.clearValidators(),this.migrationProfileForm.controls.textInput.updateValueAndValidity()}saveDetailsAndReset(){this.handleConnConfigsFromForm();let e=this.formBuilder.group({logicalShardId:["",me.required],dbName:["",me.required]});this.inputValue=this.prefix+"_"+this.randomString(4)+"_"+this.randomString(4),this.migrationProfileForm=this.formBuilder.group({inputType:["form",me.required],textInput:[],sourceProfileOption:[this.selectedSourceProfileOption],targetProfileOption:[this.selectedTargetProfileOption],newSourceProfile:["",[me.pattern("^[a-z][a-z0-9-]{0,59}$")]],existingSourceProfile:[],newTargetProfile:["",me.pattern("^[a-z][a-z0-9-]{0,59}$")],existingTargetProfile:[],host:[],user:[],port:[],password:[],dataShardId:[this.inputValue],shardMappingTable:this.formBuilder.array([e])}),this.testSuccess=!1,this.createSrcConnSuccess=!1,this.createTgtConnSuccess=!1,this.snack.openSnackBar("Shard configured successfully, please configure the next","Close",5)}randomString(e){for(var o="",r=0;r{localStorage.setItem(ue.IsSourceConnectionProfileSet,"true"),localStorage.setItem(ue.IsTargetConnectionProfileSet,"true"),localStorage.setItem(ue.NumberOfShards,this.determineTotalLogicalShardsConfigured().toString()),localStorage.setItem(ue.NumberOfInstances,this.migrationProfile.shardConfigurationDataflow.dataShards.length.toString()),this.dialogRef.close()},error:o=>{this.errorMsg=o.error}})}determineTotalLogicalShardsConfigured(){let e=0;return this.migrationProfile.shardConfigurationDataflow.dataShards.forEach(i=>{e+=i.databases.length}),e}handleConnConfigsFromForm(){let e=this.migrationProfileForm.value;this.dataShardIdList.push(e.dataShardId),this.definedSrcConnProfileList.push("new"===this.selectedSourceProfileOption?{name:e.newSourceProfile,location:this.region}:{name:e.existingSourceProfile,location:this.region}),this.definedTgtConnProfileList.push("new"===this.selectedTargetProfileOption?{name:e.newTargetProfile,location:this.region}:{name:e.existingTargetProfile,location:this.region});let i=[];for(let o of this.shardMappingTable.controls)if(o instanceof ni){const r=o.value;i.push({dbName:r.dbName,databaseId:r.logicalShardId,refDataShardId:e.dataShardId})}this.shardIdToDBMappingTable.push(i),this.physicalShards++,this.logicalShards=this.logicalShards+i.length}determineFormValidity(){return!(!this.migrationProfileForm.valid||"new"===this.selectedSourceProfileOption&&!this.createSrcConnSuccess||"new"===this.selectedTargetProfileOption&&!this.createTgtConnSuccess)}determineFinishValidity(){return this.definedSrcConnProfileList.length>0||this.determineFormValidity()}determineConnectionProfileInfoValidity(){let e=this.migrationProfileForm.value;return null!=e.host&&null!=e.port&&null!=e.user&&null!=e.password&&null!=e.newSourceProfile}createOrTestConnection(e,i){i?this.testingSourceConnection=!0:e?this.creatingSourceConnection=!0:this.creatingTargetConnection=!0;let r,o=this.migrationProfileForm.value;r=e?{Id:o.newSourceProfile,IsSource:!0,ValidateOnly:i,Host:o.host,Port:o.port,User:o.user,Password:o.password}:{Id:o.newTargetProfile,IsSource:!1,ValidateOnly:i},this.fetch.createConnectionProfile(r).subscribe({next:()=>{i?(this.testingSourceConnection=!1,this.testSuccess=!0):e?(this.createSrcConnSuccess=!0,this.errorSrcMsg="",this.creatingSourceConnection=!1):(this.createTgtConnSuccess=!0,this.errorTgtMsg="",this.creatingTargetConnection=!1)},error:a=>{i?(this.testingSourceConnection=!1,this.testSuccess=!1,this.errorSrcMsg=a.error):e?(this.createSrcConnSuccess=!1,this.errorSrcMsg=a.error,this.creatingSourceConnection=!1):(this.createTgtConnSuccess=!1,this.errorTgtMsg=a.error,this.creatingTargetConnection=!1)}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Kr),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sharded-dataflow-migration-details-form"]],decls:26,vars:8,consts:[["mat-dialog-content","",1,"connect-load-database-container"],[1,"conn-profile-form",3,"formGroup"],[1,"mat-h2","header-title"],[1,"top"],[1,"top-1"],["appearance","outline"],["formControlName","inputType",3,"selectionChange"],["inputType",""],[3,"value",4,"ngFor","ngForOf"],["class","top-2",4,"ngIf"],["class","textInput",4,"ngIf"],[1,"last-btns"],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","type","submit","color","accent",3,"disabled","click",4,"ngIf"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["class","failure",4,"ngIf"],[3,"value"],[1,"top-2"],[1,"textInput"],["appearance","outline",1,"json-input"],["name","textInput","formControlName","textInput","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","20"],["autosize","cdkTextareaAutosize"],[1,"mat-h4","header-title"],[1,"source-radio-button-container"],["formControlName","sourceProfileOption",1,"radio-button-container",3,"ngModel","ngModelChange"],["class","radio-button",3,"value","change",4,"ngFor","ngForOf"],[4,"ngIf"],["matTooltip","Logical Shard ID value will be used to populate the migration_shard_id column added as part of sharded database migration",1,"configure"],[1,"border"],["formArrayName","shardMappingTable"],[4,"ngFor","ngForOf"],[1,"table-buttons"],["mat-raised-button","","color","primary","type","button",3,"click"],[1,"target-radio-button-container"],["formControlName","targetProfileOption",1,"radio-button-container",3,"ngModel","ngModelChange"],[1,"radio-button",3,"value","change"],["formControlName","existingSourceProfile","required","true","ng-value","selectedProfile",1,"input-field"],["matInput","","type","text","formControlName","dataShardId","required","true","readonly","",3,"value"],["matInput","","placeholder","Host","type","text","formControlName","host","required","true"],["matInput","","placeholder","User","type","text","formControlName","user","required","true"],["matInput","","placeholder","Port","type","text","formControlName","port","required","true"],["matInput","","placeholder","Password","type","password","formControlName","password","required","true"],["appearance","outline","hintLabel","Name can include lower case letters, numbers and hyphens. Must start with a letter."],["matInput","","placeholder","Connection profile name","type","text","formControlName","newSourceProfile","required","true"],["href","https://cloud.google.com/datastream/docs/network-connectivity-options#ipallowlists","target","_blank"],["class","connection-form-container",4,"ngFor","ngForOf"],["class","success","matTooltip","Test connection successful","matTooltipPosition","above",4,"ngIf"],["mat-raised-button","","type","button","color","primary",3,"disabled","click"],["class","success","matTooltip","Profile creation successful","matTooltipPosition","above",4,"ngIf"],["mat-raised-button","","type","button","color","warn",3,"disabled","click"],[1,"connection-form-container"],[1,"left-text"],["matTooltip","Copy",1,"icon","copy",3,"cdkCopyToClipboard"],[1,"failure"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"],[1,"spinner"],[3,"diameter"],[1,"spinner-small-text"],["matTooltip","Test connection successful","matTooltipPosition","above",1,"success"],["matTooltip","Profile creation successful","matTooltipPosition","above",1,"success"],[1,"shard-mapping-form-row",3,"formGroupName"],["matInput","","formControlName","logicalShardId","placeholder","Enter Logical ShardID"],["matInput","","formControlName","dbName","placeholder","Enter Database Name"],[1,"delete-btn",3,"click"],["formControlName","existingTargetProfile","required","true","ng-value","selectedProfile",1,"input-field"],["matInput","","placeholder","Connection profile name","type","text","formControlName","newTargetProfile","required","true"],["mat-raised-button","","type","submit","color","accent",3,"disabled","click"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"form",1)(2,"span",2),h(3,"Datastream Details"),l(),D(4,"br"),d(5,"b"),h(6,"Note: Please configure the database used for schema conversion, if you want Spanner migration tool to migrate data from it as well."),l(),d(7,"div",3),h(8,"` "),d(9,"div",4)(10,"mat-form-field",5)(11,"mat-label"),h(12,"Input Type"),l(),d(13,"mat-select",6,7),L("selectionChange",function(){ae(r);const s=At(14);return se(o.setValidators(s.value))}),_(15,Zre,2,2,"mat-option",8),l()()(),_(16,Yre,9,2,"div",9),l(),_(17,Qre,6,0,"div",10),_(18,_ae,35,10,"div",10),d(19,"div",11)(20,"button",12),h(21,"CANCEL"),l(),_(22,bae,2,1,"button",13),d(23,"button",14),L("click",function(){return o.finalizeConnDetails()}),h(24," FINISH "),l(),_(25,vae,5,2,"div",15),l()()()}2&i&&(m(1),f("formGroup",o.migrationProfileForm),m(14),f("ngForOf",o.inputOptionsList),m(1),f("ngIf","form"===o.migrationProfileForm.value.inputType),m(1),f("ngIf","text"===o.migrationProfileForm.value.inputType),m(1),f("ngIf","form"===o.migrationProfileForm.value.inputType),m(4),f("ngIf","form"===o.migrationProfileForm.value.inputType),m(1),f("disabled",!o.determineFinishValidity()),m(2),f("ngIf",""!=o.errorMsg))},dependencies:[an,Et,Kt,_i,Hd,CI,qv,Wv,Oi,Ii,sn,q2,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,Yd,Qd,wo,vr,On,$p,Gp,l0,_l],styles:[".icon[_ngcontent-%COMP%]{font-size:15px}.connection-form-container[_ngcontent-%COMP%]{display:block}.left-text[_ngcontent-%COMP%]{width:40%;display:inline-block}.shard-mapping-form-row[_ngcontent-%COMP%]{width:80%;margin-left:auto;margin-right:auto}.table-header[_ngcontent-%COMP%]{width:80%;margin:auto auto 10px;text-align:right;display:flex;align-items:center;justify-content:space-between}form[_ngcontent-%COMP%], .table-body[_ngcontent-%COMP%]{flex:auto;overflow-y:auto}.table-buttons[_ngcontent-%COMP%]{margin-left:70%}.radio-button-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin:15px 0;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}.json-input[_ngcontent-%COMP%]{width:100%}.top[_ngcontent-%COMP%]{border:3px solid #fff;padding:20px}.top-1[_ngcontent-%COMP%]{width:60%;float:left}.top-2[_ngcontent-%COMP%]{width:40%;float:right;flex:auto}.last-btns[_ngcontent-%COMP%]{padding:20px;width:100%;float:left}"]})}return t})();function xae(t,n){1&t&&(d(0,"h2"),h(1,"Source and Target Database definitions"),l())}function wae(t,n){1&t&&(d(0,"h2"),h(1,"Source and Target Database definitions (per shard)"),l())}function Cae(t,n){1&t&&(d(0,"th",36),h(1,"Title"),l())}function Dae(t,n){if(1&t&&(d(0,"td",37)(1,"b"),h(2),l()()),2&t){const e=n.$implicit;m(2),Re(e.title)}}function kae(t,n){1&t&&(d(0,"th",36),h(1,"Source"),l())}function Sae(t,n){if(1&t&&(d(0,"td",37),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.source)}}function Mae(t,n){1&t&&(d(0,"th",36),h(1,"Destination"),l())}function Tae(t,n){if(1&t&&(d(0,"td",37),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.target)}}function Iae(t,n){1&t&&D(0,"tr",38)}function Eae(t,n){1&t&&D(0,"tr",39)}function Oae(t,n){if(1&t&&(d(0,"mat-option",40),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Se(" ",e," ")}}function Aae(t,n){if(1&t&&(d(0,"mat-option",40),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.name," ")}}function Pae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-form-field",20)(2,"mat-label"),h(3,"Migration Type:"),l(),d(4,"mat-select",21),L("ngModelChange",function(o){return ae(e),se(w().selectedMigrationType=o)})("selectionChange",function(){return ae(e),se(w().refreshPrerequisites())}),_(5,Aae,2,2,"mat-option",22),l()(),d(6,"mat-icon",23),h(7,"info"),l(),D(8,"br"),l()}if(2&t){const e=w();m(4),f("ngModel",e.selectedMigrationType),m(1),f("ngForOf",e.migrationTypes),m(1),f("matTooltip",e.migrationTypesHelpText.get(e.selectedMigrationType))}}function Rae(t,n){if(1&t&&(d(0,"mat-option",40),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function Fae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-form-field",20)(2,"mat-label"),h(3,"Skip Foreign Key Creation:"),l(),d(4,"mat-select",41),L("ngModelChange",function(o){return ae(e),se(w().isForeignKeySkipped=o)}),_(5,Rae,2,2,"mat-option",22),l()()()}if(2&t){const e=w();m(4),f("ngModel",e.isForeignKeySkipped),m(1),f("ngForOf",e.skipForeignKeyResponseList)}}function Nae(t,n){1&t&&(d(0,"div",42)(1,"p",26)(2,"span",27),h(3,"1"),l(),d(4,"span"),h(5,"Please ensure that the application default credentials deployed on this machine have permissions to write to Spanner."),l()()())}function Lae(t,n){1&t&&(d(0,"div",42)(1,"p",26)(2,"span",27),h(3,"1"),l(),d(4,"span"),h(5,"Please ensure that the source is "),d(6,"a",43),h(7,"configured"),l(),h(8," for Datastream change data capture."),l()(),d(9,"p",26)(10,"span",27),h(11,"2"),l(),d(12,"span"),h(13,"Please ensure that Dataflow "),d(14,"a",44),h(15,"permissions"),l(),h(16," and "),d(17,"a",45),h(18,"networking"),l(),h(19," are correctly setup."),l()()())}function Bae(t,n){1&t&&(d(0,"mat-icon",47),h(1," check_circle "),l())}function Vae(t,n){if(1&t){const e=_e();d(0,"div")(1,"h3"),h(2,"Source database details:"),l(),d(3,"p",26)(4,"span",27),h(5,"1"),l(),d(6,"span"),h(7,"Setup Source database details"),l(),d(8,"span")(9,"button",29),L("click",function(){return ae(e),se(w().openSourceDetailsForm())}),h(10," Configure "),d(11,"mat-icon",30),h(12,"edit"),l(),_(13,Bae,2,0,"mat-icon",46),l()()()()}if(2&t){const e=w();m(9),f("disabled",e.isMigrationInProgress),m(4),f("ngIf",e.isSourceDetailsSet)}}function jae(t,n){1&t&&(d(0,"mat-icon",47),h(1," check_circle "),l())}function zae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-card-title"),h(2,"Source databases details:"),l(),d(3,"p",26)(4,"span",27),h(5,"1"),l(),d(6,"span"),h(7,"Setup Source Connection details "),d(8,"mat-icon",48),h(9," info"),l()(),d(10,"span")(11,"button",29),L("click",function(){return ae(e),se(w().openShardedBulkSourceDetailsForm())}),h(12," Configure "),d(13,"mat-icon",30),h(14,"edit"),l(),_(15,jae,2,0,"mat-icon",46),l()()()()}if(2&t){const e=w();m(11),f("disabled",e.isMigrationInProgress),m(4),f("ngIf",e.isSourceDetailsSet)}}function Hae(t,n){1&t&&(d(0,"mat-icon",49),h(1," check_circle "),l())}function Uae(t,n){1&t&&(d(0,"mat-icon",52),h(1," check_circle "),l())}function $ae(t,n){if(1&t){const e=_e();d(0,"p",26)(1,"span",27),h(2,"2"),l(),d(3,"span"),h(4,"Configure Datastream "),d(5,"mat-icon",50),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openMigrationProfileForm())}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,Uae,2,0,"mat-icon",51),l()()()}if(2&t){const e=w();m(8),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isSourceConnectionProfileSet)}}function Gae(t,n){1&t&&(d(0,"mat-icon",52),h(1," check_circle "),l())}function Wae(t,n){if(1&t){const e=_e();d(0,"p",26)(1,"span",27),h(2,"2"),l(),d(3,"span"),h(4,"Setup source connection profile "),d(5,"mat-icon",53),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openConnectionProfileForm(!0))}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,Gae,2,0,"mat-icon",51),l()()()}if(2&t){const e=w();m(8),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isSourceConnectionProfileSet)}}function qae(t,n){1&t&&(d(0,"mat-icon",56),h(1," check_circle "),l())}function Kae(t,n){if(1&t){const e=_e();d(0,"p",26)(1,"span",27),h(2,"3"),l(),d(3,"span"),h(4,"Setup target connection profile "),d(5,"mat-icon",54),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openConnectionProfileForm(!1))}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,qae,2,0,"mat-icon",55),l()()()}if(2&t){const e=w();m(8),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isTargetConnectionProfileSet)}}function Zae(t,n){1&t&&(d(0,"span",27),h(1,"3"),l())}function Yae(t,n){1&t&&(d(0,"span",27),h(1,"4"),l())}function Qae(t,n){1&t&&(d(0,"mat-icon",60),h(1," check_circle "),l())}function Xae(t,n){if(1&t){const e=_e();d(0,"p",26),_(1,Zae,2,0,"span",57),_(2,Yae,2,0,"span",57),d(3,"span"),h(4,"Tune Dataflow (Optional) "),d(5,"mat-icon",58),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openDataflowForm())}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,Qae,2,0,"mat-icon",59),l()()()}if(2&t){const e=w();m(1),f("ngIf",e.isSharded),m(1),f("ngIf",!e.isSharded),m(6),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isDataflowConfigurationSet)}}function Jae(t,n){1&t&&(d(0,"span",27),h(1,"4"),l())}function ese(t,n){if(1&t){const e=_e();d(0,"p",26),_(1,Jae,2,0,"span",57),d(2,"span"),h(3,"Download configuration as JSON "),d(4,"mat-icon",61),h(5,"info "),l()(),d(6,"span")(7,"button",29),L("click",function(){return ae(e),se(w().downloadConfiguration())}),h(8," Download "),d(9,"mat-icon",62),h(10," download"),l()()()()}if(2&t){const e=w();m(1),f("ngIf",e.isSharded),m(6),f("disabled",!e.isTargetDetailSet||!e.isTargetConnectionProfileSet)}}function tse(t,n){if(1&t&&(d(0,"div",24)(1,"mat-card")(2,"mat-card-title"),h(3,"Configured Source Details"),l(),d(4,"p",26)(5,"span",27),h(6,"1"),l(),d(7,"span")(8,"b"),h(9,"Source Database: "),l(),h(10),l()(),d(11,"p",26)(12,"span",27),h(13,"2"),l(),d(14,"span")(15,"b"),h(16,"Number of physical instances configured: "),l(),h(17),l()(),d(18,"p",26)(19,"span",27),h(20,"3"),l(),d(21,"span")(22,"b"),h(23,"Number of logical shards configured: "),l(),h(24),l()()()()),2&t){const e=w();m(10),Re(e.sourceDatabaseType),m(7),Se(" ",e.numberOfInstances,""),m(7),Se(" ",e.numberOfShards,"")}}function ise(t,n){if(1&t&&(d(0,"div",24)(1,"mat-card")(2,"mat-card-title"),h(3,"Configured Target Details"),l(),d(4,"p",26)(5,"span",27),h(6,"1"),l(),d(7,"span")(8,"b"),h(9,"Spanner Database: "),l(),h(10),l()(),d(11,"p",26)(12,"span",27),h(13,"2"),l(),d(14,"span")(15,"b"),h(16,"Spanner Dialect: "),l(),h(17),l()(),d(18,"p",26)(19,"span",27),h(20,"3"),l(),d(21,"span")(22,"b"),h(23,"Region: "),l(),h(24),l()(),d(25,"p",26)(26,"span",27),h(27,"4"),l(),d(28,"span")(29,"b"),h(30,"Spanner Instance: "),l(),h(31),l()()()()),2&t){const e=w();m(10),Re(e.targetDetails.TargetDB),m(7),Re(e.dialect),m(7),Re(e.region),m(7),O_("",e.instance," (Nodes: ",e.nodeCount,", Processing Units: ",e.processingUnits,")")}}function nse(t,n){if(1&t&&(d(0,"div",63),D(1,"br")(2,"mat-progress-bar",64),d(3,"span"),h(4),l()()),2&t){const e=w();m(2),f("value",e.schemaMigrationProgress),m(2),Se(" ",e.schemaProgressMessage,"")}}function ose(t,n){if(1&t&&(d(0,"div",63),D(1,"br")(2,"mat-progress-bar",64),d(3,"span"),h(4),l()()),2&t){const e=w();m(2),f("value",e.dataMigrationProgress),m(2),Se(" ",e.dataProgressMessage,"")}}function rse(t,n){if(1&t&&(d(0,"div",63),D(1,"br")(2,"mat-progress-bar",64),d(3,"span"),h(4),l()()),2&t){const e=w();m(2),f("value",e.foreignKeyUpdateProgress),m(2),Se(" ",e.foreignKeyProgressMessage,"")}}function ase(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",65),D(3,"mat-spinner",66),l(),d(4,"span",67),h(5,"Generating Resources"),l(),D(6,"br"),h(7," Note: Spanner migration tool is creating datastream and dataflow resources. Please look at the terminal logs to check the progress of resource creation. All created resources will be displayed here once they are generated. "),l()),2&t&&(m(3),f("diameter",20))}function sse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Monitoring Dashboard: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.MonitoringDashboardUrl,kn),m(1),Re(e.resourcesGenerated.MonitoringDashboardName)}}function cse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Aggregated Monitoring Dashboard: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(3);m(3),f("href",e.resourcesGenerated.AggMonitoringDashboardUrl,kn),m(1),Re(e.resourcesGenerated.AggMonitoringDashboardName)}}function lse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Dashboard for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function dse(t,n){if(1&t&&(d(0,"span"),_(1,cse,5,2,"span",10),_(2,lse,4,3,"li",69),va(3,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngIf",""!==e.resourcesGenerated.AggMonitoringDashboardName&&e.isSharded),m(1),f("ngForOf",ya(3,2,e.resourcesGenerated.ShardToMonitoringDashboardMap))}}function use(t,n){if(1&t&&(d(0,"div")(1,"h3"),h(2," Monitoring Dashboards:"),l(),_(3,sse,5,2,"span",10),_(4,dse,4,4,"span",10),l()),2&t){const e=w();m(3),f("ngIf",!e.isSharded),m(1),f("ngIf",e.isSharded)}}function hse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Datastream job: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.DataStreamJobUrl,kn),m(1),Re(e.resourcesGenerated.DataStreamJobName)}}function mse(t,n){if(1&t){const e=_e();d(0,"span")(1,"li"),h(2,"Dataflow job: "),d(3,"a",68),h(4),l(),d(5,"span")(6,"button",70),L("click",function(){ae(e);const o=w(2);return se(o.openGcloudPopup(o.resourcesGenerated.DataflowGcloudCmd))}),d(7,"mat-icon",71),h(8," code"),l()()()()()}if(2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.DataflowJobUrl,kn),m(1),Re(e.resourcesGenerated.DataflowJobName)}}function pse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Pubsub topic: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.PubsubTopicUrl,kn),m(1),Re(e.resourcesGenerated.PubsubTopicName)}}function fse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Pubsub subscription: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.PubsubSubscriptionUrl,kn),m(1),Re(e.resourcesGenerated.PubsubSubscriptionName)}}function gse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Datastream job for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function _se(t,n){if(1&t&&(d(0,"span"),_(1,gse,4,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToDatastreamMap))}}function bse(t,n){if(1&t){const e=_e();d(0,"li"),h(1),d(2,"a",68),h(3),l(),d(4,"span")(5,"button",70),L("click",function(){const r=ae(e).$implicit;return se(w(3).openGcloudPopup(r.value.GcloudCmd))}),d(6,"mat-icon",71),h(7," code"),l()()()()}if(2&t){const e=n.$implicit;m(1),Se(" Dataflow job for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function vse(t,n){if(1&t&&(d(0,"span"),_(1,bse,8,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToDataflowMap))}}function yse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Pubsub topic for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function xse(t,n){if(1&t&&(d(0,"span"),_(1,yse,4,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToPubsubTopicMap))}}function wse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Pubsub subscription for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function Cse(t,n){if(1&t&&(d(0,"span"),_(1,wse,4,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToPubsubSubscriptionMap))}}function Dse(t,n){1&t&&(d(0,"span")(1,"b"),h(2,"Note: "),l(),h(3,"Spanner migration tool has orchestrated the migration successfully. For minimal downtime migrations, it is safe to close Spanner migration tool now without affecting the progress of the migration. Please note that Spanner migration tool does not save the IDs of the Dataflow jobs created once closed, so please keep copy over the links in the Generated Resources section above before closing Spanner migration tool. "),l())}function kse(t,n){if(1&t&&(d(0,"div")(1,"h3"),h(2," Generated Resources:"),l(),d(3,"li"),h(4,"Spanner database: "),d(5,"a",68),h(6),l()(),d(7,"li"),h(8,"GCS bucket: "),d(9,"a",68),h(10),l()(),_(11,hse,5,2,"span",10),_(12,mse,9,2,"span",10),_(13,pse,5,2,"span",10),_(14,fse,5,2,"span",10),_(15,_se,3,3,"span",10),_(16,vse,3,3,"span",10),_(17,xse,3,3,"span",10),_(18,Cse,3,3,"span",10),D(19,"br")(20,"br"),_(21,Dse,4,0,"span",10),l()),2&t){const e=w();m(5),f("href",e.resourcesGenerated.DatabaseUrl,kn),m(1),Re(e.resourcesGenerated.DatabaseName),m(3),f("href",e.resourcesGenerated.BucketUrl,kn),m(1),Re(e.resourcesGenerated.BucketName),m(1),f("ngIf",""!==e.resourcesGenerated.DataStreamJobName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.DataflowJobName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubTopicName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubSubscriptionName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.DataStreamJobName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.DataflowJobName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubTopicName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubSubscriptionName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(3),f("ngIf","lowdt"===e.selectedMigrationType)}}function Sse(t,n){if(1&t){const e=_e();d(0,"span")(1,"button",72),L("click",function(){return ae(e),se(w().migrate())}),h(2,"Migrate"),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.isTargetDetailSet&&"lowdt"===e.selectedMigrationType&&e.isSourceConnectionProfileSet&&e.isTargetConnectionProfileSet||e.isTargetDetailSet&&"bulk"===e.selectedMigrationType)||e.isMigrationInProgress)}}function Mse(t,n){if(1&t){const e=_e();d(0,"span")(1,"button",73),L("click",function(){return ae(e),se(w().endMigration())}),h(2,"End Migration"),l()()}}const Tse=[{path:"",component:NJ},{path:"source",component:dee,children:[{path:"",redirectTo:"/direct-connection",pathMatch:"full"},{path:"direct-connection",component:WX},{path:"load-dump",component:ZJ},{path:"load-session",component:eee}]},{path:"workspace",component:_re},{path:"instruction",component:NA},{path:"prepare-migration",component:(()=>{class t{constructor(e,i,o,r,a){this.dialog=e,this.fetch=i,this.snack=o,this.data=r,this.sidenav=a,this.displayedColumns=["Title","Source","Destination"],this.dataSource=[],this.migrationModes=[],this.migrationTypes=[],this.isSourceConnectionProfileSet=!1,this.isTargetConnectionProfileSet=!1,this.isDataflowConfigurationSet=!1,this.isSourceDetailsSet=!1,this.isTargetDetailSet=!1,this.isForeignKeySkipped=!1,this.isMigrationDetailSet=!1,this.isStreamingSupported=!1,this.hasDataMigrationStarted=!1,this.hasSchemaMigrationStarted=!1,this.hasForeignKeyUpdateStarted=!1,this.selectedMigrationMode=Dr.schemaAndData,this.connectionType=An.DirectConnect,this.selectedMigrationType=vn.lowDowntimeMigration,this.isMigrationInProgress=!1,this.isLowDtMigrationRunning=!1,this.isResourceGenerated=!1,this.generatingResources=!1,this.errorMessage="",this.schemaProgressMessage="Schema migration in progress...",this.dataProgressMessage="Data migration in progress...",this.foreignKeyProgressMessage="Foreign key update in progress...",this.dataMigrationProgress=0,this.schemaMigrationProgress=0,this.foreignKeyUpdateProgress=0,this.sourceDatabaseName="",this.sourceDatabaseType="",this.resourcesGenerated={DatabaseName:"",DatabaseUrl:"",BucketName:"",BucketUrl:"",DataStreamJobName:"",DataStreamJobUrl:"",DataflowJobName:"",DataflowJobUrl:"",PubsubTopicName:"",PubsubTopicUrl:"",PubsubSubscriptionName:"",PubsubSubscriptionUrl:"",MonitoringDashboardName:"",MonitoringDashboardUrl:"",AggMonitoringDashboardName:"",AggMonitoringDashboardUrl:"",DataflowGcloudCmd:"",ShardToDatastreamMap:new Map,ShardToDataflowMap:new Map,ShardToPubsubTopicMap:new Map,ShardToPubsubSubscriptionMap:new Map,ShardToMonitoringDashboardMap:new Map},this.region="",this.instance="",this.dialect="",this.isSharded=!1,this.numberOfShards="0",this.numberOfInstances="0",this.nodeCount=0,this.processingUnits=0,this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},this.dataflowConfig={network:localStorage.getItem("network"),subnetwork:localStorage.getItem("subnetwork"),vpcHostProjectId:localStorage.getItem("vpcHostProjectId"),maxWorkers:localStorage.getItem("maxWorkers"),numWorkers:localStorage.getItem("numWorkers"),serviceAccountEmail:localStorage.getItem("serviceAccountEmail"),machineType:localStorage.getItem("machineType"),additionalUserLabels:localStorage.getItem("additionalUserLabels"),kmsKeyName:localStorage.getItem("kmsKeyName"),projectId:localStorage.getItem("dataflowProjectId"),location:localStorage.getItem("dataflowLocation"),gcsTemplatePath:localStorage.getItem("gcsTemplatePath")},this.spannerConfig={GCPProjectID:"",SpannerInstanceID:"",IsMetadataDbCreated:!1,IsConfigValid:!1},this.skipForeignKeyResponseList=[{value:!1,displayName:"No"},{value:!0,displayName:"Yes"}],this.migrationModesHelpText=new Map([["Schema","Migrates only the schema of the source database to the configured Spanner instance."],["Data","Migrates the data from the source database to the configured Spanner database. The configured database should already contain the schema."],["Schema And Data","Migrates both the schema and the data from the source database to Spanner."]]),this.migrationTypesHelpText=new Map([["bulk","Use the POC migration option when you want to migrate a sample of your data (<100GB) to do a Proof of Concept. It uses this machine's resources to copy data from the source database to Spanner"],["lowdt","Uses change data capture via Datastream to setup a continuous data replication pipeline from source to Spanner, using Dataflow jobs to perform the actual data migration."]])}refreshMigrationMode(){this.selectedMigrationMode!==Dr.schemaOnly&&this.isStreamingSupported&&this.connectionType!==An.DumpFile?this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration},{name:"Minimal downtime Migration",value:vn.lowDowntimeMigration}]:(this.selectedMigrationType=vn.bulkMigration,this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration}])}refreshPrerequisites(){this.isSourceConnectionProfileSet=!1,this.isTargetConnectionProfileSet=!1,this.isTargetDetailSet=!1,this.refreshMigrationMode()}ngOnInit(){this.initializeFromLocalStorage(),this.data.config.subscribe(e=>{this.spannerConfig=e}),this.convObj=this.data.conv.subscribe(e=>{this.conv=e}),localStorage.setItem("vpcHostProjectId",this.spannerConfig.GCPProjectID),this.fetch.getSourceDestinationSummary().subscribe({next:e=>{this.connectionType=e.ConnectionType,this.dataSource=[{title:"Database Type",source:e.DatabaseType,target:"Spanner"},{title:"Number of tables",source:e.SourceTableCount,target:e.SpannerTableCount},{title:"Number of indexes",source:e.SourceIndexCount,target:e.SpannerIndexCount}],this.sourceDatabaseType=e.DatabaseType,this.region=e.Region,this.instance=e.Instance,this.dialect=e.Dialect,this.isSharded=e.IsSharded,this.processingUnits=e.ProcessingUnits,this.nodeCount=e.NodeCount,(e.DatabaseType==Za.MySQL.toLowerCase()||e.DatabaseType==Za.Oracle.toLowerCase()||e.DatabaseType==Za.Postgres.toLowerCase())&&(this.isStreamingSupported=!0),this.isStreamingSupported?this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration},{name:"Minimal downtime Migration",value:vn.lowDowntimeMigration}]:(this.selectedMigrationType=vn.bulkMigration,this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration}]),this.sourceDatabaseName=e.SourceDatabaseName,this.migrationModes=[Dr.schemaOnly,Dr.dataOnly,Dr.schemaAndData]},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}initializeFromLocalStorage(){null!=localStorage.getItem(ue.MigrationMode)&&(this.selectedMigrationMode=localStorage.getItem(ue.MigrationMode)),null!=localStorage.getItem(ue.MigrationType)&&(this.selectedMigrationType=localStorage.getItem(ue.MigrationType)),null!=localStorage.getItem(ue.isForeignKeySkipped)&&(this.isForeignKeySkipped="true"===localStorage.getItem(ue.isForeignKeySkipped)),null!=localStorage.getItem(ue.IsMigrationInProgress)&&(this.isMigrationInProgress="true"===localStorage.getItem(ue.IsMigrationInProgress),this.subscribeMigrationProgress()),null!=localStorage.getItem(ue.IsTargetDetailSet)&&(this.isTargetDetailSet="true"===localStorage.getItem(ue.IsTargetDetailSet)),null!=localStorage.getItem(ue.IsSourceConnectionProfileSet)&&(this.isSourceConnectionProfileSet="true"===localStorage.getItem(ue.IsSourceConnectionProfileSet)),null!=localStorage.getItem("isDataflowConfigSet")&&(this.isDataflowConfigurationSet="true"===localStorage.getItem("isDataflowConfigSet")),null!=localStorage.getItem(ue.IsTargetConnectionProfileSet)&&(this.isTargetConnectionProfileSet="true"===localStorage.getItem(ue.IsTargetConnectionProfileSet)),null!=localStorage.getItem(ue.IsSourceDetailsSet)&&(this.isSourceDetailsSet="true"===localStorage.getItem(ue.IsSourceDetailsSet)),null!=localStorage.getItem(ue.IsMigrationDetailSet)&&(this.isMigrationDetailSet="true"===localStorage.getItem(ue.IsMigrationDetailSet)),null!=localStorage.getItem(ue.HasSchemaMigrationStarted)&&(this.hasSchemaMigrationStarted="true"===localStorage.getItem(ue.HasSchemaMigrationStarted)),null!=localStorage.getItem(ue.HasDataMigrationStarted)&&(this.hasDataMigrationStarted="true"===localStorage.getItem(ue.HasDataMigrationStarted)),null!=localStorage.getItem(ue.DataMigrationProgress)&&(this.dataMigrationProgress=parseInt(localStorage.getItem(ue.DataMigrationProgress))),null!=localStorage.getItem(ue.SchemaMigrationProgress)&&(this.schemaMigrationProgress=parseInt(localStorage.getItem(ue.SchemaMigrationProgress))),null!=localStorage.getItem(ue.DataProgressMessage)&&(this.dataProgressMessage=localStorage.getItem(ue.DataProgressMessage)),null!=localStorage.getItem(ue.SchemaProgressMessage)&&(this.schemaProgressMessage=localStorage.getItem(ue.SchemaProgressMessage)),null!=localStorage.getItem(ue.ForeignKeyProgressMessage)&&(this.foreignKeyProgressMessage=localStorage.getItem(ue.ForeignKeyProgressMessage)),null!=localStorage.getItem(ue.ForeignKeyUpdateProgress)&&(this.foreignKeyUpdateProgress=parseInt(localStorage.getItem(ue.ForeignKeyUpdateProgress))),null!=localStorage.getItem(ue.HasForeignKeyUpdateStarted)&&(this.hasForeignKeyUpdateStarted="true"===localStorage.getItem(ue.HasForeignKeyUpdateStarted)),null!=localStorage.getItem(ue.GeneratingResources)&&(this.generatingResources="true"===localStorage.getItem(ue.GeneratingResources)),null!=localStorage.getItem(ue.NumberOfShards)&&(this.numberOfShards=localStorage.getItem(ue.NumberOfShards)),null!=localStorage.getItem(ue.NumberOfInstances)&&(this.numberOfInstances=localStorage.getItem(ue.NumberOfInstances))}clearLocalStorage(){localStorage.removeItem(ue.MigrationMode),localStorage.removeItem(ue.MigrationType),localStorage.removeItem(ue.IsTargetDetailSet),localStorage.removeItem(ue.isForeignKeySkipped),localStorage.removeItem(ue.IsSourceConnectionProfileSet),localStorage.removeItem(ue.IsTargetConnectionProfileSet),localStorage.removeItem(ue.IsSourceDetailsSet),localStorage.removeItem("isDataflowConfigSet"),localStorage.removeItem("network"),localStorage.removeItem("subnetwork"),localStorage.removeItem("maxWorkers"),localStorage.removeItem("numWorkers"),localStorage.removeItem("serviceAccountEmail"),localStorage.removeItem("vpcHostProjectId"),localStorage.removeItem("machineType"),localStorage.removeItem("additionalUserLabels"),localStorage.removeItem("kmsKeyName"),localStorage.removeItem("dataflowProjectId"),localStorage.removeItem("dataflowLocation"),localStorage.removeItem("gcsTemplatePath"),localStorage.removeItem(ue.IsMigrationInProgress),localStorage.removeItem(ue.HasSchemaMigrationStarted),localStorage.removeItem(ue.HasDataMigrationStarted),localStorage.removeItem(ue.DataMigrationProgress),localStorage.removeItem(ue.SchemaMigrationProgress),localStorage.removeItem(ue.DataProgressMessage),localStorage.removeItem(ue.SchemaProgressMessage),localStorage.removeItem(ue.ForeignKeyProgressMessage),localStorage.removeItem(ue.ForeignKeyUpdateProgress),localStorage.removeItem(ue.HasForeignKeyUpdateStarted),localStorage.removeItem(ue.GeneratingResources),localStorage.removeItem(ue.NumberOfShards),localStorage.removeItem(ue.NumberOfInstances)}openConnectionProfileForm(e){this.dialog.open(Ire,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{IsSource:e,SourceDatabaseType:this.sourceDatabaseType}}).afterClosed().subscribe(()=>{this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},this.isSourceConnectionProfileSet="true"===localStorage.getItem(ue.IsSourceConnectionProfileSet),this.isTargetConnectionProfileSet="true"===localStorage.getItem(ue.IsTargetConnectionProfileSet),this.isTargetDetailSet&&this.isSourceConnectionProfileSet&&this.isTargetConnectionProfileSet&&(localStorage.setItem(ue.IsMigrationDetailSet,"true"),this.isMigrationDetailSet=!0)})}openMigrationProfileForm(){this.dialog.open(yae,{width:"30vw",minWidth:"1200px",maxWidth:"1600px",data:{IsSource:!1,SourceDatabaseType:this.sourceDatabaseType,Region:this.region}}).afterClosed().subscribe(()=>{this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},null!=localStorage.getItem(ue.NumberOfShards)&&(this.numberOfShards=localStorage.getItem(ue.NumberOfShards)),null!=localStorage.getItem(ue.NumberOfInstances)&&(this.numberOfInstances=localStorage.getItem(ue.NumberOfInstances)),this.isSourceConnectionProfileSet="true"===localStorage.getItem(ue.IsSourceConnectionProfileSet),this.isTargetConnectionProfileSet="true"===localStorage.getItem(ue.IsTargetConnectionProfileSet),this.isTargetDetailSet&&this.isSourceConnectionProfileSet&&this.isTargetConnectionProfileSet&&(localStorage.setItem(ue.IsMigrationDetailSet,"true"),this.isMigrationDetailSet=!0)})}openGcloudPopup(e){this.dialog.open(Hre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:e})}openDataflowForm(){this.dialog.open(zre,{width:"4000px",minWidth:"400px",maxWidth:"500px",data:this.spannerConfig}).afterClosed().subscribe(()=>{this.dataflowConfig={network:localStorage.getItem("network"),subnetwork:localStorage.getItem("subnetwork"),vpcHostProjectId:localStorage.getItem("vpcHostProjectId"),maxWorkers:localStorage.getItem("maxWorkers"),numWorkers:localStorage.getItem("numWorkers"),serviceAccountEmail:localStorage.getItem("serviceAccountEmail"),machineType:localStorage.getItem("machineType"),additionalUserLabels:localStorage.getItem("additionalUserLabels"),kmsKeyName:localStorage.getItem("kmsKeyName"),projectId:localStorage.getItem("dataflowProjectId"),location:localStorage.getItem("dataflowLocation"),gcsTemplatePath:localStorage.getItem("gcsTemplatePath")},this.isDataflowConfigurationSet="true"===localStorage.getItem("isDataflowConfigSet"),this.isSharded&&this.fetch.setDataflowDetailsForShardedMigrations(this.dataflowConfig).subscribe({next:()=>{},error:i=>{this.snack.openSnackBar(i.error,"Close")}})})}endMigration(){this.dialog.open(jre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{SpannerDatabaseName:this.resourcesGenerated.DatabaseName,SpannerDatabaseUrl:this.resourcesGenerated.DatabaseUrl,SourceDatabaseType:this.sourceDatabaseType,SourceDatabaseName:this.sourceDatabaseName}}).afterClosed().subscribe()}openSourceDetailsForm(){this.dialog.open(Bre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:this.sourceDatabaseType}).afterClosed().subscribe(()=>{this.isSourceDetailsSet="true"===localStorage.getItem(ue.IsSourceDetailsSet)})}openShardedBulkSourceDetailsForm(){this.dialog.open(Kre,{width:"30vw",minWidth:"400px",maxWidth:"550px",data:{sourceDatabaseEngine:this.sourceDatabaseType,isRestoredSession:this.connectionType}}).afterClosed().subscribe(()=>{this.isSourceDetailsSet="true"===localStorage.getItem(ue.IsSourceDetailsSet),null!=localStorage.getItem(ue.NumberOfShards)&&(this.numberOfShards=localStorage.getItem(ue.NumberOfShards)),null!=localStorage.getItem(ue.NumberOfInstances)&&(this.numberOfInstances=localStorage.getItem(ue.NumberOfInstances))})}openTargetDetailsForm(){this.dialog.open(bre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{Region:this.region,Instance:this.instance,Dialect:this.dialect}}).afterClosed().subscribe(()=>{this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},this.isTargetDetailSet="true"===localStorage.getItem(ue.IsTargetDetailSet),(this.isSourceDetailsSet&&this.isTargetDetailSet&&this.connectionType===An.SessionFile&&this.selectedMigrationMode!==Dr.schemaOnly||this.isTargetDetailSet&&this.selectedMigrationType==vn.bulkMigration&&this.connectionType!==An.SessionFile||this.isTargetDetailSet&&this.selectedMigrationType==vn.bulkMigration&&this.connectionType===An.SessionFile&&this.selectedMigrationMode===Dr.schemaOnly)&&(localStorage.setItem(ue.IsMigrationDetailSet,"true"),this.isMigrationDetailSet=!0)})}migrate(){this.resetValues(),this.fetch.migrate({TargetDetails:this.targetDetails,DataflowConfig:this.dataflowConfig,IsSharded:this.isSharded,MigrationType:this.selectedMigrationType,MigrationMode:this.selectedMigrationMode,skipForeignKeys:this.isForeignKeySkipped}).subscribe({next:()=>{this.selectedMigrationMode==Dr.dataOnly?this.selectedMigrationType==vn.bulkMigration?(this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString())):(this.generatingResources=!0,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),this.snack.openSnackBar("Setting up dataflow and datastream jobs","Close")):(this.hasSchemaMigrationStarted=!0,localStorage.setItem(ue.HasSchemaMigrationStarted,this.hasSchemaMigrationStarted.toString())),this.snack.openSnackBar("Migration started successfully","Close",5),this.subscribeMigrationProgress()},error:i=>{this.snack.openSnackBar(i.error,"Close"),this.isMigrationInProgress=!this.isMigrationInProgress,this.hasDataMigrationStarted=!1,this.hasSchemaMigrationStarted=!1,this.clearLocalStorage()}})}subscribeMigrationProgress(){var e=!1;this.subscription=FA(5e3).subscribe(i=>{this.fetch.getProgress().subscribe({next:o=>{""==o.ErrorMessage?o.ProgressStatus==gl.SchemaMigrationComplete?(localStorage.setItem(ue.SchemaMigrationProgress,"100"),this.schemaMigrationProgress=parseInt(localStorage.getItem(ue.SchemaMigrationProgress)),this.selectedMigrationMode==Dr.schemaOnly?this.markMigrationComplete():this.selectedMigrationType==vn.lowDowntimeMigration?(this.markSchemaMigrationComplete(),this.generatingResources=!0,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),e||(this.snack.openSnackBar("Setting up dataflow and datastream jobs","Close"),e=!0)):(this.markSchemaMigrationComplete(),this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString()))):o.ProgressStatus==gl.DataMigrationComplete?(this.selectedMigrationType!=vn.lowDowntimeMigration&&(this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString())),this.generatingResources=!1,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),this.markMigrationComplete()):o.ProgressStatus==gl.DataWriteInProgress?(this.markSchemaMigrationComplete(),this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString()),localStorage.setItem(ue.DataMigrationProgress,o.Progress.toString()),this.dataMigrationProgress=parseInt(localStorage.getItem(ue.DataMigrationProgress))):o.ProgressStatus==gl.ForeignKeyUpdateComplete?this.markMigrationComplete():o.ProgressStatus==gl.ForeignKeyUpdateInProgress&&(this.markSchemaMigrationComplete(),this.selectedMigrationType==vn.bulkMigration&&(this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString())),this.markForeignKeyUpdateInitiation(),this.dataMigrationProgress=100,localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),localStorage.setItem(ue.ForeignKeyUpdateProgress,o.Progress.toString()),this.foreignKeyUpdateProgress=parseInt(localStorage.getItem(ue.ForeignKeyUpdateProgress)),this.generatingResources=!1,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),this.fetchGeneratedResources()):(this.errorMessage=o.ErrorMessage,this.subscription.unsubscribe(),this.isMigrationInProgress=!this.isMigrationInProgress,this.snack.openSnackBarWithoutTimeout(this.errorMessage,"Close"),this.schemaProgressMessage="Schema migration cancelled!",this.dataProgressMessage="Data migration cancelled!",this.foreignKeyProgressMessage="Foreign key update cancelled!",this.generatingResources=!1,this.isLowDtMigrationRunning=!1,this.clearLocalStorage())},error:o=>{this.snack.openSnackBar(o.error,"Close"),this.isMigrationInProgress=!this.isMigrationInProgress,this.clearLocalStorage()}})})}markForeignKeyUpdateInitiation(){this.dataMigrationProgress=100,this.dataProgressMessage="Data migration completed successfully!",localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),this.hasForeignKeyUpdateStarted=!0,this.foreignKeyUpdateProgress=parseInt(localStorage.getItem(ue.ForeignKeyUpdateProgress))}markSchemaMigrationComplete(){this.schemaMigrationProgress=100,this.schemaProgressMessage="Schema migration completed successfully!",localStorage.setItem(ue.SchemaMigrationProgress,this.schemaMigrationProgress.toString()),localStorage.setItem(ue.SchemaProgressMessage,this.schemaProgressMessage)}downloadConfiguration(){this.fetch.getSourceProfile().subscribe({next:e=>{this.configuredMigrationProfile=e;var i=document.createElement("a");let o=JSON.stringify(this.configuredMigrationProfile,null,"\t").replace(/9223372036854776000/g,"9223372036854775807");i.href="data:text/json;charset=utf-8,"+encodeURIComponent(o),i.download=localStorage.getItem(Xt.TargetDB)+"-"+this.configuredMigrationProfile.configType+"-shardConfig.cfg",i.click()},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}fetchGeneratedResources(){this.fetch.getGeneratedResources().subscribe({next:e=>{this.isResourceGenerated=!0,this.resourcesGenerated=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}}),this.selectedMigrationType===vn.lowDowntimeMigration&&(this.isLowDtMigrationRunning=!0)}markMigrationComplete(){this.subscription.unsubscribe(),this.isMigrationInProgress=!this.isMigrationInProgress,this.dataProgressMessage="Data migration completed successfully!",this.schemaProgressMessage="Schema migration completed successfully!",this.schemaMigrationProgress=100,this.dataMigrationProgress=100,this.foreignKeyUpdateProgress=100,this.foreignKeyProgressMessage="Foreign key updated successfully!",this.fetchGeneratedResources(),this.clearLocalStorage(),this.refreshPrerequisites()}resetValues(){this.isMigrationInProgress=!this.isMigrationInProgress,this.hasSchemaMigrationStarted=!1,this.hasDataMigrationStarted=!1,this.generatingResources=!1,this.dataMigrationProgress=0,this.schemaMigrationProgress=0,this.schemaProgressMessage="Schema migration in progress...",this.dataProgressMessage="Data migration in progress...",this.isResourceGenerated=!1,this.hasForeignKeyUpdateStarted=!1,this.foreignKeyUpdateProgress=100,this.foreignKeyProgressMessage="Foreign key update in progress...",this.resourcesGenerated={DatabaseName:"",DatabaseUrl:"",BucketName:"",BucketUrl:"",DataStreamJobName:"",DataStreamJobUrl:"",DataflowJobName:"",DataflowJobUrl:"",PubsubTopicName:"",PubsubTopicUrl:"",PubsubSubscriptionName:"",PubsubSubscriptionUrl:"",MonitoringDashboardName:"",MonitoringDashboardUrl:"",AggMonitoringDashboardName:"",AggMonitoringDashboardUrl:"",DataflowGcloudCmd:"",ShardToDatastreamMap:new Map,ShardToDataflowMap:new Map,ShardToPubsubTopicMap:new Map,ShardToPubsubSubscriptionMap:new Map,ShardToMonitoringDashboardMap:new Map},this.initializeLocalStorage()}initializeLocalStorage(){localStorage.setItem(ue.MigrationMode,this.selectedMigrationMode),localStorage.setItem(ue.MigrationType,this.selectedMigrationType),localStorage.setItem(ue.isForeignKeySkipped,this.isForeignKeySkipped.toString()),localStorage.setItem(ue.IsMigrationInProgress,this.isMigrationInProgress.toString()),localStorage.setItem(ue.HasSchemaMigrationStarted,this.hasSchemaMigrationStarted.toString()),localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString()),localStorage.setItem(ue.HasForeignKeyUpdateStarted,this.hasForeignKeyUpdateStarted.toString()),localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),localStorage.setItem(ue.SchemaMigrationProgress,this.schemaMigrationProgress.toString()),localStorage.setItem(ue.ForeignKeyUpdateProgress,this.foreignKeyUpdateProgress.toString()),localStorage.setItem(ue.SchemaProgressMessage,this.schemaProgressMessage),localStorage.setItem(ue.DataProgressMessage,this.dataProgressMessage),localStorage.setItem(ue.ForeignKeyProgressMessage,this.foreignKeyProgressMessage),localStorage.setItem(ue.IsTargetDetailSet,this.isTargetDetailSet.toString()),localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString())}openSaveSessionSidenav(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("saveSession"),this.sidenav.setSidenavDatabaseName(this.conv.DatabaseName)}downloadSession(){RA(this.conv)}ngOnDestroy(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(br),g(yn),g(Vo),g(Li),g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-prepare-migration"]],decls:91,vars:35,consts:[[1,"header"],[1,"breadcrumb"],["mat-button","",1,"breadcrumb_source",3,"routerLink"],["mat-button","",1,"breadcrumb_workspace",3,"routerLink"],["mat-button","",1,"breadcrumb_prepare_migration",3,"routerLink"],[1,"header_action"],["mat-button","",3,"click"],["mat-button","","color","primary",3,"click"],[1,"body"],[1,"definition-container"],[4,"ngIf"],[1,"summary"],["mat-table","",3,"dataSource"],["matColumnDef","Title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Source"],["matColumnDef","Destination"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["appearance","outline"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"configure",3,"matTooltip"],[1,"mat-card-class"],["class","static-prereqs",4,"ngIf"],[1,"point"],[1,"bullet"],["matTooltip","Configure the database in Spanner you want this migration to write to (up till now only GCP Project ID and Spanner Instance name have been configured.)",1,"configure"],["mat-button","","color","primary",3,"disabled","click"],["iconPositionEnd",""],["iconPositionEnd","","class","success","matTooltip","Target details configured","matTooltipPosition","above",4,"ngIf"],["class","point",4,"ngIf"],["class","mat-card-class",4,"ngIf"],["class","progress_bar",4,"ngIf"],[1,"migrate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[3,"value"],[3,"ngModel","ngModelChange"],[1,"static-prereqs"],["href","https://cloud.google.com/datastream/docs/sources","target","_blank"],["href","https://cloud.google.com/dataflow/docs/concepts/security-and-permissions","target","_blank"],["href","https://cloud.google.com/dataflow/docs/guides/routes-firewall","target","_blank"],["iconPositionEnd","","class","success","matTooltip","Source details configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Source details configured","matTooltipPosition","above",1,"success"],["matTooltip","Configure the connection info of all source shards to connect to and migrate data from.",1,"configure"],["iconPositionEnd","","matTooltip","Target details configured","matTooltipPosition","above",1,"success"],["matTooltip","Datastream will be used to capture change events from the source database. Please ensure you have met the pre-requistes required for setting up Datastream in your GCP environment. ",1,"configure"],["iconPositionEnd","","class","success","matTooltip","Source connection profile configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Source connection profile configured","matTooltipPosition","above",1,"success"],["matTooltip","Configure the source connection profile to allow Datastream to read from your source database",1,"configure"],["matTooltip","Create a connection profile for datastream to write to a GCS bucket. Spanner migration tool will automatically create the bucket for you.",1,"configure"],["iconPositionEnd","","class","success","matTooltip","Target connection profile configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Target connection profile configured","matTooltipPosition","above",1,"success"],["class","bullet",4,"ngIf"],["matTooltip","Dataflow will be used to perform the actual migration of data from source to Spanner. This helps you configure the execution environment for Dataflow jobs e.g VPC.",1,"configure"],["iconPositionEnd","","class","success","matTooltip","Dataflow Configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Dataflow Configured","matTooltipPosition","above",1,"success"],["matTooltip","Download the configuration done above as JSON.",1,"configure"],["iconPositionEnd","","matTooltip","Download configured shards as JSON","matTooltipPosition","above"],[1,"progress_bar"],["mode","determinate",3,"value"],[1,"spinner"],[3,"diameter"],[1,"spinner-text"],["target","_blank",3,"href"],[4,"ngFor","ngForOf"],["mat-button","",1,"configure",3,"click"],["matTooltip","Equivalent gCloud command","matTooltipPosition","above"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"a",2),h(3,"Select Source"),l(),d(4,"span"),h(5,">"),l(),d(6,"a",3),h(7),l(),d(8,"span"),h(9,">"),l(),d(10,"a",4)(11,"b"),h(12,"Prepare Migration"),l()()(),d(13,"div",5)(14,"button",6),L("click",function(){return o.openSaveSessionSidenav()}),h(15," SAVE SESSION "),l(),d(16,"button",7),L("click",function(){return o.downloadSession()}),h(17,"DOWNLOAD SESSION FILE"),l()()(),D(18,"br"),d(19,"div",8)(20,"div",9),_(21,xae,2,0,"h2",10),_(22,wae,2,0,"h2",10),d(23,"div",11)(24,"table",12),xe(25,13),_(26,Cae,2,0,"th",14),_(27,Dae,3,1,"td",15),we(),xe(28,16),_(29,kae,2,0,"th",14),_(30,Sae,2,1,"td",15),we(),xe(31,17),_(32,Mae,2,0,"th",14),_(33,Tae,2,1,"td",15),we(),_(34,Iae,1,0,"tr",18),_(35,Eae,1,0,"tr",19),l()()(),D(36,"br"),d(37,"mat-form-field",20)(38,"mat-label"),h(39,"Migration Mode:"),l(),d(40,"mat-select",21),L("ngModelChange",function(a){return o.selectedMigrationMode=a})("selectionChange",function(){return o.refreshPrerequisites()}),_(41,Oae,2,2,"mat-option",22),l()(),d(42,"mat-icon",23),h(43,"info"),l(),D(44,"br"),_(45,Pae,9,3,"div",10),_(46,Fae,6,2,"div",10),d(47,"div",24)(48,"mat-card")(49,"mat-card-title"),h(50,"Prerequisites"),l(),d(51,"mat-card-subtitle"),h(52,"Before we begin, please ensure you have done the following:"),l(),_(53,Nae,6,0,"div",25),_(54,Lae,20,0,"div",25),l()(),d(55,"div",24)(56,"mat-card"),_(57,Vae,14,2,"div",10),_(58,zae,16,2,"div",10),d(59,"div")(60,"mat-card-title"),h(61,"Target details:"),l(),d(62,"p",26)(63,"span",27),h(64,"1"),l(),d(65,"span"),h(66,"Configure Spanner Database "),d(67,"mat-icon",28),h(68," info"),l()(),d(69,"span")(70,"button",29),L("click",function(){return o.openTargetDetailsForm()}),h(71," Configure "),d(72,"mat-icon",30),h(73,"edit"),l(),_(74,Hae,2,0,"mat-icon",31),l()()(),_(75,$ae,13,2,"p",32),_(76,Wae,13,2,"p",32),_(77,Kae,13,2,"p",32),_(78,Xae,13,4,"p",32),_(79,ese,11,2,"p",32),l()()(),_(80,tse,25,3,"div",33),_(81,ise,32,6,"div",33),_(82,nse,5,2,"div",34),_(83,ose,5,2,"div",34),_(84,rse,5,2,"div",34),_(85,ase,8,1,"div",10),_(86,use,5,2,"div",10),_(87,kse,22,13,"div",10),d(88,"div",35),_(89,Sse,3,1,"span",10),_(90,Mse,3,0,"span",10),l()()),2&i&&(m(2),f("routerLink","/"),m(4),f("routerLink","/workspace"),m(1),Se("Configure Schema (",o.dialect," Dialect)"),m(3),f("routerLink","/prepare-migration"),m(11),f("ngIf",!o.isSharded),m(1),f("ngIf",o.isSharded),m(2),f("dataSource",o.dataSource),m(10),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns),m(5),f("ngModel",o.selectedMigrationMode),m(1),f("ngForOf",o.migrationModes),m(1),f("matTooltip",o.migrationModesHelpText.get(o.selectedMigrationMode)),m(3),f("ngIf","Schema"!=o.selectedMigrationMode),m(1),f("ngIf",!("Schema"===o.selectedMigrationMode||"lowdt"===o.selectedMigrationType)),m(7),f("ngIf","bulk"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(3),f("ngIf","sessionFile"===o.connectionType&&"Schema"!==o.selectedMigrationMode&&!o.isSharded),m(1),f("ngIf",o.isSharded&&"bulk"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(12),f("disabled",o.isMigrationInProgress||o.isLowDtMigrationRunning),m(4),f("ngIf",o.isTargetDetailSet),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&o.isSharded),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&!o.isSharded),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&!o.isSharded),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&o.isSharded),m(1),f("ngIf","Schema"!==o.selectedMigrationMode&&o.isSharded),m(1),f("ngIf",o.isTargetDetailSet),m(1),f("ngIf",o.hasSchemaMigrationStarted),m(1),f("ngIf",o.hasDataMigrationStarted),m(1),f("ngIf",o.hasForeignKeyUpdateStarted),m(1),f("ngIf",o.generatingResources),m(1),f("ngIf",o.isResourceGenerated&&""!==o.resourcesGenerated.MonitoringDashboardName&&"lowdt"===o.selectedMigrationType),m(1),f("ngIf",o.isResourceGenerated),m(2),f("ngIf",!o.isLowDtMigrationRunning),m(1),f("ngIf",o.isLowDtMigrationRunning))},dependencies:[an,Et,Cr,JT,Kt,_i,Hd,qv,Wv,kI,Oi,Ii,oo,_n,vi,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,On,Kc,_l,nM],styles:[".header[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb_workspace[_ngcontent-%COMP%]{color:#0000008f}.header[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb_prepare_migration[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.definition-container[_ngcontent-%COMP%]{max-height:500px;overflow:auto}.definition-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:13px}.body[_ngcontent-%COMP%]{margin-left:20px}table[_ngcontent-%COMP%]{min-width:30%;max-width:50%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:10%}.configure[_ngcontent-%COMP%]{color:#1967d2}.migrate[_ngcontent-%COMP%]{margin-top:10px}"]})}return t})()},{path:"**",redirectTo:"/",pathMatch:"full"}];let Ise=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[EA.forRoot(Tse),EA]})}return t})(),Ese=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.dataService=o,this.data=r,this.dialogRef=a,this.errMessage="",this.updateConfigForm=new ni({GCPProjectID:new Q(r.GCPProjectID,[me.required]),SpannerInstanceID:new Q(r.SpannerInstanceID,[me.required])}),a.disableClose=!0}updateSpannerConfig(){let e=this.updateConfigForm.value;this.fetch.setSpannerConfig({GCPProjectID:e.GCPProjectID,SpannerInstanceID:e.SpannerInstanceID}).subscribe({next:o=>{o.IsMetadataDbCreated&&this.snack.openSnackBar("Metadata database not found. A new database has been created to store session metadata.","Close",5),this.snack.openSnackBar(o.IsConfigValid?"Spanner Config updated successfully":"Invalid Spanner Configuration","Close",5),this.dialogRef.close({...o}),this.dataService.updateIsOffline(),this.dataService.updateConfig(o),this.dataService.getAllSessions()},error:o=>{this.snack.openSnackBar(o.message,"Close")}})}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Li),g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-update-spanner-config-form"]],decls:20,vars:3,consts:[["mat-dialog-content",""],[1,"save-session-form",3,"formGroup"],["appearance","outline",1,"full-width"],["matInput","","placeholder","project id","type","text","formControlName","GCPProjectID"],["hintLabel","Min. 2 characters and Max. 64 characters","appearance","outline",1,"full-width"],["matInput","","placeholder","instance id","type","text","required","","minlength","2","maxlength","64","pattern","^[a-z]([-a-z0-9]*[a-z0-9])?","formControlName","SpannerInstanceID"],["align","end"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Connect to Spanner"),l(),d(4,"mat-form-field",2)(5,"mat-label"),h(6,"Project ID"),l(),D(7,"input",3),l(),D(8,"br"),d(9,"mat-form-field",4)(10,"mat-label"),h(11,"Instance ID"),l(),D(12,"input",5),d(13,"mat-hint",6),h(14),l()()()(),d(15,"div",7)(16,"button",8),h(17,"CANCEL"),l(),d(18,"button",9),L("click",function(){return o.updateSpannerConfig()}),h(19," SAVE "),l()()),2&i&&(m(1),f("formGroup",o.updateConfigForm),m(13),Se("",(null==o.updateConfigForm.value.SpannerInstanceID?null:o.updateConfigForm.value.SpannerInstanceID.length)||0,"/64"),m(4),f("disabled",!o.updateConfigForm.valid))},dependencies:[Kt,Oi,Ii,Yc,sn,Tn,Mi,vi,Ui,xo,py,fy,gy,Ti,Xi,wo,vr,yr],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.buttons-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]})}return t})();function Ose(t,n){1&t&&(d(0,"mat-icon",11),h(1," warning "),l())}function Ase(t,n){1&t&&(d(0,"mat-icon",12),h(1," check_circle "),l())}function Pse(t,n){1&t&&(d(0,"mat-icon",13),h(1," warning "),l())}function Rse(t,n){1&t&&(d(0,"div")(1,"span",null,14),h(3,"Spanner database is not configured, click on edit button to configure "),l()())}function Fse(t,n){if(1&t&&(d(0,"div")(1,"span",15)(2,"b"),h(3,"Project Id: "),l(),h(4),l(),d(5,"span",16)(6,"b"),h(7,"Spanner Instance Id: "),l(),h(8),l()()),2&t){const e=w();m(4),Re(e.spannerConfig.GCPProjectID),m(4),Re(e.spannerConfig.SpannerInstanceID)}}let Nse=(()=>{class t{constructor(e,i,o,r,a){this.data=e,this.dialog=i,this.sidenav=o,this.clickEvent=r,this.loaderService=a,this.isOfflineStatus=!1,this.spannerConfig={GCPProjectID:"",SpannerInstanceID:""}}ngOnInit(){this.data.config.subscribe(e=>{this.spannerConfig=e}),this.data.isOffline.subscribe({next:e=>{this.isOfflineStatus=e}}),this.clickEvent.spannerConfig.subscribe(e=>{e&&this.openEditForm()})}openEditForm(){this.dialog.open(Ese,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:this.spannerConfig}).afterClosed().subscribe(i=>{i&&(this.spannerConfig=i)})}showWarning(){return!this.spannerConfig.GCPProjectID&&!this.spannerConfig.SpannerInstanceID}openInstructionSidenav(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("instruction")}openUserGuide(){window.open("https://github.com/GoogleCloudPlatform/spanner-migration-tool/blob/master/SpannerMigrationToolUIUserGuide.pdf","_blank")}stopLoading(){this.loaderService.stopLoader(),this.clickEvent.cancelDbLoading(),this.clickEvent.closeDatabaseLoader()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(br),g(Pn),g(jo),g(pf))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-header"]],decls:16,vars:6,consts:[["color","secondry",1,"header-container"],[1,"pointer",3,"routerLink","click"],[1,"menu-spacer"],[1,"right_container"],[1,"spanner_config"],["class","icon warning","matTooltip","Invalid spanner configuration. Working in offline mode",4,"ngIf"],["class","icon success","matTooltip","Valid spanner configuration.",4,"ngIf"],["class","icon warning","matTooltip","Spanner configuration has not been set.",4,"ngIf"],[4,"ngIf"],["matTooltip","Edit Settings",1,"cursor-pointer",3,"click"],["mat-icon-button","","matTooltip","Instruction",1,"example-icon","favorite-icon",3,"click"],["matTooltip","Invalid spanner configuration. Working in offline mode",1,"icon","warning"],["matTooltip","Valid spanner configuration.",1,"icon","success"],["matTooltip","Spanner configuration has not been set.",1,"icon","warning"],["name",""],[1,"pid"],[1,"iid"]],template:function(i,o){1&i&&(d(0,"mat-toolbar",0)(1,"span",1),L("click",function(){return o.stopLoading()}),h(2," Spanner migration tool"),l(),D(3,"span",2),d(4,"div",3)(5,"div",4),_(6,Ose,2,0,"mat-icon",5),_(7,Ase,2,0,"mat-icon",6),_(8,Pse,2,0,"mat-icon",7),_(9,Rse,4,0,"div",8),_(10,Fse,9,2,"div",8),d(11,"mat-icon",9),L("click",function(){return o.openEditForm()}),h(12,"edit"),l()(),d(13,"button",10),L("click",function(){return o.openUserGuide()}),d(14,"mat-icon"),h(15,"help"),l()()()()),2&i&&(m(1),f("routerLink","/"),m(5),f("ngIf",o.isOfflineStatus&&!o.showWarning()),m(1),f("ngIf",!o.isOfflineStatus&&!o.showWarning()),m(1),f("ngIf",o.showWarning()),m(1),f("ngIf",o.showWarning()),m(1),f("ngIf",!o.showWarning()))},dependencies:[Et,Cr,jH,Fa,_i,On],styles:[".header-container[_ngcontent-%COMP%]{padding:0 20px}.menu-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.right_container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%]{margin:0 15px 0 0;display:flex;align-items:center;border-radius:5px;padding:0 10px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border-radius:2px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:300;padding:0 10px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] .pid[_ngcontent-%COMP%]{margin-right:10px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.cursor-pointer[_ngcontent-%COMP%]{color:#3367d6}"]})}return t})();function Lse(t,n){1&t&&(d(0,"div",1),D(1,"mat-progress-bar",2),l())}let Bse=(()=>{class t{constructor(e){this.loaderService=e,this.showProgress=!0}ngOnInit(){this.loaderService.isLoading.subscribe(e=>{this.showProgress=e})}static#e=this.\u0275fac=function(i){return new(i||t)(g(pf))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-loader"]],decls:1,vars:1,consts:[["class","progress-bar-wrapper",4,"ngIf"],[1,"progress-bar-wrapper"],["mode","indeterminate","value","40"]],template:function(i,o){1&i&&_(0,Lse,2,0,"div",0),2&i&&f("ngIf",o.showProgress)},dependencies:[Et,kI],styles:[".progress-bar-wrapper[_ngcontent-%COMP%]{background-color:#cbd0e9;height:2px}.progress-bar-wrapper[_ngcontent-%COMP%] .mat-mdc-progress-bar[_ngcontent-%COMP%]{height:2px}"]})}return t})();function Vse(t,n){if(1&t&&(d(0,"mat-option",11),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function jse(t,n){if(1&t&&(d(0,"mat-option",11),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function zse(t,n){if(1&t){const e=_e();d(0,"button",19),L("click",function(){ae(e);const o=w().index;return se(w().removeColumnForm(o))}),d(1,"mat-icon"),h(2,"remove"),l(),d(3,"span"),h(4,"REMOVE COLUMN"),l()()}}function Hse(t,n){if(1&t){const e=_e();xe(0),d(1,"mat-card",12)(2,"div",13)(3,"mat-form-field",1)(4,"mat-label"),h(5,"Column Name"),l(),d(6,"mat-select",14),L("selectionChange",function(){return ae(e),se(w().selectedColumnChange())}),_(7,jse,2,2,"mat-option",3),l()(),d(8,"mat-form-field",1)(9,"mat-label"),h(10,"Sort"),l(),d(11,"mat-select",15)(12,"mat-option",16),h(13,"Ascending"),l(),d(14,"mat-option",17),h(15,"Descending"),l()()()(),_(16,zse,5,0,"button",18),l(),we()}if(2&t){const e=n.index,i=w();m(2),f("formGroupName",e),m(5),f("ngForOf",i.addColumnsList[e]),m(9),f("ngIf",!i.viewRuleFlag)}}function Use(t,n){if(1&t){const e=_e();d(0,"button",20),L("click",function(){return ae(e),se(w().addNewColumnForm())}),d(1,"mat-icon"),h(2,"add"),l(),d(3,"span"),h(4,"ADD COLUMN"),l()()}}function $se(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",21),L("click",function(){return ae(e),se(w().addIndex())}),h(2," ADD RULE "),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.addIndexForm.valid&&e.ruleNameValid&&e.ColsArray.controls.length>0))}}function Gse(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",22),L("click",function(){return ae(e),se(w().deleteRule())}),h(2," DELETE RULE "),l()()}}let Wse=(()=>{class t{constructor(e,i,o,r){this.fb=e,this.data=i,this.sidenav=o,this.conversion=r,this.ruleNameValid=!1,this.ruleName="",this.ruleType="",this.resetRuleType=new Ne,this.tableNames=[],this.totalColumns=[],this.addColumnsList=[],this.commonColumns=[],this.viewRuleData={},this.viewRuleFlag=!1,this.conv={},this.ruleId="",this.addIndexForm=this.fb.group({tableName:["",me.required],indexName:["",[me.required,me.pattern("^[a-zA-Z].{0,59}$")]],ColsArray:this.fb.array([])})}ngOnInit(){this.data.conv.subscribe({next:e=>{this.conv=e,this.tableNames=Object.keys(e.SpSchema).map(i=>e.SpSchema[i].Name)}}),this.sidenav.sidenavAddIndexTable.subscribe({next:e=>{this.addIndexForm.controls.tableName.setValue(e),""!==e&&this.selectedTableChange(e)}}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.viewRuleData&&this.viewRuleFlag&&this.getRuleData(this.viewRuleData)})})}getRuleData(e){this.ruleId=e?.Id;let i=this.conv.SpSchema[e?.Data?.TableId]?.Name;this.addIndexForm.controls.tableName.setValue(i),this.addIndexForm.controls.indexName.setValue(e?.Data?.Name),this.selectedTableChange(i),this.setColArraysForViewRules(e?.Data?.TableId,e?.Data?.Keys),this.addIndexForm.disable()}setColArraysForViewRules(e,i){if(this.ColsArray.clear(),i)for(let o=0;oo.ColDefs[r].Name)}this.ColsArray.clear(),this.commonColumns=[],this.addColumnsList=[],this.updateCommonColumns()}addNewColumnForm(){let e=this.fb.group({columnName:["",me.required],sort:["",me.required]});this.ColsArray.push(e),this.updateCommonColumns(),this.addColumnsList.push([...this.commonColumns])}selectedColumnChange(){this.updateCommonColumns(),this.addColumnsList=this.addColumnsList.map((e,i)=>{const o=[...this.commonColumns];return""!==this.ColsArray.value[i].columnName&&o.push(this.ColsArray.value[i].columnName),o})}updateCommonColumns(){this.commonColumns=this.totalColumns.filter(e=>{let i=!0;return this.ColsArray.value.forEach(o=>{o.columnName===e&&(i=!1)}),i})}removeColumnForm(e){this.ColsArray.removeAt(e),this.addColumnsList=this.addColumnsList.filter((i,o)=>o!==e),this.selectedColumnChange()}addIndex(){let e=this.addIndexForm.value,i=[],o=this.conversion.getTableIdFromSpName(e.tableName,this.conv);i.push({Name:e.indexName,TableId:o,Unique:!1,Keys:e.ColsArray.map((r,a)=>({ColId:this.conversion.getColIdFromSpannerColName(r.columnName,o,this.conv),Desc:"true"===r.sort,Order:a+1})),Id:""}),this.applyRule(i[0]),this.resetRuleType.emit(""),this.sidenav.setSidenavAddIndexTable(""),this.sidenav.closeSidenav()}applyRule(e){let o=this.conversion.getTableIdFromSpName(this.addIndexForm.value.tableName,this.conv);this.data.applyRule({Name:this.ruleName,Type:"add_index",ObjectType:"Table",AssociatedObjects:o,Enabled:!0,Data:e,Id:""})}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.setSidenavAddIndexTable(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn),g(Rs))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-add-index-form"]],inputs:{ruleNameValid:"ruleNameValid",ruleName:"ruleName",ruleType:"ruleType"},outputs:{resetRuleType:"resetRuleType"},decls:18,vars:7,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","tableName","required","true",1,"input-field",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["hintLabel","Max. 60 characters, and starts with a letter.","appearance","outline"],["matInput","","formControlName","indexName",1,"input-field"],["align","end"],["formArrayName","ColsArray",1,"addcol-form"],[4,"ngFor","ngForOf"],["mat-button","","color","primary","class","add-column-btn","type","button",3,"click",4,"ngIf"],[4,"ngIf"],[3,"value"],[1,"column-form-card"],[3,"formGroupName"],["matSelect","","formControlName","columnName","required","true",1,"input-field",3,"selectionChange"],["formControlName","sort","required","true",1,"input-field"],["value","false"],["value","true"],["mat-button","","color","primary",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","type","button",1,"add-column-btn",3,"click"],["mat-raised-button","","type","submit","color","primary",1,"add-column-btn",3,"disabled","click"],["mat-raised-button","","type","submit","color","primary",1,"add-column-btn",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"For Table"),l(),d(4,"mat-select",2),L("selectionChange",function(a){return o.selectedTableChange(a.value)}),_(5,Vse,2,2,"mat-option",3),l()(),d(6,"mat-form-field",4)(7,"mat-label"),h(8,"Index Name"),l(),D(9,"input",5),d(10,"mat-hint",6),h(11),l()(),xe(12,7),_(13,Hse,17,3,"ng-container",8),_(14,Use,5,0,"button",9),D(15,"br"),_(16,$se,3,1,"div",10),_(17,Gse,3,0,"div",10),we(),l()),2&i&&(f("formGroup",o.addIndexForm),m(5),f("ngForOf",o.tableNames),m(6),Se("",(null==o.addIndexForm.value.indexName?null:o.addIndexForm.value.indexName.length)||0,"/60"),m(2),f("ngForOf",o.ColsArray.controls),m(1),f("ngIf",o.addColumnsList.length{class t{constructor(e,i,o,r,a){this.fb=e,this.data=i,this.sidenav=o,this.conversion=r,this.fetch=a,this.ruleNameValid=!1,this.ruleType="",this.ruleName="",this.resetRuleType=new Ne,this.conversionType={},this.sourceType=[],this.destinationType=[],this.viewRuleData=[],this.viewRuleFlag=!1,this.pgSQLToStandardTypeTypemap=new Map,this.standardTypeToPGSQLTypemap=new Map,this.conv={},this.isPostgreSQLDialect=!1,this.addGlobalDataTypeForm=this.fb.group({objectType:["column",me.required],table:["allTable",me.required],column:["allColumn",me.required],sourceType:["",me.required],destinationType:["",me.required]})}ngOnInit(){this.data.typeMap.subscribe({next:e=>{this.conversionType=e,this.sourceType=Object.keys(this.conversionType)}}),this.data.conv.subscribe({next:e=>{this.conv=e,this.isPostgreSQLDialect="postgresql"===this.conv.SpDialect}}),this.conversion.pgSQLToStandardTypeTypeMap.subscribe(e=>{this.pgSQLToStandardTypeTypemap=e}),this.conversion.standardTypeToPGSQLTypeMap.subscribe(e=>{this.standardTypeToPGSQLTypemap=e}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.viewRuleData&&this.setViewRuleData(this.viewRuleData)})})}setViewRuleData(e){if(this.ruleId=e?.Id,this.addGlobalDataTypeForm.controls.sourceType.setValue(Object.keys(e?.Data)[0]),this.updateDestinationType(Object.keys(e?.Data)[0]),this.isPostgreSQLDialect){let i=this.standardTypeToPGSQLTypemap.get(Object.values(this.viewRuleData?.Data)[0]);this.addGlobalDataTypeForm.controls.destinationType.setValue(void 0===i?Object.values(this.viewRuleData?.Data)[0]:i)}else this.addGlobalDataTypeForm.controls.destinationType.setValue(Object.values(this.viewRuleData?.Data)[0]);this.addGlobalDataTypeForm.disable()}formSubmit(){const e=this.addGlobalDataTypeForm.value,i=e.sourceType,o={};if(this.isPostgreSQLDialect){let r=this.pgSQLToStandardTypeTypemap.get(e.destinationType);o[i]=void 0===r?e.destinationType:r}else o[i]=e.destinationType;this.applyRule(o),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}updateDestinationType(e){const i=this.conversionType[e],o=[];i?.forEach(r=>{o.push(r.DisplayT)}),this.destinationType=o}applyRule(e){this.data.applyRule({Name:this.ruleName,Type:"global_datatype_change",ObjectType:"Column",AssociatedObjects:"All Columns",Enabled:!0,Data:e,Id:""})}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn),g(Rs),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-edit-global-datatype-form"]],inputs:{ruleNameValid:"ruleNameValid",ruleType:"ruleType",ruleName:"ruleName"},outputs:{resetRuleType:"resetRuleType"},decls:34,vars:5,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","objectType","required","true",1,"input-field"],["value","column"],["matSelect","","formControlName","table","required","true",1,"input-field"],["value","allTable"],["matSelect","","formControlName","column","required","true",1,"input-field"],["value","allColumn"],["matSelect","","formControlName","sourceType","required","true",1,"input-field",3,"selectionChange"],["sourceField",""],[3,"value",4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[4,"ngIf"],[3,"value"],["matSelect","","formControlName","destinationType","required","true",1,"input-field"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"For object type"),l(),d(4,"mat-select",2)(5,"mat-option",3),h(6,"Column"),l()()(),d(7,"h3"),h(8,"When"),l(),d(9,"mat-form-field",1)(10,"mat-label"),h(11,"Table is"),l(),d(12,"mat-select",4)(13,"mat-option",5),h(14,"All tables"),l()()(),d(15,"mat-form-field",1)(16,"mat-label"),h(17,"and column is"),l(),d(18,"mat-select",6)(19,"mat-option",7),h(20,"All column"),l()()(),d(21,"h3"),h(22,"Convert from"),l(),d(23,"mat-form-field",1)(24,"mat-label"),h(25,"Source data type"),l(),d(26,"mat-select",8,9),L("selectionChange",function(){ae(r);const s=At(27);return se(o.updateDestinationType(s.value))}),_(28,qse,2,2,"mat-option",10),l()(),d(29,"h3"),h(30,"Convert to"),l(),_(31,Zse,5,1,"mat-form-field",11),_(32,Yse,3,1,"div",12),_(33,Qse,3,0,"div",12),l()}if(2&i){const r=At(27);f("formGroup",o.addGlobalDataTypeForm),m(28),f("ngForOf",o.sourceType),m(3),f("ngIf",r.selected),m(1),f("ngIf",!o.viewRuleFlag),m(1),f("ngIf",o.viewRuleFlag)}},dependencies:[an,Et,Kt,Oi,Ii,oo,_n,vi,Ui,xo,Ti,Xi],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%;padding:0}"]})}return t})();function Jse(t,n){if(1&t&&(d(0,"mat-option",10),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function ece(t,n){if(1&t&&(d(0,"mat-option",10),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Re(e.name)}}function tce(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",11),L("click",function(){return ae(e),se(w().formSubmit())}),h(2," ADD RULE "),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.editColMaxLengthForm.valid&&e.ruleNameValid))}}function ice(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",12),L("click",function(){return ae(e),se(w().deleteRule())}),h(2,"DELETE RULE"),l()()}}let nce=(()=>{class t{constructor(e,i,o,r){this.fb=e,this.data=i,this.sidenav=o,this.conversion=r,this.ruleNameValid=!1,this.ruleName="",this.ruleType="",this.resetRuleType=new Ne,this.ruleId="",this.tableNames=[],this.viewRuleData=[],this.viewRuleFlag=!1,this.conv={},this.spTypes=[],this.hintlabel="",this.editColMaxLengthForm=this.fb.group({tableName:["",me.required],column:["allColumn",me.required],spDataType:["",me.required],maxColLength:["",[me.required,me.pattern("([1-9][0-9]*|MAX)")]]})}ngOnInit(){this.data.conv.subscribe({next:e=>{this.conv=e,this.tableNames=Object.keys(e.SpSchema).map(i=>e.SpSchema[i].Name),this.tableNames.push("All tables"),"postgresql"===this.conv.SpDialect?(this.spTypes=[{name:"VARCHAR",value:"STRING"}],this.hintlabel="Max "+ln.StringMaxLength+" for VARCHAR"):(this.spTypes=[{name:"STRING",value:"STRING"},{name:"BYTES",value:"BYTES"}],this.hintlabel="Max "+ln.StringMaxLength+" for STRING and "+ln.ByteMaxLength+" for BYTES")}}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&this.sidenav.ruleData.subscribe(i=>{if(this.viewRuleData=i,this.viewRuleData){this.ruleId=this.viewRuleData?.Id;let o=this.viewRuleData?.AssociatedObjects;this.editColMaxLengthForm.controls.tableName.setValue(o),this.editColMaxLengthForm.controls.spDataType.setValue(this.viewRuleData?.Data?.spDataType),this.editColMaxLengthForm.controls.maxColLength.setValue(this.viewRuleData?.Data?.spColMaxLength),this.editColMaxLengthForm.disable()}})})}formSubmit(){const e=this.editColMaxLengthForm.value;(("STRING"===e.spDataType||"VARCHAR"===e.spDataType)&&e.spColMaxLength>ln.StringMaxLength||"BYTES"===e.spDataType&&e.spColMaxLength>ln.ByteMaxLength)&&(e.spColMaxLength=ln.StorageMaxLength);const i={spDataType:e.spDataType,spColMaxLength:e.maxColLength};let r=this.conversion.getTableIdFromSpName(e.tableName,this.conv);""===r&&(r="All tables"),this.data.applyRule({Name:this.ruleName,Type:"edit_column_max_length",ObjectType:"Table",AssociatedObjects:r,Enabled:!0,Data:i,Id:""}),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn),g(Rs))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-edit-column-max-length"]],inputs:{ruleNameValid:"ruleNameValid",ruleName:"ruleName",ruleType:"ruleType"},outputs:{resetRuleType:"resetRuleType"},decls:23,vars:6,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","tableName","required","true",1,"input-field"],[3,"value",4,"ngFor","ngForOf"],["matSelect","","formControlName","column","required","true",1,"input-field"],["value","allColumn"],["matSelect","","formControlName","spDataType","required","true",1,"input-field"],["appearance","outline",3,"hintLabel"],["matInput","","formControlName","maxColLength",1,"input-field"],[4,"ngIf"],[3,"value"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"Table is"),l(),d(4,"mat-select",2),_(5,Jse,2,2,"mat-option",3),l()(),d(6,"mat-form-field",1)(7,"mat-label"),h(8,"and column is"),l(),d(9,"mat-select",4)(10,"mat-option",5),h(11,"All column"),l()()(),d(12,"mat-form-field",1)(13,"mat-label"),h(14,"and Spanner Type is"),l(),d(15,"mat-select",6),_(16,ece,2,2,"mat-option",3),l()(),d(17,"mat-form-field",7)(18,"mat-label"),h(19,"Max column length"),l(),D(20,"input",8),l(),_(21,tce,3,1,"div",9),_(22,ice,3,0,"div",9),l()),2&i&&(f("formGroup",o.editColMaxLengthForm),m(5),f("ngForOf",o.tableNames),m(11),f("ngForOf",o.spTypes),m(1),f("hintLabel",o.hintlabel),m(4),f("ngIf",!o.viewRuleFlag),m(1),f("ngIf",o.viewRuleFlag))},dependencies:[an,Et,Kt,Oi,Ii,sn,oo,_n,Mi,vi,Ui,xo,Ti,Xi]})}return t})();function oce(t,n){if(1&t&&(d(0,"mat-option",7),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Re(e.display)}}function rce(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",8),L("click",function(){return ae(e),se(w().formSubmit())}),h(2," ADD RULE "),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.addShardIdPrimaryKeyForm.valid&&e.ruleNameValid))}}function ace(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",9),L("click",function(){return ae(e),se(w().deleteRule())}),h(2,"DELETE RULE"),l()()}}let sce=(()=>{class t{constructor(e,i,o){this.fb=e,this.data=i,this.sidenav=o,this.ruleNameValid=!1,this.ruleName="",this.ruleType="",this.resetRuleType=new Ne,this.viewRuleFlag=!1,this.viewRuleData={},this.primaryKeyOrder=[{value:!0,display:"At the beginning"},{value:!1,display:"At the end"}],this.addShardIdPrimaryKeyForm=this.fb.group({table:["allTable",me.required],primaryKeyOrder:["",me.required]})}ngOnInit(){this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&(this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.viewRuleData&&this.setViewRuleData(this.viewRuleData)}),this.addShardIdPrimaryKeyForm.disable())})}formSubmit(){this.data.applyRule({Name:this.ruleName,Type:"add_shard_id_primary_key",AssociatedObjects:"All Tables",Enabled:!0,Data:{AddedAtTheStart:this.addShardIdPrimaryKeyForm.value.primaryKeyOrder},Id:""}),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}setViewRuleData(e){this.ruleId=e?.Id,this.addShardIdPrimaryKeyForm.controls.primaryKeyOrder.setValue(e?.Data?.AddedAtTheStart)}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-add-shard-id-primary-key"]],inputs:{ruleNameValid:"ruleNameValid",ruleName:"ruleName",ruleType:"ruleType"},outputs:{resetRuleType:"resetRuleType"},decls:14,vars:4,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","table","required","true",1,"input-field"],["value","allTable"],["matSelect","","formControlName","primaryKeyOrder","required","true",1,"input-field"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"Table is"),l(),d(4,"mat-select",2)(5,"mat-option",3),h(6,"All tables"),l()()(),d(7,"mat-form-field",1)(8,"mat-label"),h(9,"Order in Primary Key"),l(),d(10,"mat-select",4),_(11,oce,2,2,"mat-option",5),l()(),_(12,rce,3,1,"div",6),_(13,ace,3,0,"div",6),l()),2&i&&(f("formGroup",o.addShardIdPrimaryKeyForm),m(11),f("ngForOf",o.primaryKeyOrder),m(1),f("ngIf",!o.viewRuleFlag),m(1),f("ngIf",o.viewRuleFlag))},dependencies:[an,Et,Kt,Oi,Ii,oo,_n,vi,Ui,xo,Ti,Xi]})}return t})();function cce(t,n){1&t&&(d(0,"mat-option",18),h(1,"Add shard id column as primary key"),l())}function lce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-edit-global-datatype-form",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}function dce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-add-index-form",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}function uce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-edit-column-max-length",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}function hce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-add-shard-id-primary-key",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}let mce=(()=>{class t{constructor(e,i){this.sidenav=e,this.data=i,this.currentRules=[],this.ruleForm=new ni({ruleName:new Q("",[me.required,me.pattern("^[a-zA-Z].{0,59}$")]),ruleType:new Q("",[me.required])}),this.rulename="",this.ruletype="",this.viewRuleData=[],this.viewRuleFlag=!1,this.shardedMigration=!1}ngOnInit(){this.data.conv.subscribe({next:e=>{Object.keys(e.SpSchema),this.shardedMigration=!!e.IsSharded}}),this.ruleForm.valueChanges.subscribe(()=>{this.rulename=this.ruleForm.controls.ruleName?.value,this.ruletype=this.ruleForm.controls.ruleType?.value}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag?this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.setViewRuleData(this.viewRuleData)}):(this.ruleForm.enable(),this.ruleForm.controls.ruleType.setValue(""),this.sidenav.sidenavRuleType.subscribe(i=>{"addIndex"===i&&this.ruleForm.controls.ruleType.setValue("addIndex")}))})}setViewRuleData(e){this.ruleForm.disable(),this.ruleForm.controls.ruleName.setValue(e?.Name),this.ruleForm.controls.ruleType.setValue(this.getViewRuleType(this.viewRuleData?.Type))}closeSidenav(){this.sidenav.closeSidenav()}get ruleType(){return this.ruleForm.get("ruleType")?.value}resetRuleType(){this.ruleForm.controls.ruleType.setValue(""),this.ruleForm.controls.ruleName.setValue(""),this.ruleForm.markAsUntouched()}getViewRuleType(e){switch(e){case"add_index":return"addIndex";case"global_datatype_change":return"globalDataType";case"edit_column_max_length":return"changeMaxLength";case"add_shard_id_primary_key":return"addShardIdPrimaryKey"}return""}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn),g(Li))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-rule"]],inputs:{currentRules:"currentRules"},decls:36,vars:8,consts:[[1,"sidenav"],[1,"sidenav-header"],[1,"header-title"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"sidenav-content"],[3,"formGroup"],["hintLabel","Max. 60 characters, and starts with a letter.","appearance","outline"],["matInput","","formControlName","ruleName",1,"input-field"],["align","end"],["appearance","outline"],["matSelect","","formControlName","ruleType","required","true",1,"input-field"],["ruleType",""],["value","globalDataType"],["value","addIndex"],["value","changeMaxLength"],["value","addShardIdPrimaryKey",4,"ngIf"],[4,"ngIf"],["value","addShardIdPrimaryKey"],[3,"ruleNameValid","ruleName","ruleType","resetRuleType"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3),l(),d(4,"button",3),L("click",function(){return o.closeSidenav()}),d(5,"mat-icon",4),h(6,"close"),l()()(),d(7,"div",5)(8,"form",6)(9,"h3"),h(10,"Rule info"),l(),d(11,"mat-form-field",7)(12,"mat-label"),h(13,"Rule name"),l(),D(14,"input",8),d(15,"mat-hint",9),h(16),l()(),d(17,"h3"),h(18,"Rule definition"),l(),d(19,"mat-form-field",10)(20,"mat-label"),h(21,"Rule type"),l(),d(22,"mat-select",11,12)(24,"mat-option",13),h(25,"Change global data type"),l(),d(26,"mat-option",14),h(27,"Add Index"),l(),d(28,"mat-option",15),h(29,"Change default max column length"),l(),_(30,cce,2,0,"mat-option",16),l()(),D(31,"br"),l(),_(32,lce,2,3,"div",17),_(33,dce,2,3,"div",17),_(34,uce,2,3,"div",17),_(35,hce,2,3,"div",17),l()()),2&i){const r=At(23);m(3),Re(o.viewRuleFlag?"View Rule":"Add Rule"),m(5),f("formGroup",o.ruleForm),m(8),Se("",(null==o.ruleForm.value.ruleName?null:o.ruleForm.value.ruleName.length)||0,"/60"),m(14),f("ngIf",o.shardedMigration),m(2),f("ngIf","globalDataType"===r.value),m(1),f("ngIf","addIndex"===r.value),m(1),f("ngIf","changeMaxLength"===r.value),m(1),f("ngIf","addShardIdPrimaryKey"===r.value)}},dependencies:[Et,Fa,_i,Oi,Ii,Yc,sn,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,Wse,Xse,nce,sce],styles:["mat-mdc-form-field[_ngcontent-%COMP%]{padding-bottom:0} .mat-mdc-form-field-wrapper{padding-bottom:14px}"]})}return t})();function pce(t,n){1&t&&(d(0,"th",39),h(1,"Total tables"),l())}function fce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.total)}}function gce(t,n){1&t&&(d(0,"th",39)(1,"mat-icon",41),h(2," error "),l(),h(3,"Converted with many issues "),l())}function _ce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.bad)}}function bce(t,n){1&t&&(d(0,"th",39)(1,"mat-icon",42),h(2," warning"),l(),h(3,"Conversion some warnings & suggestions "),l())}function vce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.ok)}}function yce(t,n){1&t&&(d(0,"th",39)(1,"mat-icon",43),h(2," check_circle "),l(),h(3,"100% conversion "),l())}function xce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.good)}}function wce(t,n){1&t&&D(0,"tr",44)}function Cce(t,n){1&t&&D(0,"tr",45)}function Dce(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function kce(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function Sce(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function Mce(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function Tce(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function Ice(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function Ece(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function Oce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function Ace(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function Pce(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,Oce,2,0,"mat-icon",37),_(3,Ace,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function Rce(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function Fce(t,n){1&t&&D(0,"tr",44)}function Nce(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function Lce(t,n){1&t&&D(0,"tr",75)}const _f=function(){return["expandedDetail"]};function Bce(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",46),h(4," error "),l(),h(5," ERRORS "),l()(),d(6,"table",47),xe(7,48),_(8,Dce,2,0,"th",49),_(9,kce,2,1,"td",50),we(),xe(10,51),_(11,Sce,2,0,"th",52),_(12,Mce,2,1,"td",53),we(),xe(13,54),_(14,Tce,2,0,"th",55),_(15,Ice,2,1,"td",56),we(),xe(16,57),_(17,Ece,2,0,"th",58),_(18,Pce,4,2,"td",59),we(),xe(19,60),_(20,Rce,4,3,"td",59),we(),_(21,Fce,1,0,"tr",34),_(22,Nce,1,2,"tr",61),_(23,Lce,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Errors),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function Vce(t,n){1&t&&D(0,"br")}function jce(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function zce(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function Hce(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function Uce(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function $ce(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function Gce(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function Wce(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function qce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function Kce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function Zce(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,qce,2,0,"mat-icon",37),_(3,Kce,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function Yce(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function Qce(t,n){1&t&&D(0,"tr",44)}function Xce(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function Jce(t,n){1&t&&D(0,"tr",75)}function ele(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",76),h(4," warning "),l(),h(5," WARNINGS "),l()(),d(6,"table",47),xe(7,48),_(8,jce,2,0,"th",49),_(9,zce,2,1,"td",50),we(),xe(10,51),_(11,Hce,2,0,"th",52),_(12,Uce,2,1,"td",53),we(),xe(13,54),_(14,$ce,2,0,"th",55),_(15,Gce,2,1,"td",56),we(),xe(16,57),_(17,Wce,2,0,"th",58),_(18,Zce,4,2,"td",59),we(),xe(19,60),_(20,Yce,4,3,"td",59),we(),_(21,Qce,1,0,"tr",34),_(22,Xce,1,2,"tr",61),_(23,Jce,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Warnings),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function tle(t,n){1&t&&D(0,"br")}function ile(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function nle(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function ole(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function rle(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function ale(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function sle(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function cle(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function lle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function dle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function ule(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,lle,2,0,"mat-icon",37),_(3,dle,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function hle(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function mle(t,n){1&t&&D(0,"tr",44)}function ple(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function fle(t,n){1&t&&D(0,"tr",75)}function gle(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",77),h(4," wb_incandescent "),l(),h(5," SUGGESTIONS "),l()(),d(6,"table",47),xe(7,48),_(8,ile,2,0,"th",49),_(9,nle,2,1,"td",50),we(),xe(10,51),_(11,ole,2,0,"th",52),_(12,rle,2,1,"td",53),we(),xe(13,54),_(14,ale,2,0,"th",55),_(15,sle,2,1,"td",56),we(),xe(16,57),_(17,cle,2,0,"th",58),_(18,ule,4,2,"td",59),we(),xe(19,60),_(20,hle,4,3,"td",59),we(),_(21,mle,1,0,"tr",34),_(22,ple,1,2,"tr",61),_(23,fle,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Suggestions),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function _le(t,n){1&t&&D(0,"br")}function ble(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function vle(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function yle(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function xle(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function wle(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function Cle(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function Dle(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function kle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function Sle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function Mle(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,kle,2,0,"mat-icon",37),_(3,Sle,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function Tle(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function Ile(t,n){1&t&&D(0,"tr",44)}function Ele(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function Ole(t,n){1&t&&D(0,"tr",75)}function Ale(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",78),h(4," check_circle "),l(),h(5," NOTES "),l()(),d(6,"table",47),xe(7,48),_(8,ble,2,0,"th",49),_(9,vle,2,1,"td",50),we(),xe(10,51),_(11,yle,2,0,"th",52),_(12,xle,2,1,"td",53),we(),xe(13,54),_(14,wle,2,0,"th",55),_(15,Cle,2,1,"td",56),we(),xe(16,57),_(17,Dle,2,0,"th",58),_(18,Mle,4,2,"td",59),we(),xe(19,60),_(20,Tle,4,3,"td",59),we(),_(21,Ile,1,0,"tr",34),_(22,Ele,1,2,"tr",61),_(23,Ole,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Notes),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function Ple(t,n){1&t&&D(0,"br")}function Rle(t,n){1&t&&(d(0,"div",79)(1,"div",80),di(),d(2,"svg",81),D(3,"path",82),l()(),Pr(),d(4,"div",83),h(5," Woohoo! No issues or suggestions"),D(6,"br"),h(7,"found. "),l(),D(8,"br"),l())}const R0=function(t){return{"width.%":t}};let Fle=(()=>{class t{toggleRow(e){this.isRowExpanded(e)?this.expandedElements.delete(e):this.expandedElements.add(e)}isRowExpanded(e){return this.expandedElements.has(e)}constructor(e,i,o){this.sidenav=e,this.clickEvent=i,this.fetch=o,this.issueTableData_Errors=[],this.issueTableData_Warnings=[],this.issueTableData_Suggestions=[],this.issueTableData_Notes=[],this.columnsToDisplay=["position","description","tableCount"],this.columnsToDisplayWithExpand=[...this.columnsToDisplay,"expand"],this.expandedElements=new Set,this.srcDbType="",this.connectionDetail="",this.summaryText="",this.issueDescription={},this.conversionRateCount={good:0,ok:0,bad:0},this.conversionRatePercentage={good:0,ok:0,bad:0},this.rateCountDataSource=[],this.rateCountDisplayedColumns=["total","bad","ok","good"],this.ratePcDataSource=[],this.ratePcDisplayedColumns=["bad","ok","good"]}ngOnInit(){this.clickEvent.viewAssesment.subscribe(e=>{this.srcDbType=e.srcDbType,this.connectionDetail=e.connectionDetail,this.conversionRateCount=e.conversionRates;let i=this.conversionRateCount.good+this.conversionRateCount.ok+this.conversionRateCount.bad;if(i>0)for(let o in this.conversionRatePercentage)this.conversionRatePercentage[o]=Number((this.conversionRateCount[o]/i*100).toFixed(2));i>0&&this.setRateCountDataSource(i),this.fetch.getDStructuredReport().subscribe({next:o=>{this.summaryText=o.summary.text}}),this.issueTableData={position:0,description:"",tableCount:0,tableNamesJoinedByComma:""},this.fetch.getIssueDescription().subscribe({next:o=>{this.issueDescription=o,this.generateIssueReport()}})})}closeSidenav(){this.sidenav.closeSidenav()}setRateCountDataSource(e){this.rateCountDataSource=[],this.rateCountDataSource.push({total:e,bad:this.conversionRateCount.bad,ok:this.conversionRateCount.ok,good:this.conversionRateCount.good})}downloadStructuredReport(){var e=document.createElement("a");this.fetch.getDStructuredReport().subscribe({next:i=>{let o=JSON.stringify(i).replace(/9223372036854776000/g,"9223372036854775807");e.href="data:text;charset=utf-8,"+encodeURIComponent(o),e.download=`${i.summary.dbName}_migration_structuredReport.json`,e.click()}})}downloadTextReport(){var e=document.createElement("a");this.fetch.getDTextReport().subscribe({next:i=>{let o=this.connectionDetail;e.href="data:text;charset=utf-8,"+encodeURIComponent(i),e.download=`${o}_migration_textReport.txt`,e.click()}})}downloadReports(){let e=new BA;this.fetch.getDStructuredReport().subscribe({next:i=>{let o=i.summary.dbName,r=JSON.stringify(i).replace(/9223372036854776000/g,"9223372036854775807");e.file(o+"_migration_structuredReport.json",r),this.fetch.getDTextReport().subscribe({next:s=>{e.file(o+"_migration_textReport.txt",s),e.generateAsync({type:"blob"}).then(c=>{var u=document.createElement("a");u.href=URL.createObjectURL(c),u.download=`${o}_reports`,u.click()})}})}})}generateIssueReport(){this.fetch.getDStructuredReport().subscribe({next:e=>{let i=e.tableReports;var o={errors:new Map,warnings:new Map,suggestions:new Map,notes:new Map};for(var r of i){let c=r.issues;if(null==c)return this.issueTableData_Errors=[],this.issueTableData_Warnings=[],this.issueTableData_Suggestions=[],void(this.issueTableData_Notes=[]);for(var a of c){let u={tableCount:0,tableNames:new Set};switch(a.issueType){case"Error":case"Errors":this.appendIssueWithTableInformation(a.issueList,o.errors,u,r);break;case"Warnings":case"Warning":this.appendIssueWithTableInformation(a.issueList,o.warnings,u,r);break;case"Suggestion":case"Suggestions":this.appendIssueWithTableInformation(a.issueList,o.suggestions,u,r);break;case"Note":case"Notes":this.appendIssueWithTableInformation(a.issueList,o.notes,u,r)}}}let s=o.warnings;this.issueTableData_Warnings=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Warnings),s=o.errors,this.issueTableData_Errors=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Errors),s=o.suggestions,this.issueTableData_Suggestions=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Suggestions),s=o.notes,this.issueTableData_Notes=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Notes)}})}populateTableData(e,i){let o=1;for(let[r,a]of e.entries()){let s=[...a.tableNames.keys()];i.push({position:o,description:this.issueDescription[r],tableCount:a.tableCount,tableNamesJoinedByComma:s.join(", ")}),o+=1}}appendIssueWithTableInformation(e,i,o,r){for(var a of e)if(i.has(a.category)){let c=i.get(a.category),u={tableNames:new Set(c.tableNames),tableCount:c.tableNames.size};u.tableNames.add(r.srcTableName),u.tableCount=u.tableNames.size,i.set(a.category,u)}else{let c=o;c.tableNames.add(r.srcTableName),c.tableCount=c.tableNames.size,i.set(a.category,c)}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn),g(jo),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-view-assessment"]],decls:87,vars:25,consts:[[1,"sidenav-view-assessment-container"],[1,"sidenav-view-assessment-header"],[1,"mat-h2","header-title"],[1,"btn-source-select"],[1,"reportsButtons"],["mat-raised-button","","color","primary",1,"split-button-left",3,"click"],["mat-raised-button","","color","primary",1,"split-button-right",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","More options"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"content"],[1,"summaryHeader"],[1,"databaseName"],[1,"migrationDetails"],[1,"summaryText"],[1,"sidenav-percentage-bar"],[1,"danger-background",3,"ngStyle"],[1,"warning-background",3,"ngStyle"],[1,"success-background",3,"ngStyle"],[1,"sidenav-percentage-indent"],[1,"icon","danger"],[1,"icon","warning"],[1,"icon","success"],[1,"sidenav-title"],["mat-table","",1,"sidenav-conversionByTable",3,"dataSource"],["matColumnDef","total"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","cells",4,"matCellDef"],["matColumnDef","bad",1,"bad"],["matColumnDef","ok"],["matColumnDef","good"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"issue-report"],[4,"ngIf"],["class","no-issue-container",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"cells"],[1,"icon","danger","icon-size","icons"],[1,"icon","warning","icon-size","icons"],[1,"icon","success","icon-size","icons"],["mat-header-row",""],["mat-row",""],["matTooltip","Error: Please resolve them to proceed with the migration","matTooltipPosition","above",1,"danger"],["mat-table","","multiTemplateDataRows","",1,"sidenav-databaseDefinitions",3,"dataSource"],["matColumnDef","position"],["mat-header-cell","","class","mat-position",4,"matHeaderCellDef"],["mat-cell","","class","mat-position",4,"matCellDef"],["matColumnDef","description"],["mat-header-cell","","class","mat-description",4,"matHeaderCellDef"],["mat-cell","","class","mat-description",4,"matCellDef"],["matColumnDef","tableCount"],["mat-header-cell","","class","mat-tableCount",4,"matHeaderCellDef"],["mat-cell","","class","mat-tableCount",4,"matCellDef"],["matColumnDef","expand"],["mat-header-cell","","aria-label","row actions",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","expandedDetail"],["mat-row","","class","example-element-row",3,"example-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","example-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"mat-position"],["mat-cell","",1,"mat-position"],["mat-header-cell","",1,"mat-description"],["mat-cell","",1,"mat-description"],["mat-header-cell","",1,"mat-tableCount"],["mat-cell","",1,"mat-tableCount"],["mat-header-cell","","aria-label","row actions"],["mat-cell",""],["mat-icon-button","","aria-label","expand row",3,"click"],[1,"example-element-detail",3,"ngClass"],[1,"example-element-description"],["mat-row","",1,"example-element-row",3,"click"],["mat-row","",1,"example-detail-row"],["matTooltip","Warning : Changes made because of differences in source and spanner capabilities.","matTooltipPosition","above",1,"warning"],["matTooltip","Suggestion : We highly recommend you make these changes or else it will impact your DB performance.","matTooltipPosition","above",1,"suggestion"],["matTooltip","Note : This is informational and you don't need to do anything.","matTooltipPosition","above",1,"success"],[1,"no-issue-container"],[1,"no-issue-icon-container"],["width","36","height","36","viewBox","0 0 24 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.8332 0.69873C16.0051 7.45842 16.2492 9.44782 10.4672 10.2012C16.1511 11.1242 16.2329 13.2059 16.8332 19.7037C17.6237 13.1681 17.4697 11.2106 23.1986 10.2012C17.4247 9.45963 17.6194 7.4505 16.8332 0.69873ZM4.23739 0.872955C3.79064 4.52078 3.92238 5.59467 0.802246 6.00069C3.86944 6.49885 3.91349 7.62218 4.23739 11.1284C4.66397 7.60153 4.581 6.54497 7.67271 6.00069C4.55696 5.60052 4.66178 4.51623 4.23739 0.872955ZM7.36426 11.1105C7.05096 13.6683 7.14331 14.4212 4.95554 14.7061C7.10612 15.0553 7.13705 15.8431 7.36426 18.3017C7.66333 15.8288 7.60521 15.088 9.77298 14.7061C7.58818 14.4255 7.66177 13.6653 7.36426 11.1105Z","fill","#3367D6"],[1,"no-issue-message"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3,"Assessment report"),l(),d(4,"div",3)(5,"span",4)(6,"button",5),L("click",function(){return o.downloadReports()}),h(7," DOWNLOAD REPORTS "),l(),d(8,"button",6)(9,"mat-icon",7),h(10,"expand_more"),l()(),d(11,"mat-menu",8,9)(13,"button",10),L("click",function(){return o.downloadTextReport()}),h(14," Download Text Report "),l(),d(15,"button",10),L("click",function(){return o.downloadStructuredReport()}),h(16," Download Structured Report "),l()()(),d(17,"button",11),L("click",function(){return o.closeSidenav()}),d(18,"mat-icon",12),h(19,"close"),l()()()(),d(20,"div",13)(21,"div",14)(22,"p",15),h(23),l(),d(24,"p",16),h(25),d(26,"mat-icon"),h(27,"arrow_right_alt"),l(),h(28," Spanner)"),l()(),d(29,"p",17),h(30),l(),d(31,"mat-card")(32,"div",18),D(33,"div",19)(34,"div",20)(35,"div",21),l(),D(36,"hr")(37,"br"),d(38,"div",22)(39,"span")(40,"mat-icon",23),h(41," circle "),l(),d(42,"span"),h(43," Not a great conversion"),l()(),d(44,"span")(45,"mat-icon",24),h(46," circle "),l(),d(47,"span"),h(48," Converted with warnings"),l()(),d(49,"span")(50,"mat-icon",25),h(51," circle "),l(),d(52,"span"),h(53," Converted automatically"),l()()()(),D(54,"br"),d(55,"h3",26),h(56,"Conversion status by table"),l(),d(57,"table",27),xe(58,28),_(59,pce,2,0,"th",29),_(60,fce,2,1,"td",30),we(),xe(61,31),_(62,gce,4,0,"th",29),_(63,_ce,2,1,"td",30),we(),xe(64,32),_(65,bce,4,0,"th",29),_(66,vce,2,1,"td",30),we(),xe(67,33),_(68,yce,4,0,"th",29),_(69,xce,2,1,"td",30),we(),_(70,wce,1,0,"tr",34),_(71,Cce,1,0,"tr",35),l(),D(72,"br"),d(73,"h3"),h(74,"Summarized Table Report"),l(),d(75,"div",36),_(76,Bce,24,5,"mat-expansion-panel",37),_(77,Vce,1,0,"br",37),_(78,ele,24,5,"mat-expansion-panel",37),_(79,tle,1,0,"br",37),_(80,gle,24,5,"mat-expansion-panel",37),_(81,_le,1,0,"br",37),_(82,Ale,24,5,"mat-expansion-panel",37),_(83,Ple,1,0,"br",37),_(84,Rle,9,0,"div",38),D(85,"br"),l(),D(86,"br"),l()()),2&i){const r=At(12);m(8),f("matMenuTriggerFor",r),m(15),Re(o.connectionDetail),m(2),Se(" \xa0 (",o.srcDbType," "),m(5),Re(o.summaryText),m(3),f("ngStyle",ii(19,R0,o.conversionRatePercentage.bad)),m(1),f("ngStyle",ii(21,R0,o.conversionRatePercentage.ok)),m(1),f("ngStyle",ii(23,R0,o.conversionRatePercentage.good)),m(22),f("dataSource",o.rateCountDataSource),m(13),f("matHeaderRowDef",o.rateCountDisplayedColumns),m(1),f("matRowDefColumns",o.rateCountDisplayedColumns),m(5),f("ngIf",o.issueTableData_Errors.length),m(1),f("ngIf",o.issueTableData_Errors.length),m(1),f("ngIf",o.issueTableData_Warnings.length),m(1),f("ngIf",o.issueTableData_Warnings.length),m(1),f("ngIf",o.issueTableData_Suggestions.length),m(1),f("ngIf",o.issueTableData_Suggestions.length),m(1),f("ngIf",o.issueTableData_Notes.length),m(1),f("ngIf",o.issueTableData_Notes.length),m(1),f("ngIf",!(o.issueTableData_Notes.length||o.issueTableData_Suggestions.length||o.issueTableData_Warnings.length||o.issueTableData_Errors.length))}},dependencies:[Qo,Et,eM,Kt,Fa,_i,Hd,el,Xr,tl,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,Vy,kE,nq,On],styles:["table.mat-mdc-table[_ngcontent-%COMP%]{width:100%}.icon-size[_ngcontent-%COMP%]{font-size:1.2em;text-align:center;margin-top:8px;margin-left:10px;vertical-align:inherit}.mat-mdc-header-cell[_ngcontent-%COMP%]{border-style:none}.icons[_ngcontent-%COMP%]{border-left:1px solid rgb(208,204,204);padding-left:10px}.cells[_ngcontent-%COMP%]{text-align:center}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%]{padding:7px 16px;display:flex;flex-direction:row;align-items:center;border-bottom:1px solid #d0cccc;justify-content:space-between}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{margin:0}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%]{vertical-align:middle}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .reportsButtons[_ngcontent-%COMP%]{white-space:nowrap;vertical-align:middle}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-left[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-right[_ngcontent-%COMP%]{width:30px!important;min-width:unset!important;padding:0 8px 0 2px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid #fafafa}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{margin-left:1.25px;padding:0;height:10px;vertical-align:text-top}"]})}return t})(),Nle=(()=>{class t{constructor(e,i,o,r){this.fetch=e,this.data=i,this.snack=o,this.sidenav=r,this.errMessage="",this.saveSessionForm=new ni({SessionName:new Q("",[me.required,me.pattern("^[a-zA-Z][a-zA-Z0-9_ -]{0,59}$")]),EditorName:new Q("",[me.required,me.pattern("^[a-zA-Z][a-zA-Z0-9_ -]{0,59}$")]),DatabaseName:new Q("",[me.required,me.pattern("^[a-zA-Z][a-zA-Z0-9_-]{0,59}$")]),Notes:new Q("")})}saveSession(){let e=this.saveSessionForm.value,i={SessionName:e.SessionName.trim(),EditorName:e.EditorName.trim(),DatabaseName:e.DatabaseName.trim(),Notes:""===e.Notes?.trim()||null===e.Notes?[""]:e.Notes?.split("\n")};this.fetch.saveSession(i).subscribe({next:o=>{this.data.getAllSessions(),this.snack.openSnackBar("Session saved successfully","Close",5)},error:o=>{this.snack.openSnackBar(o.error,"Close")}}),this.saveSessionForm.reset(),this.saveSessionForm.markAsUntouched(),this.closeSidenav()}ngOnInit(){this.sidenav.sidenavDatabaseName.subscribe({next:e=>{this.saveSessionForm.controls.DatabaseName.setValue(e)}})}closeSidenav(){this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Li),g(Vo),g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-save-session"]],decls:40,vars:5,consts:[[1,"sidenav"],[1,"sidenav-header"],[1,"header-title"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"sidenav-content"],[1,"save-session-form",3,"formGroup"],["hintLabel","Letters, numbers, hyphen, space and underscore allowed. Max. 60 characters, and starts with a letter.","appearance","outline"],["matInput","","placeholder","mysession","type","text","formControlName","SessionName","matTooltip","User can view saved sessions under session history section","matTooltipPosition","above"],["align","end"],["hintLabel","Letters, numbers, hyphen, space and underscore allowed. Max. 60 characters, and starts with a letter.","appearance","outline",1,"full-width"],["matInput","","placeholder","editor name","type","text","formControlName","EditorName"],["hintLabel","Letters, numbers, hyphen and underscores allowed. Max. 60 characters, and starts with a letter.","appearance","outline",1,"full-width"],["matInput","","type","text","formControlName","DatabaseName"],["appearance","outline",1,"full-width"],["rows","7","matInput","","placeholder","added new index","type","text","formControlName","Notes"],[1,"sidenav-footer"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3,"Save Session"),l(),d(4,"button",3),L("click",function(){return o.closeSidenav()}),d(5,"mat-icon",4),h(6,"close"),l()()(),d(7,"div",5)(8,"h3"),h(9,"Session Details"),l(),d(10,"form",6)(11,"mat-form-field",7)(12,"mat-label"),h(13,"Session Name"),l(),D(14,"input",8),d(15,"mat-hint",9),h(16),l()(),D(17,"br"),d(18,"mat-form-field",10)(19,"mat-label"),h(20,"Editor Name"),l(),D(21,"input",11),d(22,"mat-hint",9),h(23),l()(),D(24,"br"),d(25,"mat-form-field",12)(26,"mat-label"),h(27,"Database Name"),l(),D(28,"input",13),d(29,"mat-hint",9),h(30),l()(),D(31,"br"),d(32,"mat-form-field",14)(33,"mat-label"),h(34,"Notes"),l(),D(35,"textarea",15),l(),D(36,"br"),l()(),d(37,"div",16)(38,"button",17),L("click",function(){return o.saveSession()}),h(39," Save Session "),l()()()),2&i&&(m(10),f("formGroup",o.saveSessionForm),m(6),Se("",(null==o.saveSessionForm.value.SessionName?null:o.saveSessionForm.value.SessionName.length)||0,"/60"),m(7),Se("",(null==o.saveSessionForm.value.EditorName?null:o.saveSessionForm.value.EditorName.length)||0,"/60"),m(7),Se("",(null==o.saveSessionForm.value.DatabaseName?null:o.saveSessionForm.value.DatabaseName.length)||0,"/60"),m(8),f("disabled",!o.saveSessionForm.valid))},dependencies:[Kt,Fa,_i,Oi,Ii,Yc,sn,Tn,Mi,vi,Ui,Ti,Xi,On],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{padding-bottom:10px}"]})}return t})();function Lle(t,n){1&t&&(d(0,"th",9),h(1,"Column"),l())}function Ble(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.ColumnName)}}function Vle(t,n){1&t&&(d(0,"th",9),h(1,"Type"),l())}function jle(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.Type)}}function zle(t,n){1&t&&(d(0,"th",9),h(1,"Updated Column"),l())}function Hle(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.UpdateColumnName)}}function Ule(t,n){1&t&&(d(0,"th",9),h(1,"Updated Type"),l())}function $le(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.UpdateType)}}function Gle(t,n){1&t&&D(0,"tr",11)}function Wle(t,n){1&t&&D(0,"tr",12)}let qle=(()=>{class t{constructor(){this.tableChange={InterleaveColumnChanges:[],Table:""},this.dataSource=[],this.displayedColumns=["ColumnName","Type","UpdateColumnName","UpdateType"]}ngOnInit(){}ngOnChanges(e){this.tableChange=e.tableChange?.currentValue||this.tableChange,this.dataSource=this.tableChange.InterleaveColumnChanges}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-table-column-changes-preview"]],inputs:{tableChange:"tableChange"},features:[ai],decls:15,vars:3,consts:[["mat-table","",1,"object-full-width","margin-bot-1",3,"dataSource"],["matColumnDef","ColumnName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Type"],["matColumnDef","UpdateColumnName"],["matColumnDef","UpdateType"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(i,o){1&i&&(d(0,"table",0),xe(1,1),_(2,Lle,2,0,"th",2),_(3,Ble,2,1,"td",3),we(),xe(4,4),_(5,Vle,2,0,"th",2),_(6,jle,2,1,"td",3),we(),xe(7,5),_(8,zle,2,0,"th",2),_(9,Hle,2,1,"td",3),we(),xe(10,6),_(11,Ule,2,0,"th",2),_(12,$le,2,1,"td",3),we(),_(13,Gle,1,0,"tr",7),_(14,Wle,1,0,"tr",8),l()),2&i&&(f("dataSource",o.dataSource),m(13),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns))},dependencies:[Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa],styles:[".margin-bot-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mat-mdc-header-row[_ngcontent-%COMP%]{background-color:#f5f5f5}.mat-mdc-column-ColumnName[_ngcontent-%COMP%], .mat-mdc-column-UpdateColumnName[_ngcontent-%COMP%]{width:30%;max-width:30%}.mat-mdc-column-Type[_ngcontent-%COMP%], .mat-mdc-column-UpdateType[_ngcontent-%COMP%]{width:20%;max-width:20%}.mat-mdc-cell[_ngcontent-%COMP%]{padding-right:1rem;word-break:break-all}"]})}return t})();function Kle(t,n){1&t&&(d(0,"p"),h(1,"Review the DDL changes below."),l())}function Zle(t,n){if(1&t&&(d(0,"p"),h(1," Changing an interleaved table will have an impact on the following tables : "),d(2,"b"),h(3),l()()),2&t){const e=w();m(3),Re(e.tableList)}}function Yle(t,n){if(1&t&&(d(0,"div",11)(1,"pre")(2,"code"),h(3),l()()()),2&t){const e=w();m(3),Re(e.ddl)}}function Qle(t,n){if(1&t&&(xe(0),d(1,"h4"),h(2),l(),D(3,"app-table-column-changes-preview",14),we()),2&t){const e=n.$implicit,i=n.index,o=w(2);m(2),Re(o.tableNames[i]),m(1),f("tableChange",e)}}function Xle(t,n){if(1&t&&(d(0,"div",12),_(1,Qle,4,2,"ng-container",13),l()),2&t){const e=w();m(1),f("ngForOf",e.tableChanges)}}let Jle=(()=>{class t{constructor(e,i,o,r){this.sidenav=e,this.tableUpdatePubSub=i,this.data=o,this.snackbar=r,this.ddl="",this.showDdl=!0,this.tableUpdateData={tableName:"",tableId:"",updateDetail:{UpdateCols:{}}},this.tableChanges=[],this.tableNames=[],this.tableList=""}ngOnInit(){this.tableUpdatePubSub.reviewTableChanges.subscribe(e=>{if(e.Changes&&e.Changes.length>0){this.showDdl=!1,this.tableChanges=e.Changes;const i=[];this.tableList="",this.tableChanges.forEach((o,r)=>{i.push(o.Table),this.tableList+=0==r?o.Table:", "+o.Table}),this.tableList+=".",this.tableNames=i}else this.showDdl=!0,this.ddl=e.DDL}),this.tableUpdatePubSub.tableUpdateDetail.subscribe(e=>{this.tableUpdateData=e})}updateTable(){this.data.updateTable(this.tableUpdateData.tableId,this.tableUpdateData.updateDetail).subscribe({next:e=>{""==e?(this.snackbar.openSnackBar(`Schema changes to table ${this.tableUpdateData.tableName} saved successfully`,"Close",5),0==this.showDdl&&1!=this.tableNames.length&&this.snackbar.openSnackBar(`Schema changes to tables ${this.tableNames[0]} and ${this.tableNames[1]} saved successfully`,"Close",5),this.closeSidenav()):this.snackbar.openSnackBar(e,"Close",5)}})}closeSidenav(){this.ddl="",this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn),g(O0),g(Li),g(Vo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-review-changes"]],decls:17,vars:4,consts:[[1,"sidenav"],[1,"sidenav-header"],[1,"header-title"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"sidenav-content"],[4,"ngIf"],["class","ddl-display",4,"ngIf"],["class","table-changes-display",4,"ngIf"],[1,"sidenav-footer"],["mat-raised-button","","color","primary",3,"click"],[1,"ddl-display"],[1,"table-changes-display"],[4,"ngFor","ngForOf"],[3,"tableChange"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3,"Review changes to your schema"),l(),d(4,"button",3),L("click",function(){return o.closeSidenav()}),d(5,"mat-icon",4),h(6,"close"),l()()(),D(7,"mat-divider"),d(8,"div",5),_(9,Kle,2,0,"p",6),_(10,Zle,4,1,"p",6),_(11,Yle,4,1,"div",7),_(12,Xle,2,1,"div",8),l(),D(13,"mat-divider"),d(14,"div",9)(15,"button",10),L("click",function(){return o.updateTable()}),h(16,"Confirm Conversion"),l()()()),2&i&&(m(9),f("ngIf",o.showDdl),m(1),f("ngIf",!o.showDdl),m(1),f("ngIf",o.showDdl),m(1),f("ngIf",!o.showDdl))},dependencies:[an,Et,Kt,Fa,_i,TI,qle],styles:[".sidenav-content[_ngcontent-%COMP%]{height:82%}.sidenav-content[_ngcontent-%COMP%] .ddl-display[_ngcontent-%COMP%]{height:90%;background-color:#dadada;padding:10px;overflow:auto}.sidenav-content[_ngcontent-%COMP%] .table-changes-display[_ngcontent-%COMP%]{height:90%;overflow:auto}"]})}return t})();function ede(t,n){1&t&&D(0,"app-sidenav-rule")}function tde(t,n){1&t&&D(0,"app-sidenav-save-session")}function ide(t,n){1&t&&D(0,"app-sidenav-review-changes")}function nde(t,n){1&t&&D(0,"app-sidenav-view-assessment")}function ode(t,n){1&t&&D(0,"app-instruction")}const rde=function(t,n,e){return{"width-40pc":t,"width-50pc":n,"width-60pc":e}};let ade=(()=>{class t{constructor(e){this.sidenavService=e,this.title="ui",this.showSidenav=!1,this.sidenavComponent=""}ngOnInit(){this.sidenavService.isSidenav.subscribe(e=>{this.showSidenav=e}),this.sidenavService.sidenavComponent.subscribe(e=>{this.sidenavComponent=e})}closeSidenav(){this.showSidenav=!1}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-root"]],decls:14,vars:11,consts:[[1,"sidenav-container",3,"backdropClick"],["position","end","mode","over",3,"opened","ngClass"],["sidenav",""],[4,"ngIf"],[1,"sidenav-content"],[1,"appLoader"],[1,"padding-20"]],template:function(i,o){1&i&&(d(0,"mat-sidenav-container",0),L("backdropClick",function(){return o.closeSidenav()}),d(1,"mat-sidenav",1,2),_(3,ede,1,0,"app-sidenav-rule",3),_(4,tde,1,0,"app-sidenav-save-session",3),_(5,ide,1,0,"app-sidenav-review-changes",3),_(6,nde,1,0,"app-sidenav-view-assessment",3),_(7,ode,1,0,"app-instruction",3),l(),d(8,"mat-sidenav-content",4),D(9,"app-header"),d(10,"div",5),D(11,"app-loader"),l(),d(12,"div",6),D(13,"router-outlet"),l()()()),2&i&&(m(1),f("opened",o.showSidenav)("ngClass",fk(7,rde,"rule"===o.sidenavComponent||"saveSession"===o.sidenavComponent,"reviewChanges"===o.sidenavComponent,"assessment"===o.sidenavComponent||"instruction"===o.sidenavComponent)),m(2),f("ngIf","rule"===o.sidenavComponent),m(1),f("ngIf","saveSession"==o.sidenavComponent),m(1),f("ngIf","reviewChanges"==o.sidenavComponent),m(1),f("ngIf","assessment"===o.sidenavComponent),m(1),f("ngIf","instruction"===o.sidenavComponent))},dependencies:[Qo,Et,rf,vO,yO,c0,NA,Nse,Bse,mce,Fle,Nle,Jle],styles:[".padding-20[_ngcontent-%COMP%]{padding:5px 0}.progress-bar-wrapper[_ngcontent-%COMP%]{background-color:#cbd0e9;height:2px}.progress-bar-wrapper[_ngcontent-%COMP%] .mat-mdc-progress-bar[_ngcontent-%COMP%], .appLoader[_ngcontent-%COMP%]{height:2px}mat-mdc-sidenav[_ngcontent-%COMP%]{width:30%;min-width:350px}.sidenav-container[_ngcontent-%COMP%]{height:100vh}.sidenav-container[_ngcontent-%COMP%] mat-mdc-sidenav[_ngcontent-%COMP%]{min-width:350px;border-radius:3px}.width-40pc[_ngcontent-%COMP%]{width:40%}.width-50pc[_ngcontent-%COMP%]{width:50%}.width-60pc[_ngcontent-%COMP%]{width:60%}"]})}return t})(),sde=(()=>{class t{constructor(e){this.loader=e,this.count=0}intercept(e,i){let o=!e.url.includes("/connect");return o&&(this.loader.startLoader(),this.count++),i.handle(e).pipe(xs(()=>{o&&this.count--,0==this.count&&this.loader.stopLoader()}))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(pf))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cde=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t,bootstrap:[ade]});static#i=this.\u0275inj=st({providers:[{provide:cI,useClass:sde,multi:!0}],imports:[DM,Ise,p7,rY,_9,VU,fY,vY,UJ,Wy]})}return t})();uj().bootstrapModule(cde).catch(t=>console.error(t))},965:bl=>{bl.exports=function G(Pe,z,F){function P($,K){if(!z[$]){if(!Pe[$]){if(S)return S($,!0);var U=new Error("Cannot find module '"+$+"'");throw U.code="MODULE_NOT_FOUND",U}var M=z[$]={exports:{}};Pe[$][0].call(M.exports,function(B){return P(Pe[$][1][B]||B)},M,M.exports,G,Pe,z,F)}return z[$].exports}for(var S=void 0,T=0;T>4,B=1>6:64,k=2>2)+S.charAt(M)+S.charAt(B)+S.charAt(k));return R.join("")},z.decode=function(T){var $,K,H,U,M,B,k=0,R=0,I="data:";if(T.substr(0,5)===I)throw new Error("Invalid base64 input, it looks like a data url.");var V,q=3*(T=T.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(T.charAt(T.length-1)===S.charAt(64)&&q--,T.charAt(T.length-2)===S.charAt(64)&&q--,q%1!=0)throw new Error("Invalid base64 input, bad content length.");for(V=P.uint8array?new Uint8Array(0|q):new Array(0|q);k>4,K=(15&U)<<4|(M=S.indexOf(T.charAt(k++)))>>2,H=(3&M)<<6|(B=S.indexOf(T.charAt(k++))),V[R++]=$,64!==M&&(V[R++]=K),64!==B&&(V[R++]=H);return V}},{"./support":30,"./utils":32}],2:[function(G,Pe,z){"use strict";var F=G("./external"),P=G("./stream/DataWorker"),S=G("./stream/Crc32Probe"),T=G("./stream/DataLengthProbe");function $(K,H,U,M,B){this.compressedSize=K,this.uncompressedSize=H,this.crc32=U,this.compression=M,this.compressedContent=B}$.prototype={getContentWorker:function(){var K=new P(F.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new T("data_length")),H=this;return K.on("end",function(){if(this.streamInfo.data_length!==H.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),K},getCompressedWorker:function(){return new P(F.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},$.createWorkerFrom=function(K,H,U){return K.pipe(new S).pipe(new T("uncompressedSize")).pipe(H.compressWorker(U)).pipe(new T("compressedSize")).withStreamInfo("compression",H)},Pe.exports=$},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(G,Pe,z){"use strict";var F=G("./stream/GenericWorker");z.STORE={magic:"\0\0",compressWorker:function(){return new F("STORE compression")},uncompressWorker:function(){return new F("STORE decompression")}},z.DEFLATE=G("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(G,Pe,z){"use strict";var F=G("./utils"),P=function(){for(var S,T=[],$=0;$<256;$++){S=$;for(var K=0;K<8;K++)S=1&S?3988292384^S>>>1:S>>>1;T[$]=S}return T}();Pe.exports=function(S,T){return void 0!==S&&S.length?"string"!==F.getTypeOf(S)?function($,K,H,U){var M=P,B=0+H;$^=-1;for(var k=0;k>>8^M[255&($^K[k])];return-1^$}(0|T,S,S.length):function($,K,H,U){var M=P,B=0+H;$^=-1;for(var k=0;k>>8^M[255&($^K.charCodeAt(k))];return-1^$}(0|T,S,S.length):0}},{"./utils":32}],5:[function(G,Pe,z){"use strict";z.base64=!1,z.binary=!1,z.dir=!1,z.createFolders=!0,z.date=null,z.compression=null,z.compressionOptions=null,z.comment=null,z.unixPermissions=null,z.dosPermissions=null},{}],6:[function(G,Pe,z){"use strict";var F;F=typeof Promise<"u"?Promise:G("lie"),Pe.exports={Promise:F}},{lie:37}],7:[function(G,Pe,z){"use strict";var F=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",P=G("pako"),S=G("./utils"),T=G("./stream/GenericWorker"),$=F?"uint8array":"array";function K(H,U){T.call(this,"FlateWorker/"+H),this._pako=null,this._pakoAction=H,this._pakoOptions=U,this.meta={}}z.magic="\b\0",S.inherits(K,T),K.prototype.processChunk=function(H){this.meta=H.meta,null===this._pako&&this._createPako(),this._pako.push(S.transformTo($,H.data),!1)},K.prototype.flush=function(){T.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},K.prototype.cleanUp=function(){T.prototype.cleanUp.call(this),this._pako=null},K.prototype._createPako=function(){this._pako=new P[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var H=this;this._pako.onData=function(U){H.push({data:U,meta:H.meta})}},z.compressWorker=function(H){return new K("Deflate",H)},z.uncompressWorker=function(){return new K("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(G,Pe,z){"use strict";function F(M,B){var k,R="";for(k=0;k>>=8;return R}function P(M,B,k,R,I,V){var q,ee,J=M.file,De=M.compression,ge=V!==$.utf8encode,Be=S.transformTo("string",V(J.name)),pe=S.transformTo("string",$.utf8encode(J.name)),$e=J.comment,dt=S.transformTo("string",V($e)),j=S.transformTo("string",$.utf8encode($e)),be=pe.length!==J.name.length,x=j.length!==$e.length,ye="",Ct="",Te="",Ft=J.dir,Ve=J.date,Ye={crc32:0,compressedSize:0,uncompressedSize:0};B&&!k||(Ye.crc32=M.crc32,Ye.compressedSize=M.compressedSize,Ye.uncompressedSize=M.uncompressedSize);var le=0;B&&(le|=8),ge||!be&&!x||(le|=2048);var te,Ji,re=0,gt=0;Ft&&(re|=16),"UNIX"===I?(gt=798,re|=(Ji=te=J.unixPermissions,te||(Ji=Ft?16893:33204),(65535&Ji)<<16)):(gt=20,re|=function(te){return 63&(te||0)}(J.dosPermissions)),q=Ve.getUTCHours(),q<<=6,q|=Ve.getUTCMinutes(),q<<=5,q|=Ve.getUTCSeconds()/2,ee=Ve.getUTCFullYear()-1980,ee<<=4,ee|=Ve.getUTCMonth()+1,ee<<=5,ee|=Ve.getUTCDate(),be&&(Ct=F(1,1)+F(K(Be),4)+pe,ye+="up"+F(Ct.length,2)+Ct),x&&(Te=F(1,1)+F(K(dt),4)+j,ye+="uc"+F(Te.length,2)+Te);var tt="";return tt+="\n\0",tt+=F(le,2),tt+=De.magic,tt+=F(q,2),tt+=F(ee,2),tt+=F(Ye.crc32,4),tt+=F(Ye.compressedSize,4),tt+=F(Ye.uncompressedSize,4),tt+=F(Be.length,2),tt+=F(ye.length,2),{fileRecord:H.LOCAL_FILE_HEADER+tt+Be+ye,dirRecord:H.CENTRAL_FILE_HEADER+F(gt,2)+tt+F(dt.length,2)+"\0\0\0\0"+F(re,4)+F(R,4)+Be+ye+dt}}var S=G("../utils"),T=G("../stream/GenericWorker"),$=G("../utf8"),K=G("../crc32"),H=G("../signature");function U(M,B,k,R){T.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=B,this.zipPlatform=k,this.encodeFileName=R,this.streamFiles=M,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}S.inherits(U,T),U.prototype.push=function(M){var B=M.meta.percent||0,k=this.entriesCount,R=this._sources.length;this.accumulate?this.contentBuffer.push(M):(this.bytesWritten+=M.data.length,T.prototype.push.call(this,{data:M.data,meta:{currentFile:this.currentFile,percent:k?(B+100*(k-R-1))/k:100}}))},U.prototype.openedSource=function(M){this.currentSourceOffset=this.bytesWritten,this.currentFile=M.file.name;var B=this.streamFiles&&!M.file.dir;if(B){var k=P(M,B,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:k.fileRecord,meta:{percent:0}})}else this.accumulate=!0},U.prototype.closedSource=function(M){this.accumulate=!1;var R,B=this.streamFiles&&!M.file.dir,k=P(M,B,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(k.dirRecord),B)this.push({data:(R=M,H.DATA_DESCRIPTOR+F(R.crc32,4)+F(R.compressedSize,4)+F(R.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:k.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},U.prototype.flush=function(){for(var M=this.bytesWritten,B=0;B=this.index;T--)$=($<<8)+this.byteAt(T);return this.index+=S,$},readString:function(S){return F.transformTo("string",this.readData(S))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var S=this.readInt(4);return new Date(Date.UTC(1980+(S>>25&127),(S>>21&15)-1,S>>16&31,S>>11&31,S>>5&63,(31&S)<<1))}},Pe.exports=P},{"../utils":32}],19:[function(G,Pe,z){"use strict";var F=G("./Uint8ArrayReader");function P(S){F.call(this,S)}G("../utils").inherits(P,F),P.prototype.readData=function(S){this.checkOffset(S);var T=this.data.slice(this.zero+this.index,this.zero+this.index+S);return this.index+=S,T},Pe.exports=P},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(G,Pe,z){"use strict";var F=G("./DataReader");function P(S){F.call(this,S)}G("../utils").inherits(P,F),P.prototype.byteAt=function(S){return this.data.charCodeAt(this.zero+S)},P.prototype.lastIndexOfSignature=function(S){return this.data.lastIndexOf(S)-this.zero},P.prototype.readAndCheckSignature=function(S){return S===this.readData(4)},P.prototype.readData=function(S){this.checkOffset(S);var T=this.data.slice(this.zero+this.index,this.zero+this.index+S);return this.index+=S,T},Pe.exports=P},{"../utils":32,"./DataReader":18}],21:[function(G,Pe,z){"use strict";var F=G("./ArrayReader");function P(S){F.call(this,S)}G("../utils").inherits(P,F),P.prototype.readData=function(S){if(this.checkOffset(S),0===S)return new Uint8Array(0);var T=this.data.subarray(this.zero+this.index,this.zero+this.index+S);return this.index+=S,T},Pe.exports=P},{"../utils":32,"./ArrayReader":17}],22:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("../support"),S=G("./ArrayReader"),T=G("./StringReader"),$=G("./NodeBufferReader"),K=G("./Uint8ArrayReader");Pe.exports=function(H){var U=F.getTypeOf(H);return F.checkSupport(U),"string"!==U||P.uint8array?"nodebuffer"===U?new $(H):P.uint8array?new K(F.transformTo("uint8array",H)):new S(F.transformTo("array",H)):new T(H)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(G,Pe,z){"use strict";z.LOCAL_FILE_HEADER="PK\x03\x04",z.CENTRAL_FILE_HEADER="PK\x01\x02",z.CENTRAL_DIRECTORY_END="PK\x05\x06",z.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",z.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",z.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(G,Pe,z){"use strict";var F=G("./GenericWorker"),P=G("../utils");function S(T){F.call(this,"ConvertWorker to "+T),this.destType=T}P.inherits(S,F),S.prototype.processChunk=function(T){this.push({data:P.transformTo(this.destType,T.data),meta:T.meta})},Pe.exports=S},{"../utils":32,"./GenericWorker":28}],25:[function(G,Pe,z){"use strict";var F=G("./GenericWorker"),P=G("../crc32");function S(){F.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}G("../utils").inherits(S,F),S.prototype.processChunk=function(T){this.streamInfo.crc32=P(T.data,this.streamInfo.crc32||0),this.push(T)},Pe.exports=S},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("./GenericWorker");function S(T){P.call(this,"DataLengthProbe for "+T),this.propName=T,this.withStreamInfo(T,0)}F.inherits(S,P),S.prototype.processChunk=function(T){T&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+T.data.length),P.prototype.processChunk.call(this,T)},Pe.exports=S},{"../utils":32,"./GenericWorker":28}],27:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("./GenericWorker");function S(T){P.call(this,"DataWorker");var $=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,T.then(function(K){$.dataIsReady=!0,$.data=K,$.max=K&&K.length||0,$.type=F.getTypeOf(K),$.isPaused||$._tickAndRepeat()},function(K){$.error(K)})}F.inherits(S,P),S.prototype.cleanUp=function(){P.prototype.cleanUp.call(this),this.data=null},S.prototype.resume=function(){return!!P.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,F.delay(this._tickAndRepeat,[],this)),!0)},S.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(F.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},S.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var T=null,$=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":T=this.data.substring(this.index,$);break;case"uint8array":T=this.data.subarray(this.index,$);break;case"array":case"nodebuffer":T=this.data.slice(this.index,$)}return this.index=$,this.push({data:T,meta:{percent:this.max?this.index/this.max*100:0}})},Pe.exports=S},{"../utils":32,"./GenericWorker":28}],28:[function(G,Pe,z){"use strict";function F(P){this.name=P||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}F.prototype={push:function(P){this.emit("data",P)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(P){this.emit("error",P)}return!0},error:function(P){return!this.isFinished&&(this.isPaused?this.generatedError=P:(this.isFinished=!0,this.emit("error",P),this.previous&&this.previous.error(P),this.cleanUp()),!0)},on:function(P,S){return this._listeners[P].push(S),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(P,S){if(this._listeners[P])for(var T=0;T "+P:P}},Pe.exports=F},{}],29:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("./ConvertWorker"),S=G("./GenericWorker"),T=G("../base64"),$=G("../support"),K=G("../external"),H=null;if($.nodestream)try{H=G("../nodejs/NodejsStreamOutputAdapter")}catch{}function M(B,k,R){var I=k;switch(k){case"blob":case"arraybuffer":I="uint8array";break;case"base64":I="string"}try{this._internalType=I,this._outputType=k,this._mimeType=R,F.checkSupport(I),this._worker=B.pipe(new P(I)),B.lock()}catch(V){this._worker=new S("error"),this._worker.error(V)}}M.prototype={accumulate:function(B){return function U(B,k){return new K.Promise(function(R,I){var V=[],q=B._internalType,ee=B._outputType,J=B._mimeType;B.on("data",function(De,ge){V.push(De),k&&k(ge)}).on("error",function(De){V=[],I(De)}).on("end",function(){try{var De=function(ge,Be,pe){switch(ge){case"blob":return F.newBlob(F.transformTo("arraybuffer",Be),pe);case"base64":return T.encode(Be);default:return F.transformTo(ge,Be)}}(ee,function(ge,Be){var pe,$e=0,dt=null,j=0;for(pe=0;pe"u")z.blob=!1;else{var F=new ArrayBuffer(0);try{z.blob=0===new Blob([F],{type:"application/zip"}).size}catch{try{var P=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);P.append(F),z.blob=0===P.getBlob("application/zip").size}catch{z.blob=!1}}}try{z.nodestream=!!G("readable-stream").Readable}catch{z.nodestream=!1}},{"readable-stream":16}],31:[function(G,Pe,z){"use strict";for(var F=G("./utils"),P=G("./support"),S=G("./nodejsUtils"),T=G("./stream/GenericWorker"),$=new Array(256),K=0;K<256;K++)$[K]=252<=K?6:248<=K?5:240<=K?4:224<=K?3:192<=K?2:1;function H(){T.call(this,"utf-8 decode"),this.leftOver=null}function U(){T.call(this,"utf-8 encode")}$[254]=$[254]=1,z.utf8encode=function(M){return P.nodebuffer?S.newBufferFrom(M,"utf-8"):function(B){var k,R,I,V,q,ee=B.length,J=0;for(V=0;V>>6:(R<65536?k[q++]=224|R>>>12:(k[q++]=240|R>>>18,k[q++]=128|R>>>12&63),k[q++]=128|R>>>6&63),k[q++]=128|63&R);return k}(M)},z.utf8decode=function(M){return P.nodebuffer?F.transformTo("nodebuffer",M).toString("utf-8"):function(B){var k,R,I,V,q=B.length,ee=new Array(2*q);for(k=R=0;k>10&1023,ee[R++]=56320|1023&I)}return ee.length!==R&&(ee.subarray?ee=ee.subarray(0,R):ee.length=R),F.applyFromCharCode(ee)}(M=F.transformTo(P.uint8array?"uint8array":"array",M))},F.inherits(H,T),H.prototype.processChunk=function(M){var B=F.transformTo(P.uint8array?"uint8array":"array",M.data);if(this.leftOver&&this.leftOver.length){if(P.uint8array){var k=B;(B=new Uint8Array(k.length+this.leftOver.length)).set(this.leftOver,0),B.set(k,this.leftOver.length)}else B=this.leftOver.concat(B);this.leftOver=null}var R=function(V,q){var ee;for((q=q||V.length)>V.length&&(q=V.length),ee=q-1;0<=ee&&128==(192&V[ee]);)ee--;return ee<0||0===ee?q:ee+$[V[ee]]>q?ee:q}(B),I=B;R!==B.length&&(P.uint8array?(I=B.subarray(0,R),this.leftOver=B.subarray(R,B.length)):(I=B.slice(0,R),this.leftOver=B.slice(R,B.length))),this.push({data:z.utf8decode(I),meta:M.meta})},H.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:z.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},z.Utf8DecodeWorker=H,F.inherits(U,T),U.prototype.processChunk=function(M){this.push({data:z.utf8encode(M.data),meta:M.meta})},z.Utf8EncodeWorker=U},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(G,Pe,z){"use strict";var F=G("./support"),P=G("./base64"),S=G("./nodejsUtils"),T=G("./external");function $(k){return k}function K(k,R){for(var I=0;I>8;this.dir=!!(16&this.externalFileAttributes),0==M&&(this.dosPermissions=63&this.externalFileAttributes),3==M&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var M=F(this.extraFields[1].value);this.uncompressedSize===P.MAX_VALUE_32BITS&&(this.uncompressedSize=M.readInt(8)),this.compressedSize===P.MAX_VALUE_32BITS&&(this.compressedSize=M.readInt(8)),this.localHeaderOffset===P.MAX_VALUE_32BITS&&(this.localHeaderOffset=M.readInt(8)),this.diskNumberStart===P.MAX_VALUE_32BITS&&(this.diskNumberStart=M.readInt(4))}},readExtraFields:function(M){var B,k,R,I=M.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});M.index+4>>6:(M<65536?U[R++]=224|M>>>12:(U[R++]=240|M>>>18,U[R++]=128|M>>>12&63),U[R++]=128|M>>>6&63),U[R++]=128|63&M);return U},z.buf2binstring=function(H){return K(H,H.length)},z.binstring2buf=function(H){for(var U=new F.Buf8(H.length),M=0,B=U.length;M>10&1023,V[B++]=56320|1023&k)}return K(V,B)},z.utf8border=function(H,U){var M;for((U=U||H.length)>H.length&&(U=H.length),M=U-1;0<=M&&128==(192&H[M]);)M--;return M<0||0===M?U:M+T[H[M]]>U?M:U}},{"./common":41}],43:[function(G,Pe,z){"use strict";Pe.exports=function(F,P,S,T){for(var $=65535&F|0,K=F>>>16&65535|0,H=0;0!==S;){for(S-=H=2e3>>1:P>>>1;S[T]=P}return S}();Pe.exports=function(P,S,T,$){var K=F,H=$+T;P^=-1;for(var U=$;U>>8^K[255&(P^S[U])];return-1^P}},{}],46:[function(G,Pe,z){"use strict";var F,P=G("../utils/common"),S=G("./trees"),T=G("./adler32"),$=G("./crc32"),K=G("./messages"),H=0,M=0,B=-2,I=2,V=8,ee=286,J=30,De=19,ge=2*ee+1,Be=15,pe=3,$e=258,dt=$e+pe+1,j=42,be=113;function Ft(v,ve){return v.msg=K[ve],ve}function Ve(v){return(v<<1)-(4v.avail_out&&(he=v.avail_out),0!==he&&(P.arraySet(v.output,ve.pending_buf,ve.pending_out,he,v.next_out),v.next_out+=he,ve.pending_out+=he,v.total_out+=he,v.avail_out-=he,ve.pending-=he,0===ve.pending&&(ve.pending_out=0))}function re(v,ve){S._tr_flush_block(v,0<=v.block_start?v.block_start:-1,v.strstart-v.block_start,ve),v.block_start=v.strstart,le(v.strm)}function gt(v,ve){v.pending_buf[v.pending++]=ve}function tt(v,ve){v.pending_buf[v.pending++]=ve>>>8&255,v.pending_buf[v.pending++]=255&ve}function te(v,ve){var he,N,E=v.max_chain_length,Y=v.strstart,Me=v.prev_length,Ie=v.nice_match,ne=v.strstart>v.w_size-dt?v.strstart-(v.w_size-dt):0,je=v.window,it=v.w_mask,ze=v.prev,ut=v.strstart+$e,Jt=je[Y+Me-1],Bt=je[Y+Me];v.prev_length>=v.good_match&&(E>>=2),Ie>v.lookahead&&(Ie=v.lookahead);do{if(je[(he=ve)+Me]===Bt&&je[he+Me-1]===Jt&&je[he]===je[Y]&&je[++he]===je[Y+1]){Y+=2,he++;do{}while(je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&Yne&&0!=--E);return Me<=v.lookahead?Me:v.lookahead}function yi(v){var ve,he,N,E,Y,Me,Ie,ne,je,it,ze=v.w_size;do{if(E=v.window_size-v.lookahead-v.strstart,v.strstart>=ze+(ze-dt)){for(P.arraySet(v.window,v.window,ze,ze,0),v.match_start-=ze,v.strstart-=ze,v.block_start-=ze,ve=he=v.hash_size;N=v.head[--ve],v.head[ve]=ze<=N?N-ze:0,--he;);for(ve=he=ze;N=v.prev[--ve],v.prev[ve]=ze<=N?N-ze:0,--he;);E+=ze}if(0===v.strm.avail_in)break;if(Ie=v.window,ne=v.strstart+v.lookahead,it=void 0,(je=E)<(it=(Me=v.strm).avail_in)&&(it=je),he=0===it?0:(Me.avail_in-=it,P.arraySet(Ie,Me.input,Me.next_in,it,ne),1===Me.state.wrap?Me.adler=T(Me.adler,Ie,it,ne):2===Me.state.wrap&&(Me.adler=$(Me.adler,Ie,it,ne)),Me.next_in+=it,Me.total_in+=it,it),v.lookahead+=he,v.lookahead+v.insert>=pe)for(v.ins_h=v.window[Y=v.strstart-v.insert],v.ins_h=(v.ins_h<=pe&&(v.ins_h=(v.ins_h<=pe)if(N=S._tr_tally(v,v.strstart-v.match_start,v.match_length-pe),v.lookahead-=v.match_length,v.match_length<=v.max_lazy_match&&v.lookahead>=pe){for(v.match_length--;v.strstart++,v.ins_h=(v.ins_h<=pe&&(v.ins_h=(v.ins_h<=pe&&v.match_length<=v.prev_length){for(E=v.strstart+v.lookahead-pe,N=S._tr_tally(v,v.strstart-1-v.prev_match,v.prev_length-pe),v.lookahead-=v.prev_length-1,v.prev_length-=2;++v.strstart<=E&&(v.ins_h=(v.ins_h<v.pending_buf_size-5&&(he=v.pending_buf_size-5);;){if(v.lookahead<=1){if(yi(v),0===v.lookahead&&ve===H)return 1;if(0===v.lookahead)break}v.strstart+=v.lookahead,v.lookahead=0;var N=v.block_start+he;if((0===v.strstart||v.strstart>=N)&&(v.lookahead=v.strstart-N,v.strstart=N,re(v,!1),0===v.strm.avail_out)||v.strstart-v.block_start>=v.w_size-dt&&(re(v,!1),0===v.strm.avail_out))return 1}return v.insert=0,4===ve?(re(v,!0),0===v.strm.avail_out?3:4):(v.strstart>v.block_start&&re(v,!1),1)}),new ct(4,4,8,4,Ji),new ct(4,5,16,8,Ji),new ct(4,6,32,32,Ji),new ct(4,4,16,16,rt),new ct(8,16,32,32,rt),new ct(8,16,128,128,rt),new ct(8,32,128,256,rt),new ct(32,128,258,1024,rt),new ct(32,258,258,4096,rt)],z.deflateInit=function(v,ve){return ao(v,ve,V,15,8,0)},z.deflateInit2=ao,z.deflateReset=Kn,z.deflateResetKeep=Ge,z.deflateSetHeader=function(v,ve){return v&&v.state?2!==v.state.wrap?B:(v.state.gzhead=ve,M):B},z.deflate=function(v,ve){var he,N,E,Y;if(!v||!v.state||5>8&255),gt(N,N.gzhead.time>>16&255),gt(N,N.gzhead.time>>24&255),gt(N,9===N.level?2:2<=N.strategy||N.level<2?4:0),gt(N,255&N.gzhead.os),N.gzhead.extra&&N.gzhead.extra.length&&(gt(N,255&N.gzhead.extra.length),gt(N,N.gzhead.extra.length>>8&255)),N.gzhead.hcrc&&(v.adler=$(v.adler,N.pending_buf,N.pending,0)),N.gzindex=0,N.status=69):(gt(N,0),gt(N,0),gt(N,0),gt(N,0),gt(N,0),gt(N,9===N.level?2:2<=N.strategy||N.level<2?4:0),gt(N,3),N.status=be);else{var Me=V+(N.w_bits-8<<4)<<8;Me|=(2<=N.strategy||N.level<2?0:N.level<6?1:6===N.level?2:3)<<6,0!==N.strstart&&(Me|=32),Me+=31-Me%31,N.status=be,tt(N,Me),0!==N.strstart&&(tt(N,v.adler>>>16),tt(N,65535&v.adler)),v.adler=1}if(69===N.status)if(N.gzhead.extra){for(E=N.pending;N.gzindex<(65535&N.gzhead.extra.length)&&(N.pending!==N.pending_buf_size||(N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),le(v),E=N.pending,N.pending!==N.pending_buf_size));)gt(N,255&N.gzhead.extra[N.gzindex]),N.gzindex++;N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),N.gzindex===N.gzhead.extra.length&&(N.gzindex=0,N.status=73)}else N.status=73;if(73===N.status)if(N.gzhead.name){E=N.pending;do{if(N.pending===N.pending_buf_size&&(N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),le(v),E=N.pending,N.pending===N.pending_buf_size)){Y=1;break}Y=N.gzindexE&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),0===Y&&(N.gzindex=0,N.status=91)}else N.status=91;if(91===N.status)if(N.gzhead.comment){E=N.pending;do{if(N.pending===N.pending_buf_size&&(N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),le(v),E=N.pending,N.pending===N.pending_buf_size)){Y=1;break}Y=N.gzindexE&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),0===Y&&(N.status=103)}else N.status=103;if(103===N.status&&(N.gzhead.hcrc?(N.pending+2>N.pending_buf_size&&le(v),N.pending+2<=N.pending_buf_size&&(gt(N,255&v.adler),gt(N,v.adler>>8&255),v.adler=0,N.status=be)):N.status=be),0!==N.pending){if(le(v),0===v.avail_out)return N.last_flush=-1,M}else if(0===v.avail_in&&Ve(ve)<=Ve(he)&&4!==ve)return Ft(v,-5);if(666===N.status&&0!==v.avail_in)return Ft(v,-5);if(0!==v.avail_in||0!==N.lookahead||ve!==H&&666!==N.status){var Ie=2===N.strategy?function(ne,je){for(var it;;){if(0===ne.lookahead&&(yi(ne),0===ne.lookahead)){if(je===H)return 1;break}if(ne.match_length=0,it=S._tr_tally(ne,0,ne.window[ne.strstart]),ne.lookahead--,ne.strstart++,it&&(re(ne,!1),0===ne.strm.avail_out))return 1}return ne.insert=0,4===je?(re(ne,!0),0===ne.strm.avail_out?3:4):ne.last_lit&&(re(ne,!1),0===ne.strm.avail_out)?1:2}(N,ve):3===N.strategy?function(ne,je){for(var it,ze,ut,Jt,Bt=ne.window;;){if(ne.lookahead<=$e){if(yi(ne),ne.lookahead<=$e&&je===H)return 1;if(0===ne.lookahead)break}if(ne.match_length=0,ne.lookahead>=pe&&0ne.lookahead&&(ne.match_length=ne.lookahead)}if(ne.match_length>=pe?(it=S._tr_tally(ne,1,ne.match_length-pe),ne.lookahead-=ne.match_length,ne.strstart+=ne.match_length,ne.match_length=0):(it=S._tr_tally(ne,0,ne.window[ne.strstart]),ne.lookahead--,ne.strstart++),it&&(re(ne,!1),0===ne.strm.avail_out))return 1}return ne.insert=0,4===je?(re(ne,!0),0===ne.strm.avail_out?3:4):ne.last_lit&&(re(ne,!1),0===ne.strm.avail_out)?1:2}(N,ve):F[N.level].func(N,ve);if(3!==Ie&&4!==Ie||(N.status=666),1===Ie||3===Ie)return 0===v.avail_out&&(N.last_flush=-1),M;if(2===Ie&&(1===ve?S._tr_align(N):5!==ve&&(S._tr_stored_block(N,0,0,!1),3===ve&&(Ye(N.head),0===N.lookahead&&(N.strstart=0,N.block_start=0,N.insert=0))),le(v),0===v.avail_out))return N.last_flush=-1,M}return 4!==ve?M:N.wrap<=0?1:(2===N.wrap?(gt(N,255&v.adler),gt(N,v.adler>>8&255),gt(N,v.adler>>16&255),gt(N,v.adler>>24&255),gt(N,255&v.total_in),gt(N,v.total_in>>8&255),gt(N,v.total_in>>16&255),gt(N,v.total_in>>24&255)):(tt(N,v.adler>>>16),tt(N,65535&v.adler)),le(v),0=he.w_size&&(0===Y&&(Ye(he.head),he.strstart=0,he.block_start=0,he.insert=0),je=new P.Buf8(he.w_size),P.arraySet(je,ve,it-he.w_size,he.w_size,0),ve=je,it=he.w_size),Me=v.avail_in,Ie=v.next_in,ne=v.input,v.avail_in=it,v.next_in=0,v.input=ve,yi(he);he.lookahead>=pe;){for(N=he.strstart,E=he.lookahead-(pe-1);he.ins_h=(he.ins_h<>>=pe=Be>>>24,q-=pe,0==(pe=Be>>>16&255))ye[K++]=65535&Be;else{if(!(16&pe)){if(!(64&pe)){Be=ee[(65535&Be)+(V&(1<>>=pe,q-=pe),q<15&&(V+=x[T++]<>>=pe=Be>>>24,q-=pe,!(16&(pe=Be>>>16&255))){if(!(64&pe)){Be=J[(65535&Be)+(V&(1<>>=pe,q-=pe,(pe=K-H)>3,V&=(1<<(q-=$e<<3))-1,F.next_in=T,F.next_out=K,F.avail_in=T<$?$-T+5:5-(T-$),F.avail_out=K>>24&255)+(j>>>8&65280)+((65280&j)<<8)+((255&j)<<24)}function V(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new F.Buf16(320),this.work=new F.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function q(j){var be;return j&&j.state?(j.total_in=j.total_out=(be=j.state).total=0,j.msg="",be.wrap&&(j.adler=1&be.wrap),be.mode=B,be.last=0,be.havedict=0,be.dmax=32768,be.head=null,be.hold=0,be.bits=0,be.lencode=be.lendyn=new F.Buf32(k),be.distcode=be.distdyn=new F.Buf32(R),be.sane=1,be.back=-1,U):M}function ee(j){var be;return j&&j.state?((be=j.state).wsize=0,be.whave=0,be.wnext=0,q(j)):M}function J(j,be){var x,ye;return j&&j.state?(ye=j.state,be<0?(x=0,be=-be):(x=1+(be>>4),be<48&&(be&=15)),be&&(be<8||15=Te.wsize?(F.arraySet(Te.window,be,x-Te.wsize,Te.wsize,0),Te.wnext=0,Te.whave=Te.wsize):(ye<(Ct=Te.wsize-Te.wnext)&&(Ct=ye),F.arraySet(Te.window,be,x-ye,Ct,Te.wnext),(ye-=Ct)?(F.arraySet(Te.window,be,x-ye,ye,0),Te.wnext=ye,Te.whave=Te.wsize):(Te.wnext+=Ct,Te.wnext===Te.wsize&&(Te.wnext=0),Te.whave>>8&255,x.check=S(x.check,Y,2,0),re=le=0,x.mode=2;break}if(x.flags=0,x.head&&(x.head.done=!1),!(1&x.wrap)||(((255&le)<<8)+(le>>8))%31){j.msg="incorrect header check",x.mode=30;break}if(8!=(15&le)){j.msg="unknown compression method",x.mode=30;break}if(re-=4,v=8+(15&(le>>>=4)),0===x.wbits)x.wbits=v;else if(v>x.wbits){j.msg="invalid window size",x.mode=30;break}x.dmax=1<>8&1),512&x.flags&&(Y[0]=255&le,Y[1]=le>>>8&255,x.check=S(x.check,Y,2,0)),re=le=0,x.mode=3;case 3:for(;re<32;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>8&255,Y[2]=le>>>16&255,Y[3]=le>>>24&255,x.check=S(x.check,Y,4,0)),re=le=0,x.mode=4;case 4:for(;re<16;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>8),512&x.flags&&(Y[0]=255&le,Y[1]=le>>>8&255,x.check=S(x.check,Y,2,0)),re=le=0,x.mode=5;case 5:if(1024&x.flags){for(;re<16;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>8&255,x.check=S(x.check,Y,2,0)),re=le=0}else x.head&&(x.head.extra=null);x.mode=6;case 6:if(1024&x.flags&&(Ve<(te=x.length)&&(te=Ve),te&&(x.head&&(v=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Array(x.head.extra_len)),F.arraySet(x.head.extra,ye,Te,te,v)),512&x.flags&&(x.check=S(x.check,ye,te,Te)),Ve-=te,Te+=te,x.length-=te),x.length))break e;x.length=0,x.mode=7;case 7:if(2048&x.flags){if(0===Ve)break e;for(te=0;v=ye[Te+te++],x.head&&v&&x.length<65536&&(x.head.name+=String.fromCharCode(v)),v&&te>9&1,x.head.done=!0),j.adler=x.check=0,x.mode=12;break;case 10:for(;re<32;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=7&re,re-=7&re,x.mode=27;break}for(;re<3;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=1)){case 0:x.mode=14;break;case 1:if($e(x),x.mode=20,6!==be)break;le>>>=2,re-=2;break e;case 2:x.mode=17;break;case 3:j.msg="invalid block type",x.mode=30}le>>>=2,re-=2;break;case 14:for(le>>>=7&re,re-=7&re;re<32;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>16^65535)){j.msg="invalid stored block lengths",x.mode=30;break}if(x.length=65535&le,re=le=0,x.mode=15,6===be)break e;case 15:x.mode=16;case 16:if(te=x.length){if(Ve>>=5)),re-=5,x.ncode=4+(15&(le>>>=5)),le>>>=4,re-=4,286>>=3,re-=3}for(;x.have<19;)x.lens[Me[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,ve=$(0,x.lens,0,19,x.lencode,0,x.work,he={bits:x.lenbits}),x.lenbits=he.bits,ve){j.msg="invalid code lengths set",x.mode=30;break}x.have=0,x.mode=19;case 19:for(;x.have>>16&255,Wi=65535&E,!((rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=rt,re-=rt,x.lens[x.have++]=Wi;else{if(16===Wi){for(N=rt+2;re>>=rt,re-=rt,0===x.have){j.msg="invalid bit length repeat",x.mode=30;break}v=x.lens[x.have-1],te=3+(3&le),le>>>=2,re-=2}else if(17===Wi){for(N=rt+3;re>>=rt)),le>>>=3,re-=3}else{for(N=rt+7;re>>=rt)),le>>>=7,re-=7}if(x.have+te>x.nlen+x.ndist){j.msg="invalid bit length repeat",x.mode=30;break}for(;te--;)x.lens[x.have++]=v}}if(30===x.mode)break;if(0===x.lens[256]){j.msg="invalid code -- missing end-of-block",x.mode=30;break}if(x.lenbits=9,ve=$(1,x.lens,0,x.nlen,x.lencode,0,x.work,he={bits:x.lenbits}),x.lenbits=he.bits,ve){j.msg="invalid literal/lengths set",x.mode=30;break}if(x.distbits=6,x.distcode=x.distdyn,ve=$(2,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,he={bits:x.distbits}),x.distbits=he.bits,ve){j.msg="invalid distances set",x.mode=30;break}if(x.mode=20,6===be)break e;case 20:x.mode=21;case 21:if(6<=Ve&&258<=Ye){j.next_out=Ft,j.avail_out=Ye,j.next_in=Te,j.avail_in=Ve,x.hold=le,x.bits=re,T(j,tt),Ft=j.next_out,Ct=j.output,Ye=j.avail_out,Te=j.next_in,ye=j.input,Ve=j.avail_in,le=x.hold,re=x.bits,12===x.mode&&(x.back=-1);break}for(x.back=0;ct=(E=x.lencode[le&(1<>>16&255,Wi=65535&E,!((rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>Ge)])>>>16&255,Wi=65535&E,!(Ge+(rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=Ge,re-=Ge,x.back+=Ge}if(le>>>=rt,re-=rt,x.back+=rt,x.length=Wi,0===ct){x.mode=26;break}if(32&ct){x.back=-1,x.mode=12;break}if(64&ct){j.msg="invalid literal/length code",x.mode=30;break}x.extra=15&ct,x.mode=22;case 22:if(x.extra){for(N=x.extra;re>>=x.extra,re-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=23;case 23:for(;ct=(E=x.distcode[le&(1<>>16&255,Wi=65535&E,!((rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>Ge)])>>>16&255,Wi=65535&E,!(Ge+(rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=Ge,re-=Ge,x.back+=Ge}if(le>>>=rt,re-=rt,x.back+=rt,64&ct){j.msg="invalid distance code",x.mode=30;break}x.offset=Wi,x.extra=15&ct,x.mode=24;case 24:if(x.extra){for(N=x.extra;re>>=x.extra,re-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){j.msg="invalid distance too far back",x.mode=30;break}x.mode=25;case 25:if(0===Ye)break e;if(x.offset>(te=tt-Ye)){if((te=x.offset-te)>x.whave&&x.sane){j.msg="invalid distance too far back",x.mode=30;break}yi=te>x.wnext?x.wsize-(te-=x.wnext):x.wnext-te,te>x.length&&(te=x.length),Ji=x.window}else Ji=Ct,yi=Ft-x.offset,te=x.length;for(Yege?(pe=yi[Ji+R[be]],re[gt+R[be]]):(pe=96,0),V=1<>Ft)+(q-=V)]=Be<<24|pe<<16|$e|0,0!==q;);for(V=1<>=1;if(0!==V?(le&=V-1,le+=V):le=0,be++,0==--tt[j]){if(j===ye)break;j=H[U+R[be]]}if(Ct>>7)]}function gt(E,Y){E.pending_buf[E.pending++]=255&Y,E.pending_buf[E.pending++]=Y>>>8&255}function tt(E,Y,Me){E.bi_valid>I-Me?(E.bi_buf|=Y<>I-E.bi_valid,E.bi_valid+=Me-I):(E.bi_buf|=Y<>>=1,Me<<=1,0<--Y;);return Me>>>1}function Ji(E,Y,Me){var Ie,ne,je=new Array(R+1),it=0;for(Ie=1;Ie<=R;Ie++)je[Ie]=it=it+Me[Ie-1]<<1;for(ne=0;ne<=Y;ne++){var ze=E[2*ne+1];0!==ze&&(E[2*ne]=yi(je[ze]++,ze))}}function rt(E){var Y;for(Y=0;Y>1;1<=Me;Me--)Ge(E,je,Me);for(ne=ut;Me=E.heap[1],E.heap[1]=E.heap[E.heap_len--],Ge(E,je,1),Ie=E.heap[1],E.heap[--E.heap_max]=Me,E.heap[--E.heap_max]=Ie,je[2*ne]=je[2*Me]+je[2*Ie],E.depth[ne]=(E.depth[Me]>=E.depth[Ie]?E.depth[Me]:E.depth[Ie])+1,je[2*Me+1]=je[2*Ie+1]=ne,E.heap[1]=ne++,Ge(E,je,1),2<=E.heap_len;);E.heap[--E.heap_max]=E.heap[1],function(Bt,Zn){var Qa,So,Yn,xi,Ls,Bs,Ho=Zn.dyn_tree,ku=Zn.max_code,yf=Zn.stat_desc.static_tree,xf=Zn.stat_desc.has_stree,wf=Zn.stat_desc.extra_bits,Su=Zn.stat_desc.extra_base,Xa=Zn.stat_desc.max_length,Vs=0;for(xi=0;xi<=R;xi++)Bt.bl_count[xi]=0;for(Ho[2*Bt.heap[Bt.heap_max]+1]=0,Qa=Bt.heap_max+1;Qa<573;Qa++)Xa<(xi=Ho[2*Ho[2*(So=Bt.heap[Qa])+1]+1]+1)&&(xi=Xa,Vs++),Ho[2*So+1]=xi,ku>=7;ne>>=1)if(1&Jt&&0!==ze.dyn_ltree[2*ut])return 0;if(0!==ze.dyn_ltree[18]||0!==ze.dyn_ltree[20]||0!==ze.dyn_ltree[26])return 1;for(ut=32;ut>>3)<=(ne=E.opt_len+3+7>>>3)&&(ne=je)):ne=je=Me+5,Me+4<=ne&&-1!==Y?N(E,Y,Me,Ie):4===E.strategy||je===ne?(tt(E,2+(Ie?1:0),3),Kn(E,dt,j)):(tt(E,4+(Ie?1:0),3),function(ze,ut,Jt,Bt){var Zn;for(tt(ze,ut-257,5),tt(ze,Jt-1,5),tt(ze,Bt-4,4),Zn=0;Zn>>8&255,E.pending_buf[E.d_buf+2*E.last_lit+1]=255&Y,E.pending_buf[E.l_buf+E.last_lit]=255&Me,E.last_lit++,0===Y?E.dyn_ltree[2*Me]++:(E.matches++,Y--,E.dyn_ltree[2*(x[Me]+H+1)]++,E.dyn_dtree[2*re(Y)]++),E.last_lit===E.lit_bufsize-1},z._tr_align=function(E){var Y;tt(E,2,3),te(E,256,dt),16===(Y=E).bi_valid?(gt(Y,Y.bi_buf),Y.bi_buf=0,Y.bi_valid=0):8<=Y.bi_valid&&(Y.pending_buf[Y.pending++]=255&Y.bi_buf,Y.bi_buf>>=8,Y.bi_valid-=8)}},{"../utils/common":41}],53:[function(G,Pe,z){"use strict";Pe.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(G,Pe,z){(function(F){!function(P,S){"use strict";if(!P.setImmediate){var T,$,K,H,U=1,M={},B=!1,k=P.document,R=Object.getPrototypeOf&&Object.getPrototypeOf(P);R=R&&R.setTimeout?R:P,T="[object process]"==={}.toString.call(P.process)?function(ee){process.nextTick(function(){V(ee)})}:function(){if(P.postMessage&&!P.importScripts){var ee=!0,J=P.onmessage;return P.onmessage=function(){ee=!1},P.postMessage("","*"),P.onmessage=J,ee}}()?(H="setImmediate$"+Math.random()+"$",P.addEventListener?P.addEventListener("message",q,!1):P.attachEvent("onmessage",q),function(ee){P.postMessage(H+ee,"*")}):P.MessageChannel?((K=new MessageChannel).port1.onmessage=function(ee){V(ee.data)},function(ee){K.port2.postMessage(ee)}):k&&"onreadystatechange"in k.createElement("script")?($=k.documentElement,function(ee){var J=k.createElement("script");J.onreadystatechange=function(){V(ee),J.onreadystatechange=null,$.removeChild(J),J=null},$.appendChild(J)}):function(ee){setTimeout(V,0,ee)},R.setImmediate=function(ee){"function"!=typeof ee&&(ee=new Function(""+ee));for(var J=new Array(arguments.length-1),De=0;De"u"?void 0===F?this:F:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)}},bl=>{bl(bl.s=525)}]); \ No newline at end of file diff --git a/ui/dist/ui/main.8d0db6096a755feb.js b/ui/dist/ui/main.8d0db6096a755feb.js new file mode 100644 index 000000000..c342a25ed --- /dev/null +++ b/ui/dist/ui/main.8d0db6096a755feb.js @@ -0,0 +1 @@ +(self.webpackChunkui=self.webpackChunkui||[]).push([[179],{525:(vl,G,Pe)=>{"use strict";function z(t){return"function"==typeof t}function F(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const P=F(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function S(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class T{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;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:i}=this;if(z(i))try{i()}catch(r){n=r instanceof P?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{H(r)}catch(a){n=n??[],a instanceof P?n=[...n,...a.errors]:n.push(a)}}if(n)throw new P(n)}}add(n){var e;if(n&&n!==this)if(this.closed)H(n);else{if(n instanceof T){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&S(e,n)}remove(n){const{_finalizers:e}=this;e&&S(e,n),n instanceof T&&n._removeParent(this)}}T.EMPTY=(()=>{const t=new T;return t.closed=!0,t})();const $=T.EMPTY;function K(t){return t instanceof T||t&&"closed"in t&&z(t.remove)&&z(t.add)&&z(t.unsubscribe)}function H(t){z(t)?t():t.unsubscribe()}const U={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},M={setTimeout(t,n,...e){const{delegate:i}=M;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=M;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function B(t){M.setTimeout(()=>{const{onUnhandledError:n}=U;if(!n)throw t;n(t)})}function k(){}const R=q("C",void 0,void 0);function q(t,n,e){return{kind:t,value:n,error:e}}let ee=null;function J(t){if(U.useDeprecatedSynchronousErrorHandling){const n=!ee;if(n&&(ee={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=ee;if(ee=null,e)throw i}}else t()}class ge extends T{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,K(n)&&n.add(this)):this.destination=ye}static create(n,e,i){return new dt(n,e,i)}next(n){this.isStopped?x(function V(t){return q("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?x(function I(t){return q("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?x(R,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Be=Function.prototype.bind;function pe(t,n){return Be.call(t,n)}class $e{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){j(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){j(i)}else j(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){j(e)}}}class dt extends ge{constructor(n,e,i){let o;if(super(),z(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&U.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&pe(n.next,r),error:n.error&&pe(n.error,r),complete:n.complete&&pe(n.complete,r)}):o=n}this.destination=new $e(o)}}function j(t){U.useDeprecatedSynchronousErrorHandling?function De(t){U.useDeprecatedSynchronousErrorHandling&&ee&&(ee.errorThrown=!0,ee.error=t)}(t):B(t)}function x(t,n){const{onStoppedNotification:e}=U;e&&M.setTimeout(()=>e(t,n))}const ye={closed:!0,next:k,error:function be(t){throw t},complete:k},Ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function Te(t){return t}function Ve(t){return 0===t.length?Te:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let Ye=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function gt(t){return t&&t instanceof ge||function re(t){return t&&z(t.next)&&z(t.error)&&z(t.complete)}(t)&&K(t)}(e)?e:new dt(e,i,o);return J(()=>{const{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=le(i))((o,r)=>{const a=new dt({next:s=>{try{e(s)}catch(c){r(c),a.unsubscribe()}},error:r,complete:o});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Ct](){return this}pipe(...e){return Ve(e)(this)}toPromise(e){return new(e=le(e))((i,o)=>{let r;this.subscribe(a=>r=a,a=>o(a),()=>i(r))})}}return t.create=n=>new t(n),t})();function le(t){var n;return null!==(n=t??U.Promise)&&void 0!==n?n:Promise}const tt=F(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let te=(()=>{class t extends Ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new yi(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new tt}next(e){J(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){J(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){J(()=>{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:i,isStopped:o,observers:r}=this;return i||o?$:(this.currentObservers=null,r.push(e),new T(()=>{this.currentObservers=null,S(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new Ye;return e.source=this,e}}return t.create=(n,e)=>new yi(n,e),t})();class yi extends te{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:$}}function Ji(t){return z(t?.lift)}function rt(t){return n=>{if(Ji(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ct(t,n,e,i,o){return new Wi(t,n,e,i,o)}class Wi extends ge{constructor(n,e,i,o,r,a){super(n),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){n.error(c)}}:super._next,this._error=o?function(s){try{o(s)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Ge(t,n){return rt((e,i)=>{let o=0;e.subscribe(ct(i,r=>{i.next(t.call(n,r,o++))}))})}function Yn(t){return this instanceof Yn?(this.v=t,this):new Yn(t)}function Bs(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Jt(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(a){return new Promise(function(s,c){!function o(r,a,s,c){Promise.resolve(c).then(function(u){r({value:u,done:s})},a)}(s,c,(a=t[r](a)).done,a.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Cf=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function N0(t){return z(t?.then)}function L0(t){return z(t[Ct])}function B0(t){return Symbol.asyncIterator&&z(t?.[Symbol.asyncIterator])}function V0(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const j0=function ZA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function z0(t){return z(t?.[j0])}function H0(t){return function xi(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(y){i[y]&&(o[y]=function(C){return new Promise(function(A,O){r.push([y,C,A,O])>1||s(y,C)})})}function s(y,C){try{!function c(y){y.value instanceof Yn?Promise.resolve(y.value.v).then(u,p):b(r[0][2],y)}(i[y](C))}catch(A){b(r[0][3],A)}}function u(y){s("next",y)}function p(y){s("throw",y)}function b(y,C){y(C),r.shift(),r.length&&s(r[0][0],r[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield Yn(e.read());if(o)return yield Yn(void 0);yield yield Yn(i)}}finally{e.releaseLock()}})}function U0(t){return z(t?.getReader)}function wn(t){if(t instanceof Ye)return t;if(null!=t){if(L0(t))return function YA(t){return new Ye(n=>{const e=t[Ct]();if(z(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Cf(t))return function QA(t){return new Ye(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,B)})}(t);if(B0(t))return $0(t);if(z0(t))return function JA(t){return new Ye(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(U0(t))return function eP(t){return $0(H0(t))}(t)}throw V0(t)}function $0(t){return new Ye(n=>{(function tP(t,n){var e,i,o,r;return function je(t,n,e,i){return new(e||(e=Promise))(function(r,a){function s(p){try{u(i.next(p))}catch(b){a(b)}}function c(p){try{u(i.throw(p))}catch(b){a(b)}}function u(p){p.done?r(p.value):function o(r){return r instanceof e?r:new e(function(a){a(r)})}(p.value).then(s,c)}u((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Bs(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Mr(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function en(t,n,e=1/0){return z(n)?en((i,o)=>Ge((r,a)=>n(i,r,o,a))(wn(t(i,o))),e):("number"==typeof n&&(e=n),rt((i,o)=>function iP(t,n,e,i,o,r,a,s){const c=[];let u=0,p=0,b=!1;const y=()=>{b&&!c.length&&!u&&n.complete()},C=O=>u{r&&n.next(O),u++;let W=!1;wn(e(O,p++)).subscribe(ct(n,ce=>{o?.(ce),r?C(ce):n.next(ce)},()=>{W=!0},void 0,()=>{if(W)try{for(u--;c.length&&uA(ce)):A(ce)}y()}catch(ce){n.error(ce)}}))};return t.subscribe(ct(n,C,()=>{b=!0,y()})),()=>{s?.()}}(i,o,t,e)))}function js(t=1/0){return en(Te,t)}const so=new Ye(t=>t.complete());function G0(t){return t&&z(t.schedule)}function Df(t){return t[t.length-1]}function W0(t){return z(Df(t))?t.pop():void 0}function yl(t){return G0(Df(t))?t.pop():void 0}function q0(t,n=0){return rt((e,i)=>{e.subscribe(ct(i,o=>Mr(i,t,()=>i.next(o),n),()=>Mr(i,t,()=>i.complete(),n),o=>Mr(i,t,()=>i.error(o),n)))})}function K0(t,n=0){return rt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Z0(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ye(e=>{Mr(e,n,()=>{const i=t[Symbol.asyncIterator]();Mr(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function Bi(t,n){return n?function dP(t,n){if(null!=t){if(L0(t))return function rP(t,n){return wn(t).pipe(K0(n),q0(n))}(t,n);if(Cf(t))return function sP(t,n){return new Ye(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(N0(t))return function aP(t,n){return wn(t).pipe(K0(n),q0(n))}(t,n);if(B0(t))return Z0(t,n);if(z0(t))return function cP(t,n){return new Ye(e=>{let i;return Mr(e,n,()=>{i=t[j0](),Mr(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(a){return void e.error(a)}r?e.complete():e.next(o)},0,!0)}),()=>z(i?.return)&&i.return()})}(t,n);if(U0(t))return function lP(t,n){return Z0(H0(t),n)}(t,n)}throw V0(t)}(t,n):wn(t)}function wi(...t){const n=yl(t),e=function oP(t,n){return"number"==typeof Df(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?wn(i[0]):js(e)(Bi(i,n)):so}class bt extends te{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function qe(...t){return Bi(t,yl(t))}function Tu(t={}){const{connector:n=(()=>new te),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let a,s,c,u=0,p=!1,b=!1;const y=()=>{s?.unsubscribe(),s=void 0},C=()=>{y(),a=c=void 0,p=b=!1},A=()=>{const O=a;C(),O?.unsubscribe()};return rt((O,W)=>{u++,!b&&!p&&y();const ce=c=c??n();W.add(()=>{u--,0===u&&!b&&!p&&(s=kf(A,o))}),ce.subscribe(W),!a&&u>0&&(a=new dt({next:ie=>ce.next(ie),error:ie=>{b=!0,y(),s=kf(C,e,ie),ce.error(ie)},complete:()=>{p=!0,y(),s=kf(C,i),ce.complete()}}),wn(O).subscribe(a))})(r)}}function kf(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new dt({next:()=>{i.unsubscribe(),t()}});return wn(n(...e)).subscribe(i)}function qi(t,n){return rt((e,i)=>{let o=null,r=0,a=!1;const s=()=>a&&!o&&i.complete();e.subscribe(ct(i,c=>{o?.unsubscribe();let u=0;const p=r++;wn(t(c,p)).subscribe(o=ct(i,b=>i.next(n?n(c,b,p,u++):b),()=>{o=null,s()}))},()=>{a=!0,s()}))})}function zs(t,n=Te){return t=t??uP,rt((e,i)=>{let o,r=!0;e.subscribe(ct(i,a=>{const s=n(a);(r||!t(o,s))&&(r=!1,o=s,i.next(a))}))})}function uP(t,n){return t===n}function ri(t){for(let n in t)if(t[n]===ri)return n;throw Error("Could not find renamed property on target object.")}function Iu(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function tn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(tn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Sf(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const hP=ri({__forward_ref__:ri});function Ht(t){return t.__forward_ref__=Ht,t.toString=function(){return tn(this())},t}function Dt(t){return Mf(t)?t():t}function Mf(t){return"function"==typeof t&&t.hasOwnProperty(hP)&&t.__forward_ref__===Ht}function Tf(t){return t&&!!t.\u0275providers}const Y0="https://g.co/ng/security#xss";class de extends Error{constructor(n,e){super(function Eu(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function St(t){return"string"==typeof t?t:null==t?"":String(t)}function If(t,n){throw new de(-201,!1)}function Mo(t,n){null==t&&function vt(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function ke(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function st(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ou(t){return Q0(t,Pu)||Q0(t,X0)}function Q0(t,n){return t.hasOwnProperty(n)?t[n]:null}function Au(t){return t&&(t.hasOwnProperty(Ef)||t.hasOwnProperty(yP))?t[Ef]:null}const Pu=ri({\u0275prov:ri}),Ef=ri({\u0275inj:ri}),X0=ri({ngInjectableDef:ri}),yP=ri({ngInjectorDef:ri});var Vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Vt||{});let Of;function Qn(t){const n=Of;return Of=t,n}function ex(t,n,e){const i=Ou(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Vt.Optional?null:void 0!==n?n:void If(tn(t))}const mi=globalThis;class oe{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ke({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const xl={},Nf="__NG_DI_FLAG__",Ru="ngTempTokenPath",CP=/\n/gm,ix="__source";let Hs;function da(t){const n=Hs;return Hs=t,n}function SP(t,n=Vt.Default){if(void 0===Hs)throw new de(-203,!1);return null===Hs?ex(t,void 0,n):Hs.get(t,n&Vt.Optional?null:void 0,n)}function Z(t,n=Vt.Default){return(function J0(){return Of}()||SP)(Dt(t),n)}function Fe(t,n=Vt.Default){return Z(t,Fu(n))}function Fu(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Lf(t){const n=[];for(let e=0;en){a=r-1;break}}}for(;rr?"":o[b+1].toLowerCase();const C=8&i?y:null;if(C&&-1!==ax(C,u,0)||2&i&&u!==y){if(Uo(i))return!1;a=!0}}}}else{if(!a&&!Uo(i)&&!Uo(c))return!1;if(a&&Uo(c))continue;a=!1,i=c|1&i}}return Uo(i)||a}function Uo(t){return 0==(1&t)}function PP(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o-1)for(e++;e0?'="'+s+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!Uo(a)&&(n+=mx(r,o),o=""),i=a,r=r||!Uo(i);e++}return""!==o&&(n+=mx(r,o)),n}function Ee(t){return Tr(()=>{const n=fx(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Nu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||To.Emulated,styles:t.styles||qt,_:null,schemas:t.schemas||null,tView:null,id:""};gx(e);const i=t.dependencies;return e.directiveDefs=Bu(i,!1),e.pipeDefs=Bu(i,!0),e.id=function WP(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(e),e})}function HP(t){return $t(t)||hn(t)}function UP(t){return null!==t}function lt(t){return Tr(()=>({type:t.type,bootstrap:t.bootstrap||qt,declarations:t.declarations||qt,imports:t.imports||qt,exports:t.exports||qt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function px(t,n){if(null==t)return nr;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,n&&(n[o]=r)}return e}function X(t){return Tr(()=>{const n=fx(t);return gx(n),n})}function Xn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function $t(t){return t[Lu]||null}function hn(t){return t[Bf]||null}function Fn(t){return t[Vf]||null}function lo(t,n){const e=t[ox]||null;if(!e&&!0===n)throw new Error(`Type ${tn(t)} does not have '\u0275mod' property.`);return e}function fx(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||nr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||qt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:px(t.inputs,n),outputs:px(t.outputs)}}function gx(t){t.features?.forEach(n=>n(t))}function Bu(t,n){if(!t)return null;const e=n?Fn:HP;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(UP)}const Pi=0,Qe=1,Ot=2,Ci=3,$o=4,kl=5,Cn=6,$s=7,Vi=8,ua=9,Gs=10,Mt=11,Sl=12,_x=13,Ws=14,ji=15,Ml=16,qs=17,or=18,Tl=19,bx=20,ha=21,Er=22,Il=23,El=24,jt=25,zf=1,vx=2,rr=7,Ks=9,mn=11;function Jn(t){return Array.isArray(t)&&"object"==typeof t[zf]}function Nn(t){return Array.isArray(t)&&!0===t[zf]}function Hf(t){return 0!=(4&t.flags)}function es(t){return t.componentOffset>-1}function ju(t){return 1==(1&t.flags)}function Go(t){return!!t.template}function Uf(t){return 0!=(512&t[Ot])}function ts(t,n){return t.hasOwnProperty(Ir)?t[Ir]:null}let pn=null,zu=!1;function Io(t){const n=pn;return pn=t,n}const wx={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Dx(t){if(!Al(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Mx(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function Sx(t){t.dirty=!0,function kx(t){if(void 0===t.liveConsumerNode)return;const n=zu;zu=!0;try{for(const e of t.liveConsumerNode)e.dirty||Sx(e)}finally{zu=n}}(t),t.consumerMarkedDirty?.(t)}function Gf(t){return t&&(t.nextProducerIndex=0),Io(t)}function Wf(t,n){if(Io(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(Al(t))for(let e=t.nextProducerIndex;et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Mx(t){Zs(t);for(let n=0;n0}function Zs(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let Ox=null;function Rx(t){const n=Io(null);try{return t()}finally{Io(n)}}const Fx=()=>{},rR=(()=>({...wx,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:Fx}))();class aR{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ai(){return Nx}function Nx(t){return t.type.prototype.ngOnChanges&&(t.setInput=cR),sR}function sR(){const t=Bx(this),n=t?.current;if(n){const e=t.previous;if(e===nr)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function cR(t,n,e,i){const o=this.declaredInputs[e],r=Bx(t)||function lR(t,n){return t[Lx]=n}(t,{previous:nr,current:null}),a=r.current||(r.current={}),s=r.previous,c=s[o];a[o]=new aR(c&&c.currentValue,n,s===nr),t[i]=n}ai.ngInherit=!0;const Lx="__ngSimpleChanges__";function Bx(t){return t[Lx]||null}const ar=function(t,n,e){},Vx="svg";function pi(t){for(;Array.isArray(t);)t=t[Pi];return t}function Uu(t,n){return pi(n[t])}function eo(t,n){return pi(n[t.index])}function zx(t,n){return t.data[n]}function Ys(t,n){return t[n]}function uo(t,n){const e=n[t];return Jn(e)?e:e[Pi]}function pa(t,n){return null==n?null:t[n]}function Hx(t){t[qs]=0}function fR(t){1024&t[Ot]||(t[Ot]|=1024,$x(t,1))}function Ux(t){1024&t[Ot]&&(t[Ot]&=-1025,$x(t,-1))}function $x(t,n){let e=t[Ci];if(null===e)return;e[kl]+=n;let i=e;for(e=e[Ci];null!==e&&(1===n&&1===i[kl]||-1===n&&0===i[kl]);)e[kl]+=n,i=e,e=e[Ci]}const yt={lFrame:tw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function qx(){return yt.bindingsEnabled}function Qs(){return null!==yt.skipHydrationRootTNode}function Ce(){return yt.lFrame.lView}function Gt(){return yt.lFrame.tView}function ae(t){return yt.lFrame.contextLView=t,t[Vi]}function se(t){return yt.lFrame.contextLView=null,t}function fn(){let t=Kx();for(;null!==t&&64===t.type;)t=t.parent;return t}function Kx(){return yt.lFrame.currentTNode}function sr(t,n){const e=yt.lFrame;e.currentTNode=t,e.isParent=n}function Qf(){return yt.lFrame.isParent}function Xf(){yt.lFrame.isParent=!1}function Ln(){const t=yt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Or(){return yt.lFrame.bindingIndex}function Xs(){return yt.lFrame.bindingIndex++}function Ar(t){const n=yt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function MR(t,n){const e=yt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Jf(n)}function Jf(t){yt.lFrame.currentDirectiveIndex=t}function eg(t){const n=yt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Xx(){return yt.lFrame.currentQueryIndex}function tg(t){yt.lFrame.currentQueryIndex=t}function IR(t){const n=t[Qe];return 2===n.type?n.declTNode:1===n.type?t[Cn]:null}function Jx(t,n,e){if(e&Vt.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&Vt.Host||(o=IR(r),null===o||(r=r[Ws],10&o.type))););if(null===o)return!1;n=o,t=r}const i=yt.lFrame=ew();return i.currentTNode=n,i.lView=t,!0}function ig(t){const n=ew(),e=t[Qe];yt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function ew(){const t=yt.lFrame,n=null===t?null:t.child;return null===n?tw(t):n}function tw(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function iw(){const t=yt.lFrame;return yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const nw=iw;function ng(){const t=iw();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Bn(){return yt.lFrame.selectedIndex}function is(t){yt.lFrame.selectedIndex=t}function Ei(){const t=yt.lFrame;return zx(t.tView,t.selectedIndex)}function di(){yt.lFrame.currentNamespace=Vx}function Pr(){!function PR(){yt.lFrame.currentNamespace=null}()}let rw=!0;function $u(){return rw}function fa(t){rw=t}function Gu(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[c]<0&&(t[qs]+=65536),(s>13>16&&(3&t[Ot])===n&&(t[Ot]+=8192,sw(s,r)):sw(s,r)}const Js=-1;class Rl{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function ag(t){return t!==Js}function Fl(t){return 32767&t}function Nl(t,n){let e=function VR(t){return t>>16}(t),i=n;for(;e>0;)i=i[Ws],e--;return i}let sg=!0;function Ku(t){const n=sg;return sg=t,n}const cw=255,lw=5;let jR=0;const cr={};function Zu(t,n){const e=dw(t,n);if(-1!==e)return e;const i=n[Qe];i.firstCreatePass&&(t.injectorIndex=n.length,cg(i.data,t),cg(n,null),cg(i.blueprint,null));const o=Yu(t,n),r=t.injectorIndex;if(ag(o)){const a=Fl(o),s=Nl(o,n),c=s[Qe].data;for(let u=0;u<8;u++)n[r+u]=s[a+u]|c[a+u]}return n[r+8]=o,r}function cg(t,n){t.push(0,0,0,0,0,0,0,0,n)}function dw(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Yu(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=_w(o),null===i)return Js;if(e++,o=o[Ws],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Js}function lg(t,n,e){!function zR(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Cl)&&(i=e[Cl]),null==i&&(i=e[Cl]=jR++);const o=i&cw;n.data[t+(o>>lw)]|=1<=0?n&cw:WR:n}(e);if("function"==typeof r){if(!Jx(n,t,i))return i&Vt.Host?uw(o,0,i):hw(n,e,i,o);try{let a;if(a=r(i),null!=a||i&Vt.Optional)return a;If()}finally{nw()}}else if("number"==typeof r){let a=null,s=dw(t,n),c=Js,u=i&Vt.Host?n[ji][Cn]:null;for((-1===s||i&Vt.SkipSelf)&&(c=-1===s?Yu(t,n):n[s+8],c!==Js&&gw(i,!1)?(a=n[Qe],s=Fl(c),n=Nl(c,n)):s=-1);-1!==s;){const p=n[Qe];if(fw(r,s,p.data)){const b=UR(s,n,e,a,i,u);if(b!==cr)return b}c=n[s+8],c!==Js&&gw(i,n[Qe].data[s+8]===u)&&fw(r,s,n)?(a=p,s=Fl(c),n=Nl(c,n)):s=-1}}return o}function UR(t,n,e,i,o,r){const a=n[Qe],s=a.data[t+8],p=Qu(s,a,e,null==i?es(s)&&sg:i!=a&&0!=(3&s.type),o&Vt.Host&&r===s);return null!==p?ns(n,a,p,s):cr}function Qu(t,n,e,i,o){const r=t.providerIndexes,a=n.data,s=1048575&r,c=t.directiveStart,p=r>>20,y=o?s+p:t.directiveEnd;for(let C=i?s:s+p;C=c&&A.type===e)return C}if(o){const C=a[c];if(C&&Go(C)&&C.type===e)return c}return null}function ns(t,n,e,i){let o=t[e];const r=n.data;if(function NR(t){return t instanceof Rl}(o)){const a=o;a.resolving&&function mP(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new de(-200,`Circular dependency in DI detected for ${t}${e}`)}(function ei(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():St(t)}(r[e]));const s=Ku(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Qn(a.injectImpl):null;Jx(t,i,Vt.Default);try{o=t[e]=a.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function RR(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const a=Nx(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}(e,r[e],n)}finally{null!==u&&Qn(u),Ku(s),a.resolving=!1,nw()}}return o}function fw(t,n,e){return!!(e[n+(t>>lw)]&1<{const n=t.prototype.constructor,e=n[Ir]||dg(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[Ir]||dg(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function dg(t){return Mf(t)?()=>{const n=dg(Dt(t));return n&&n()}:ts(t)}function _w(t){const n=t[Qe],e=n.type;return 2===e?n.declTNode:1===e?t[Cn]:null}function jn(t){return function HR(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{const i=function ug(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const a=new o(...r);return s.annotation=a,s;function s(c,u,p){const b=c.hasOwnProperty(tc)?c[tc]:Object.defineProperty(c,tc,{value:[]})[tc];for(;b.length<=p;)b.push(null);return(b[p]=b[p]||[]).push(a),c}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function rc(t,n){t.forEach(e=>Array.isArray(e)?rc(e,n):n(e))}function vw(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Xu(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Vl(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function eF(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function hg(t,n){const e=ac(t,n);if(e>=0)return t[1|e]}function ac(t,n){return function yw(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),a=t[r<n?o=r:i=r+1}return~(o<|^->||--!>|)/g,CF="\u200b$1\u200b";const _g=new Map;let DF=0;const vg="__ngContext__";function Dn(t,n){Jn(n)?(t[vg]=n[Tl],function SF(t){_g.set(t[Tl],t)}(n)):t[vg]=n}let yg;function xg(t,n){return yg(t,n)}function Ul(t){const n=t[Ci];return Nn(n)?n[Ci]:n}function jw(t){return Hw(t[Sl])}function zw(t){return Hw(t[$o])}function Hw(t){for(;null!==t&&!Nn(t);)t=t[$o];return t}function lc(t,n,e,i,o){if(null!=i){let r,a=!1;Nn(i)?r=i:Jn(i)&&(a=!0,i=i[Pi]);const s=pi(i);0===t&&null!==e?null==o?Ww(n,e,s):rs(n,e,s,o||null,!0):1===t&&null!==e?rs(n,e,s,o||null,!0):2===t?function uh(t,n,e){const i=lh(t,n);i&&function GF(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,s,a):3===t&&n.destroyNode(s),null!=r&&function KF(t,n,e,i,o){const r=e[rr];r!==pi(e)&&lc(n,t,i,r,o);for(let s=mn;sn.replace(wF,CF))}(n))}function sh(t,n,e){return t.createElement(n,e)}function $w(t,n){const e=t[Ks],i=e.indexOf(n);Ux(n),e.splice(i,1)}function ch(t,n){if(t.length<=mn)return;const e=mn+n,i=t[e];if(i){const o=i[Ml];null!==o&&o!==t&&$w(o,i),n>0&&(t[e-1][$o]=i[$o]);const r=Xu(t,mn+n);!function LF(t,n){Gl(t,n,n[Mt],2,null,null),n[Pi]=null,n[Cn]=null}(i[Qe],i);const a=r[or];null!==a&&a.detachView(r[Qe]),i[Ci]=null,i[$o]=null,i[Ot]&=-129}return i}function Cg(t,n){if(!(256&n[Ot])){const e=n[Mt];n[Il]&&Tx(n[Il]),n[El]&&Tx(n[El]),e.destroyNode&&Gl(t,n,e,3,null,null),function jF(t){let n=t[Sl];if(!n)return Dg(t[Qe],t);for(;n;){let e=null;if(Jn(n))e=n[Sl];else{const i=n[mn];i&&(e=i)}if(!e){for(;n&&!n[$o]&&n!==t;)Jn(n)&&Dg(n[Qe],n),n=n[Ci];null===n&&(n=t),Jn(n)&&Dg(n[Qe],n),e=n&&n[$o]}n=e}}(n)}}function Dg(t,n){if(!(256&n[Ot])){n[Ot]&=-129,n[Ot]|=256,function $F(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[a]():i[-a].unsubscribe(),r+=2}else e[r].call(i[e[r+1]]);null!==i&&(n[$s]=null);const o=n[ha];if(null!==o){n[ha]=null;for(let r=0;r-1){const{encapsulation:r}=t.data[i.directiveStart+o];if(r===To.None||r===To.Emulated)return null}return eo(i,e)}}(t,n.parent,e)}function rs(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Ww(t,n,e){t.appendChild(n,e)}function qw(t,n,e,i,o){null!==i?rs(t,n,e,i,o):Ww(t,n,e)}function lh(t,n){return t.parentNode(n)}function Kw(t,n,e){return Yw(t,n,e)}let Sg,hh,Eg,mh,Yw=function Zw(t,n,e){return 40&t.type?eo(t,e):null};function dh(t,n,e,i){const o=kg(t,i,n),r=n[Mt],s=Kw(i.parent||n[Cn],i,n);if(null!=o)if(Array.isArray(e))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return hh}()?.createHTML(t)||t}function uc(){if(void 0!==Eg)return Eg;if(typeof document<"u")return document;throw new de(210,!1)}function Og(){if(void 0===mh&&(mh=null,mi.trustedTypes))try{mh=mi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return mh}function nC(t){return Og()?.createHTML(t)||t}function rC(t){return Og()?.createScriptURL(t)||t}class as{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Y0})`}}class tN extends as{getTypeName(){return"HTML"}}class iN extends as{getTypeName(){return"Style"}}class nN extends as{getTypeName(){return"Script"}}class oN extends as{getTypeName(){return"URL"}}class rN extends as{getTypeName(){return"ResourceURL"}}function mo(t){return t instanceof as?t.changingThisBreaksApplicationSecurity:t}function lr(t,n){const e=function aN(t){return t instanceof as&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Y0})`)}return e===n}class hN{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(dc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class mN{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=dc(n),e}}const fN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ph(t){return(t=String(t)).match(fN)?t:"unsafe:"+t}function Rr(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function Wl(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const sC=Rr("area,br,col,hr,img,wbr"),cC=Rr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lC=Rr("rp,rt"),Ag=Wl(sC,Wl(cC,Rr("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")),Wl(lC,Rr("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")),Wl(lC,cC)),Pg=Rr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dC=Wl(Pg,Rr("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"),Rr("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")),gN=Rr("script,style,template");class _N{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!Ag.hasOwnProperty(e))return this.sanitizedSomething=!0,!gN.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();Ag.hasOwnProperty(e)&&!sC.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(uC(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const bN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vN=/([^\#-~ |!])/g;function uC(t){return t.replace(/&/g,"&").replace(bN,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(vN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let fh;function hC(t,n){let e=null;try{fh=fh||function aC(t){const n=new mN(t);return function pN(){try{return!!(new window.DOMParser).parseFromString(dc(""),"text/html")}catch{return!1}}()?new hN(n):n}(t);let i=n?String(n):"";e=fh.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=fh.getInertBodyElement(i)}while(i!==r);return dc((new _N).sanitizeChildren(Rg(e)||e))}finally{if(e){const i=Rg(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Rg(t){return"content"in t&&function yN(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(gn||{});function mC(t){const n=ql();return n?nC(n.sanitize(gn.HTML,t)||""):lr(t,"HTML")?nC(mo(t)):hC(uc(),St(t))}function kn(t){const n=ql();return n?n.sanitize(gn.URL,t)||"":lr(t,"URL")?mo(t):ph(St(t))}function pC(t){const n=ql();if(n)return rC(n.sanitize(gn.RESOURCE_URL,t)||"");if(lr(t,"ResourceURL"))return rC(mo(t));throw new de(904,!1)}function ql(){const t=Ce();return t&&t[Gs].sanitizer}const Kl=new oe("ENVIRONMENT_INITIALIZER"),gC=new oe("INJECTOR",-1),_C=new oe("INJECTOR_DEF_TYPES");class Fg{get(n,e=xl){if(e===xl){const i=new Error(`NullInjectorError: No provider for ${tn(n)}!`);throw i.name="NullInjectorError",i}return e}}function SN(...t){return{\u0275providers:bC(0,t),\u0275fromNgModule:!0}}function bC(t,...n){const e=[],i=new Set;let o;const r=a=>{e.push(a)};return rc(n,a=>{const s=a;gh(s,r,[],i)&&(o||=[],o.push(s))}),void 0!==o&&vC(o,r),e}function vC(t,n){for(let e=0;e{n(r,i)})}}function gh(t,n,e,i){if(!(t=Dt(t)))return!1;let o=null,r=Au(t);const a=!r&&$t(t);if(r||a){if(a&&!a.standalone)return!1;o=t}else{const c=t.ngModule;if(r=Au(c),!r)return!1;o=c}const s=i.has(o);if(a){if(s)return!1;if(i.add(o),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const u of c)gh(u,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!s){let u;i.add(o);try{rc(r.imports,p=>{gh(p,n,e,i)&&(u||=[],u.push(p))})}finally{}void 0!==u&&vC(u,n)}if(!s){const u=ts(o)||(()=>new o);n({provide:o,useFactory:u,deps:qt},o),n({provide:_C,useValue:o,multi:!0},o),n({provide:Kl,useValue:()=>Z(o),multi:!0},o)}const c=r.providers;if(null!=c&&!s){const u=t;Lg(c,p=>{n(p,u)})}}}return o!==t&&void 0!==t.providers}function Lg(t,n){for(let e of t)Tf(e)&&(e=e.\u0275providers),Array.isArray(e)?Lg(e,n):n(e)}const MN=ri({provide:String,useValue:ri});function Bg(t){return null!==t&&"object"==typeof t&&MN in t}function ss(t){return"function"==typeof t}const Vg=new oe("Set Injector scope."),_h={},IN={};let jg;function bh(){return void 0===jg&&(jg=new Fg),jg}class po{}class hc extends po{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Hg(n,a=>this.processProvider(a)),this.records.set(gC,mc(void 0,this)),o.has("environment")&&this.records.set(po,mc(void 0,this));const r=this.records.get(Vg);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(_C.multi,qt,Vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of n)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=da(this),i=Qn(void 0);try{return n()}finally{da(e),Qn(i)}}get(n,e=xl,i=Vt.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(rx))return n[rx](this);i=Fu(i);const r=da(this),a=Qn(void 0);try{if(!(i&Vt.SkipSelf)){let c=this.records.get(n);if(void 0===c){const u=function RN(t){return"function"==typeof t||"object"==typeof t&&t instanceof oe}(n)&&Ou(n);c=u&&this.injectableDefInScope(u)?mc(zg(n),_h):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(i&Vt.Self?bh():this.parent).get(n,e=i&Vt.Optional&&e===xl?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Ru]=s[Ru]||[]).unshift(tn(n)),r)throw s;return function TP(t,n,e,i){const o=t[Ru];throw n[ix]&&o.unshift(n[ix]),t.message=function IP(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=tn(n);if(Array.isArray(n))o=n.map(tn).join(" -> ");else if("object"==typeof n){let r=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];r.push(a+":"+("string"==typeof s?JSON.stringify(s):tn(s)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(CP,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[Ru]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Qn(a),da(r)}}resolveInjectorInitializers(){const n=da(this),e=Qn(void 0);try{const o=this.get(Kl.multi,qt,Vt.Self);for(const r of o)r()}finally{da(n),Qn(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(tn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new de(205,!1)}processProvider(n){let e=ss(n=Dt(n))?n:Dt(n&&n.provide);const i=function ON(t){return Bg(t)?mc(void 0,t.useValue):mc(wC(t),_h)}(n);if(ss(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=mc(void 0,_h,!0),o.factory=()=>Lf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===_h&&(e.value=IN,e.value=e.factory()),"object"==typeof e.value&&e.value&&function PN(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Dt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function zg(t){const n=Ou(t),e=null!==n?n.factory:ts(t);if(null!==e)return e;if(t instanceof oe)throw new de(204,!1);if(t instanceof Function)return function EN(t){const n=t.length;if(n>0)throw Vl(n,"?"),new de(204,!1);const e=function vP(t){return t&&(t[Pu]||t[X0])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new de(204,!1)}function wC(t,n,e){let i;if(ss(t)){const o=Dt(t);return ts(o)||zg(o)}if(Bg(t))i=()=>Dt(t.useValue);else if(function xC(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Lf(t.deps||[]));else if(function yC(t){return!(!t||!t.useExisting)}(t))i=()=>Z(Dt(t.useExisting));else{const o=Dt(t&&(t.useClass||t.provide));if(!function AN(t){return!!t.deps}(t))return ts(o)||zg(o);i=()=>new o(...Lf(t.deps))}return i}function mc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Hg(t,n){for(const e of t)Array.isArray(e)?Hg(e,n):e&&Tf(e)?Hg(e.\u0275providers,n):n(e)}const Zl=new oe("AppId",{providedIn:"root",factory:()=>FN}),FN="ng",CC=new oe("Platform Initializer"),_a=new oe("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ti=new oe("AnimationModuleType"),Ug=new oe("CSP nonce",{providedIn:"root",factory:()=>uc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let DC=(t,n,e)=>null;function Qg(t,n,e=!1){return DC(t,n,e)}class GN{}class MC{}class qN{resolveComponentFactory(n){throw function WN(t){const n=Error(`No component factory found for ${tn(t)}.`);return n.ngComponent=t,n}(n)}}let cs=(()=>{class t{static#e=this.NULL=new qN}return t})();function KN(){return gc(fn(),Ce())}function gc(t,n){return new Le(eo(t,n))}let Le=(()=>{class t{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=KN}return t})();function ZN(t){return t instanceof Le?t.nativeElement:t}class Xl{}let Fr=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function YN(){const t=Ce(),e=uo(fn().index,t);return(Jn(e)?e:t)[Mt]}()}return t})(),QN=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>null})}return t})();class ls{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const XN=new ls("16.2.12"),e_={};function AC(t,n=null,e=null,i){const o=PC(t,n,e,i);return o.resolveInjectorInitializers(),o}function PC(t,n=null,e=null,i,o=new Set){const r=[e||qt,SN(t)];return i=i||("object"==typeof t?void 0:tn(t)),new hc(r,n||bh(),i||null,o)}let Di=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=xl;static#t=this.NULL=new Fg;static create(e,i){if(Array.isArray(e))return AC({name:""},i,e,"");{const o=e.name??"";return AC({name:o},e.parent,e.providers,o)}}static#i=this.\u0275prov=ke({token:t,providedIn:"any",factory:()=>Z(gC)});static#n=this.__NG_ELEMENT_ID__=-1}return t})();function i_(t){return t.ngOriginalError}class Oo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&i_(n);for(;e&&i_(e);)e=i_(e);return e||null}}function o_(t){return n=>{setTimeout(t,void 0,n)}}const Ne=class a3 extends te{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,r=e||(()=>null),a=i;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),r=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(r=o_(r),o&&(o=o_(o)),a&&(a=o_(a)));const s=super.subscribe({next:o,error:r,complete:a});return n instanceof T&&n.add(s),s}};function FC(...t){}class We{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),typeof Zone>"u")throw new de(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function s3(){const t="function"==typeof mi.requestAnimationFrame;let n=mi[t?"requestAnimationFrame":"setTimeout"],e=mi[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&e){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const o=e[Zone.__symbol__("OriginalDelegate")];o&&(e=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function d3(t){const n=()=>{!function l3(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(mi,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,a_(t),t.isCheckStableRunning=!0,r_(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),a_(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,a,s)=>{if(function h3(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(s))return e.invokeTask(o,r,a,s);try{return NC(t),e.invokeTask(o,r,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),LC(t)}},onInvoke:(e,i,o,r,a,s,c)=>{try{return NC(t),e.invoke(o,r,a,s,c)}finally{t.shouldCoalesceRunChangeDetection&&n(),LC(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,a_(t),r_(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!We.isInAngularZone())throw new de(909,!1)}static assertNotInAngularZone(){if(We.isInAngularZone())throw new de(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,n,c3,FC,FC);try{return r.runTask(a,e,i)}finally{r.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const c3={};function r_(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function a_(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function NC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function LC(t){t._nesting--,r_(t)}class u3{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const BC=new oe("",{providedIn:"root",factory:VC});function VC(){const t=Fe(We);let n=!0;return wi(new Ye(o=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(n),o.complete()})}),new Ye(o=>{let r;t.runOutsideAngular(()=>{r=t.onStable.subscribe(()=>{We.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const a=t.onUnstable.subscribe(()=>{We.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{r.unsubscribe(),a.unsubscribe()}}).pipe(Tu()))}function Nr(t){return t instanceof Function?t():t}let s_=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>new t})}return t})();function Jl(t){for(;t;){t[Ot]|=64;const n=Ul(t);if(Uf(t)&&!n)return t;t=n}return null}const $C=new oe("",{providedIn:"root",factory:()=>!1});let kh=null;function KC(t,n){return t[n]??QC()}function ZC(t,n){const e=QC();e.producerNode?.length&&(t[n]=kh,e.lView=t,kh=YC())}const w3={...wx,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Jl(t.lView)},lView:null};function YC(){return Object.create(w3)}function QC(){return kh??=YC(),kh}const It={};function m(t){XC(Gt(),Ce(),Bn()+t,!1)}function XC(t,n,e,i){if(!i)if(3==(3&n[Ot])){const r=t.preOrderCheckHooks;null!==r&&Wu(n,r,e)}else{const r=t.preOrderHooks;null!==r&&qu(n,r,0,e)}is(e)}function g(t,n=Vt.Default){const e=Ce();return null===e?Z(t,n):mw(fn(),e,Dt(t),n)}function Lr(){throw new Error("invalid")}function Sh(t,n,e,i,o,r,a,s,c,u,p){const b=n.blueprint.slice();return b[Pi]=o,b[Ot]=140|i,(null!==u||t&&2048&t[Ot])&&(b[Ot]|=2048),Hx(b),b[Ci]=b[Ws]=t,b[Vi]=e,b[Gs]=a||t&&t[Gs],b[Mt]=s||t&&t[Mt],b[ua]=c||t&&t[ua]||null,b[Cn]=r,b[Tl]=function kF(){return DF++}(),b[Er]=p,b[bx]=u,b[ji]=2==n.type?t[ji]:b,b}function vc(t,n,e,i,o){let r=t.data[n];if(null===r)r=function c_(t,n,e,i,o){const r=Kx(),a=Qf(),c=t.data[n]=function E3(t,n,e,i,o,r){let a=n?n.injectorIndex:-1,s=0;return Qs()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?r:r&&r.parent,e,n,i,o);return null===t.firstChild&&(t.firstChild=c),null!==r&&(a?null==r.child&&null!==c.parent&&(r.child=c):null===r.next&&(r.next=c,c.prev=r)),c}(t,n,e,i,o),function SR(){return yt.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=e,r.value=i,r.attrs=o;const a=function Pl(){const t=yt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();r.injectorIndex=null===a?-1:a.injectorIndex}return sr(r,!0),r}function ed(t,n,e,i){if(0===e)return-1;const o=n.length;for(let r=0;rjt&&XC(t,n,jt,!1),ar(s?2:0,o);const u=s?r:null,p=Gf(u);try{null!==u&&(u.dirty=!1),e(i,o)}finally{Wf(u,p)}}finally{s&&null===n[Il]&&ZC(n,Il),is(a),ar(s?3:1,o)}}function l_(t,n,e){if(Hf(n)){const i=Io(null);try{const r=n.directiveEnd;for(let a=n.directiveStart;anull;function n1(t,n,e,i){for(let o in t)if(t.hasOwnProperty(o)){e=null===e?{}:e;const r=t[o];null===i?o1(e,n,o,r):i.hasOwnProperty(o)&&o1(e,n,i[o],r)}return e}function o1(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function fo(t,n,e,i,o,r,a,s){const c=eo(n,e);let p,u=n.inputs;!s&&null!=u&&(p=u[i])?(__(t,e,p,i,o),es(n)&&function P3(t,n){const e=uo(n,t);16&e[Ot]||(e[Ot]|=64)}(e,n.index)):3&n.type&&(i=function A3(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=a?a(o,n.value||"",i):o,r.setProperty(c,i,o))}function m_(t,n,e,i){if(qx()){const o=null===i?null:{"":-1},r=function V3(t,n){const e=t.directiveRegistry;let i=null,o=null;if(e)for(let r=0;r0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,i,r)}}(t,n,i,ed(t,e,o.hostVars,It),o)}function dr(t,n,e,i,o,r){const a=eo(t,n);!function f_(t,n,e,i,o,r,a){if(null==r)t.removeAttribute(n,o,e);else{const s=null==a?St(r):a(r,i||"",o);t.setAttribute(n,o,s,e)}}(n[Mt],a,r,t.value,e,i,o)}function G3(t,n,e,i,o,r){const a=r[n];if(null!==a)for(let s=0;s{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,i,o){const r=typeof Zone>"u"?null:Zone.current,a=function oR(t,n,e){const i=Object.create(rR);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;const o=a=>{i.cleanupFn=a};return i.ref={notify:()=>Sx(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Mx(i))return;i.hasRun=!0;const a=Gf(i);try{i.cleanupFn(),i.cleanupFn=Fx,i.fn(o)}finally{Wf(i,a)}},cleanup:()=>i.cleanupFn()},i.ref}(e,u=>{this.all.has(u)&&this.queue.set(u,r)},o);let s;this.all.add(a),a.notify();const c=()=>{a.cleanup(),s?.(),this.all.delete(a),this.queue.delete(a)};return s=i?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>new t})}return t})();function Th(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(null!==n)for(let a=0;a0){_1(t,1);const o=e.components;null!==o&&v1(t,o,1)}}function v1(t,n,e){for(let i=0;i-1&&(ch(n,i),Xu(e,i))}this._attachedToViewContainer=!1}Cg(this._lView[Qe],this._lView)}onDestroy(n){!function Gx(t,n){if(256==(256&t[Ot]))throw new de(911,!1);null===t[ha]&&(t[ha]=[]),t[ha].push(n)}(this._lView,n)}markForCheck(){Jl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ot]&=-129}reattach(){this._lView[Ot]|=128}detectChanges(){Ih(this._lView[Qe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new de(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function VF(t,n){Gl(t,n,n[Mt],2,null,null)}(this._lView[Qe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new de(902,!1);this._appRef=n}}class eL extends id{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Ih(n[Qe],n,n[Vi],!1)}checkNoChanges(){}get context(){return null}}class y1 extends cs{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=$t(n);return new nd(e,this.ngModule)}}function x1(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class iL{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Fu(i);const o=this.injector.get(n,e_,i);return o!==e_||e===e_?o:this.parentInjector.get(n,e,i)}}class nd extends MC{get inputs(){const n=this.componentDef,e=n.inputTransforms,i=x1(n.inputs);if(null!==e)for(const o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return x1(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function VP(t){return t.map(BP).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=(o=o||this.ngModule)instanceof po?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const a=r?new iL(n,r):n,s=a.get(Xl,null);if(null===s)throw new de(407,!1);const b={rendererFactory:s,sanitizer:a.get(QN,null),effectManager:a.get(p1,null),afterRenderEventManager:a.get(s_,null)},y=s.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||"div",A=i?function k3(t,n,e,i){const r=i.get($C,!1)||e===To.ShadowDom,a=t.selectRootElement(n,r);return function S3(t){t1(t)}(a),a}(y,i,this.componentDef.encapsulation,a):sh(y,C,function tL(t){const n=t.toLowerCase();return"svg"===n?Vx:"math"===n?"math":null}(C)),ce=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let ie=null;null!==A&&(ie=Qg(A,a,!0));const He=h_(0,null,null,1,0,null,null,null,null,null,null),Je=Sh(null,He,null,ce,null,null,b,y,a,null,ie);let kt,li;ig(Je);try{const bi=this.componentDef;let xn,Do=null;bi.findHostDirectiveDefs?(xn=[],Do=new Map,bi.findHostDirectiveDefs(bi,xn,Do),xn.push(bi)):xn=[bi];const ir=function oL(t,n){const e=t[Qe],i=jt;return t[i]=n,vc(e,i,2,"#host",null)}(Je,A),bf=function rL(t,n,e,i,o,r,a){const s=o[Qe];!function aL(t,n,e,i){for(const o of t)n.mergedAttrs=Dl(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Th(n,n.mergedAttrs,!0),null!==e&&iC(i,e,n))}(i,t,n,a);let c=null;null!==n&&(c=Qg(n,o[ua]));const u=r.rendererFactory.createRenderer(n,e);let p=16;e.signals?p=4096:e.onPush&&(p=64);const b=Sh(o,e1(e),null,p,o[t.index],t,r,u,null,null,c);return s.firstCreatePass&&p_(s,t,i.length-1),Mh(o,b),o[t.index]=b}(ir,A,bi,xn,Je,b,y);li=zx(He,jt),A&&function cL(t,n,e,i){if(i)jf(t,e,["ng-version",XN.full]);else{const{attrs:o,classes:r}=function jP(t){const n=[],e=[];let i=1,o=2;for(;i0&&tC(t,e,r.join(" "))}}(y,bi,A,i),void 0!==e&&function lL(t,n,e){const i=t.projection=[];for(let o=0;o=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Dl(o.hostAttrs,e=Dl(e,o.hostAttrs))}}(i)}function Eh(t){return t===nr?{}:t===qt?[]:t}function hL(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function mL(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function pL(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function S1(t){const n=t.inputConfig,e={};for(const i in n)if(n.hasOwnProperty(i)){const o=n[i];Array.isArray(o)&&o[2]&&(e[i]=o[2])}t.inputTransforms=e}function Oh(t){return!!v_(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function v_(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ur(t,n,e){return t[n]=e}function od(t,n){return t[n]}function Sn(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function ds(t,n,e,i){const o=Sn(t,n,e);return Sn(t,n+1,i)||o}function Ah(t,n,e,i,o){const r=ds(t,n,e,i);return Sn(t,n+2,o)||r}function Ao(t,n,e,i,o,r){const a=ds(t,n,e,i);return ds(t,n+2,o,r)||a}function et(t,n,e,i){const o=Ce();return Sn(o,Xs(),n)&&(Gt(),dr(Ei(),o,t,n,e,i)),et}function xc(t,n,e,i){return Sn(t,Xs(),e)?n+St(e)+i:It}function _(t,n,e,i,o,r,a,s){const c=Ce(),u=Gt(),p=t+jt,b=u.firstCreatePass?function VL(t,n,e,i,o,r,a,s,c){const u=n.consts,p=vc(n,t,4,a||null,pa(u,s));m_(n,e,p,pa(u,c)),Gu(n,p);const b=p.tView=h_(2,p,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u,null);return null!==n.queries&&(n.queries.template(n,p),b.queries=n.queries.embeddedTView(p)),p}(p,u,c,n,e,i,o,r,a):u.data[p];sr(b,!1);const y=V1(u,c,b,t);$u()&&dh(u,c,y,b),Dn(y,c),Mh(c,c[p]=c1(y,c,y,b)),ju(b)&&d_(u,c,b),null!=a&&u_(c,b,s)}let V1=function j1(t,n,e,i){return fa(!0),n[Mt].createComment("")};function At(t){return Ys(function kR(){return yt.lFrame.contextLView}(),jt+t)}function f(t,n,e){const i=Ce();return Sn(i,Xs(),n)&&fo(Gt(),Ei(),i,t,n,i[Mt],e,!1),f}function k_(t,n,e,i,o){const a=o?"class":"style";__(t,e,n.inputs[a],a,i)}function d(t,n,e,i){const o=Ce(),r=Gt(),a=jt+t,s=o[Mt],c=r.firstCreatePass?function UL(t,n,e,i,o,r){const a=n.consts,c=vc(n,t,2,i,pa(a,o));return m_(n,e,c,pa(a,r)),null!==c.attrs&&Th(c,c.attrs,!1),null!==c.mergedAttrs&&Th(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(a,r,o,n,e,i):r.data[a],u=z1(r,o,c,s,n,t);o[a]=u;const p=ju(c);return sr(c,!0),iC(s,u,c),32!=(32&c.flags)&&$u()&&dh(r,o,u,c),0===function _R(){return yt.lFrame.elementDepthCount}()&&Dn(u,o),function bR(){yt.lFrame.elementDepthCount++}(),p&&(d_(r,o,c),l_(r,c,o)),null!==i&&u_(o,c),d}function l(){let t=fn();Qf()?Xf():(t=t.parent,sr(t,!1));const n=t;(function yR(t){return yt.skipHydrationRootTNode===t})(n)&&function DR(){yt.skipHydrationRootTNode=null}(),function vR(){yt.lFrame.elementDepthCount--}();const e=Gt();return e.firstCreatePass&&(Gu(e,t),Hf(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function LR(t){return 0!=(8&t.flags)}(n)&&k_(e,n,Ce(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function BR(t){return 0!=(16&t.flags)}(n)&&k_(e,n,Ce(),n.stylesWithoutHost,!1),l}function D(t,n,e,i){return d(t,n,e,i),l(),D}let z1=(t,n,e,i,o,r)=>(fa(!0),sh(i,o,function ow(){return yt.lFrame.currentNamespace}()));function xe(t,n,e){const i=Ce(),o=Gt(),r=t+jt,a=o.firstCreatePass?function WL(t,n,e,i,o){const r=n.consts,a=pa(r,i),s=vc(n,t,8,"ng-container",a);return null!==a&&Th(s,a,!0),m_(n,e,s,pa(r,o)),null!==n.queries&&n.queries.elementStart(n,s),s}(r,o,i,n,e):o.data[r];sr(a,!0);const s=H1(o,i,a,t);return i[r]=s,$u()&&dh(o,i,s,a),Dn(s,i),ju(a)&&(d_(o,i,a),l_(o,a,i)),null!=e&&u_(i,a),xe}function we(){let t=fn();const n=Gt();return Qf()?Xf():(t=t.parent,sr(t,!1)),n.firstCreatePass&&(Gu(n,t),Hf(t)&&n.queries.elementEnd(t)),we}function zn(t,n,e){return xe(t,n,e),we(),zn}let H1=(t,n,e,i)=>(fa(!0),wg(n[Mt],""));function _e(){return Ce()}function cd(t){return!!t&&"function"==typeof t.then}function U1(t){return!!t&&"function"==typeof t.subscribe}function L(t,n,e,i){const o=Ce(),r=Gt(),a=fn();return $1(r,o,o[Mt],a,t,n,i),L}function Nh(t,n){const e=fn(),i=Ce(),o=Gt();return $1(o,i,h1(eg(o.data),e,i),e,t,n),Nh}function $1(t,n,e,i,o,r,a){const s=ju(i),u=t.firstCreatePass&&u1(t),p=n[Vi],b=d1(n);let y=!0;if(3&i.type||a){const O=eo(i,n),W=a?a(O):O,ce=b.length,ie=a?Je=>a(pi(Je[i.index])):i.index;let He=null;if(!a&&s&&(He=function ZL(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;rc?s[c]:null}"string"==typeof a&&(r+=2)}return null}(t,n,o,i.index)),null!==He)(He.__ngLastListenerFn__||He).__ngNextListenerFn__=r,He.__ngLastListenerFn__=r,y=!1;else{r=W1(i,n,p,r,!1);const Je=e.listen(W,o,r);b.push(r,Je),u&&u.push(o,ie,ce,ce+1)}}else r=W1(i,n,p,r,!1);const C=i.outputs;let A;if(y&&null!==C&&(A=C[o])){const O=A.length;if(O)for(let W=0;W-1?uo(t.index,n):n);let c=G1(n,e,i,a),u=r.__ngNextListenerFn__;for(;u;)c=G1(n,e,u,a)&&c,u=u.__ngNextListenerFn__;return o&&!1===c&&a.preventDefault(),c}}function w(t=1){return function ER(t){return(yt.lFrame.contextLView=function OR(t,n){for(;t>0;)n=n[Ws],t--;return n}(t,yt.lFrame.contextLView))[Vi]}(t)}function YL(t,n){let e=null;const i=function RP(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o>17&32767}function M_(t){return 2|t}function us(t){return(131068&t)>>2}function T_(t,n){return-131069&t|n<<2}function I_(t){return 1|t}function iD(t,n,e,i,o){const r=t[e+1],a=null===n;let s=i?ba(r):us(r),c=!1;for(;0!==s&&(!1===c||a);){const p=t[s+1];n4(t[s],n)&&(c=!0,t[s+1]=i?I_(p):M_(p)),s=i?ba(p):us(p)}c&&(t[e+1]=i?M_(r):I_(r))}function n4(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&ac(t,n)>=0}const on={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nD(t){return t.substring(on.key,on.keyEnd)}function oD(t,n){const e=on.textEnd;return e===n?-1:(n=on.keyEnd=function s4(t,n,e){for(;n32;)n++;return n}(t,on.key=n,e),Ic(t,n,e))}function Ic(t,n,e){for(;n=0;e=oD(n,e))ho(t,nD(n),!0)}function Wo(t,n,e,i){const o=Ce(),r=Gt(),a=Ar(2);r.firstUpdatePass&&dD(r,t,a,i),n!==It&&Sn(o,a,n)&&hD(r,r.data[Bn()],o,o[Mt],t,o[a+1]=function v4(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=tn(mo(t)))),t}(n,e),i,a)}function lD(t,n){return n>=t.expandoStartIndex}function dD(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[Bn()],a=lD(t,e);pD(r,i)&&null===n&&!a&&(n=!1),n=function h4(t,n,e,i){const o=eg(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=ld(e=E_(null,t,n,e,i),n.attrs,i),r=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==o)if(e=E_(o,t,n,e,i),null===r){let c=function m4(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==us(i))return t[ba(i)]}(t,n,i);void 0!==c&&Array.isArray(c)&&(c=E_(null,t,n,c[1],i),c=ld(c,n.attrs,i),function p4(t,n,e,i){t[ba(e?n.classBindings:n.styleBindings)]=i}(t,n,i,c))}else r=function f4(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r0)&&(u=!0)):p=e,o)if(0!==c){const y=ba(t[s+1]);t[i+1]=Lh(y,s),0!==y&&(t[y+1]=T_(t[y+1],i)),t[s+1]=function XL(t,n){return 131071&t|n<<17}(t[s+1],i)}else t[i+1]=Lh(s,0),0!==s&&(t[s+1]=T_(t[s+1],i)),s=i;else t[i+1]=Lh(c,0),0===s?s=i:t[c+1]=T_(t[c+1],i),c=i;u&&(t[i+1]=M_(t[i+1])),iD(t,p,i,!0),iD(t,p,i,!1),function t4(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&ac(r,n)>=0&&(e[i+1]=I_(e[i+1]))}(n,p,t,i,r),a=Lh(s,c),r?n.classBindings=a:n.styleBindings=a}(o,r,n,e,a,i)}}function E_(t,n,e,i,o){let r=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s0;){const c=t[o],u=Array.isArray(c),p=u?c[1]:c,b=null===p;let y=e[o+1];y===It&&(y=b?qt:void 0);let C=b?hg(y,i):p===i?y:void 0;if(u&&!Bh(C)&&(C=hg(c,i)),Bh(C)&&(s=C,a))return s;const A=t[o+1];o=a?ba(A):us(A)}if(null!==n){let c=r?n.residualClasses:n.residualStyles;null!=c&&(s=hg(c,i))}return s}function Bh(t){return void 0!==t}function pD(t,n){return 0!=(t.flags&(n?8:16))}function h(t,n=""){const e=Ce(),i=Gt(),o=t+jt,r=i.firstCreatePass?vc(i,o,1,n,null):i.data[o],a=fD(i,e,r,n,t);e[o]=a,$u()&&dh(i,e,a,r),sr(r,!1)}let fD=(t,n,e,i,o)=>(fa(!0),function ah(t,n){return t.createText(n)}(n[Mt],i));function Re(t){return Se("",t,""),Re}function Se(t,n,e){const i=Ce(),o=xc(i,t,n,e);return o!==It&&Br(i,Bn(),o),Se}function Ec(t,n,e,i,o){const r=Ce(),a=function wc(t,n,e,i,o,r){const s=ds(t,Or(),e,o);return Ar(2),s?n+St(e)+i+St(o)+r:It}(r,t,n,e,i,o);return a!==It&&Br(r,Bn(),a),Ec}function O_(t,n,e,i,o,r,a){const s=Ce(),c=function Cc(t,n,e,i,o,r,a,s){const u=Ah(t,Or(),e,o,a);return Ar(3),u?n+St(e)+i+St(o)+r+St(a)+s:It}(s,t,n,e,i,o,r,a);return c!==It&&Br(s,Bn(),c),O_}function A_(t,n,e,i,o,r,a,s,c){const u=Ce(),p=function Dc(t,n,e,i,o,r,a,s,c,u){const b=Ao(t,Or(),e,o,a,c);return Ar(4),b?n+St(e)+i+St(o)+r+St(a)+s+St(c)+u:It}(u,t,n,e,i,o,r,a,s,c);return p!==It&&Br(u,Bn(),p),A_}function xD(t,n,e){!function qo(t,n,e,i){const o=Gt(),r=Ar(2);o.firstUpdatePass&&dD(o,null,r,i);const a=Ce();if(e!==It&&Sn(a,r,e)){const s=o.data[Bn()];if(pD(s,i)&&!lD(o,r)){let c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(e=Sf(c,e||"")),k_(o,s,a,e,i)}else!function b4(t,n,e,i,o,r,a,s){o===It&&(o=qt);let c=0,u=0,p=0>20;if(ss(t)||!t.multi){const C=new Rl(u,o,g),A=L_(c,n,o?p:p+y,b);-1===A?(lg(Zu(s,a),r,c),N_(r,t,n.length),n.push(c),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(C),a.push(C)):(e[A]=C,a[A]=C)}else{const C=L_(c,n,p+y,b),A=L_(c,n,p,p+y),W=A>=0&&e[A];if(o&&!W||!o&&!(C>=0&&e[C])){lg(Zu(s,a),r,c);const ce=function j5(t,n,e,i,o){const r=new Rl(t,e,g);return r.multi=[],r.index=n,r.componentProviders=0,ok(r,o,i&&!e),r}(o?V5:B5,e.length,o,i,u);!o&&W&&(e[A].providerFactory=ce),N_(r,t,n.length,0),n.push(c),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(ce),a.push(ce)}else N_(r,t,C>-1?C:A,ok(e[o?A:C],u,!o&&i));!o&&i&&W&&e[A].componentProviders++}}}function N_(t,n,e,i){const o=ss(n),r=function TN(t){return!!t.useClass}(n);if(o||r){const c=(r?Dt(n.useClass):n).prototype.ngOnDestroy;if(c){const u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const p=u.indexOf(e);-1===p?u.push(e,[i,c]):u[p+1].push(i,c)}else u.push(e,c)}}}function ok(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function L_(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function L5(t,n,e){const i=Gt();if(i.firstCreatePass){const o=Go(t);F_(e,i.data,i.blueprint,o,!0),F_(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class ms{}class rk{}class V_ extends ms{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new y1(this);const o=lo(n);this._bootstrapComponents=Nr(o.bootstrap),this._r3Injector=PC(n,e,[{provide:ms,useValue:this},{provide:cs,useValue:this.componentFactoryResolver},...i],tn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class j_ extends rk{constructor(n){super(),this.moduleType=n}create(n){return new V_(this.moduleType,n,[])}}class ak extends ms{constructor(n){super(),this.componentFactoryResolver=new y1(this),this.instance=null;const e=new hc([...n.providers,{provide:ms,useValue:this},{provide:cs,useValue:this.componentFactoryResolver}],n.parent||bh(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function z_(t,n,e=null){return new ak({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let U5=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=bC(0,e.type),o=i.length>0?z_([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}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=ke({token:t,providedIn:"environment",factory:()=>new t(Z(po))})}return t})();function sk(t){t.getStandaloneInjector=n=>n.get(U5).getOrCreateStandaloneInjector(t)}function Ko(t,n,e){const i=Ln()+t,o=Ce();return o[i]===It?ur(o,i,e?n.call(e):n()):od(o,i)}function ii(t,n,e,i){return bk(Ce(),Ln(),t,n,e,i)}function pk(t,n,e,i,o){return function vk(t,n,e,i,o,r,a){const s=n+e;return ds(t,s,o,r)?ur(t,s+2,a?i.call(a,o,r):i(o,r)):fd(t,s+2)}(Ce(),Ln(),t,n,e,i,o)}function fk(t,n,e,i,o,r){return function yk(t,n,e,i,o,r,a,s){const c=n+e;return Ah(t,c,o,r,a)?ur(t,c+3,s?i.call(s,o,r,a):i(o,r,a)):fd(t,c+3)}(Ce(),Ln(),t,n,e,i,o,r)}function fd(t,n){const e=t[n];return e===It?void 0:e}function bk(t,n,e,i,o,r){const a=n+e;return Sn(t,a,o)?ur(t,a+1,r?i.call(r,o):i(o)):fd(t,a+1)}function va(t,n){const e=Gt();let i;const o=t+jt;e.firstCreatePass?(i=function i8(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=ts(i.type)),s=Qn(g);try{const c=Ku(!1),u=r();return Ku(c),function HL(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ce(),o,u),u}finally{Qn(s)}}function ya(t,n,e){const i=t+jt,o=Ce(),r=Ys(o,i);return function gd(t,n){return t[Qe].data[n].pure}(o,i)?bk(o,Ln(),n,r.transform,e,r):r.transform(e)}function s8(){return this._results[Symbol.iterator]()}class Vr{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Ne)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Vr.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=s8)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=function Eo(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XR(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i0&&(e[o-1][$o]=n),i{class t{static#e=this.__NG_ELEMENT_ID__=h8}return t})();const d8=si,u8=class extends d8{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){const o=function c8(t,n,e,i){const o=n.tView,s=Sh(t,o,e,4096&t[Ot]?4096:16,null,n,null,null,null,i?.injector??null,i?.hydrationInfo??null);s[Ml]=t[n.index];const u=t[or];return null!==u&&(s[or]=u.createEmbeddedView(o)),b_(o,s,e),s}(this._declarationLView,this._declarationTContainer,n,{injector:e,hydrationInfo:i});return new id(o)}};function h8(){return $h(fn(),Ce())}function $h(t,n){return 4&t.type?new u8(n,t,gc(t,n)):null}let ui=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=b8}return t})();function b8(){return Ik(fn(),Ce())}const v8=ui,Mk=class extends v8{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return gc(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){const n=Yu(this._hostTNode,this._hostLView);if(ag(n)){const e=Nl(n,this._hostLView),i=Fl(n);return new Vn(e[Qe].data[i+8],e)}return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=Tk(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-mn}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=n.createEmbeddedViewImpl(e||{},r,null);return this.insertImpl(s,o,false),s}createComponent(n,e,i,o,r){const a=n&&!function Bl(t){return"function"==typeof t}(n);let s;if(a)s=e;else{const O=e||{};s=O.index,i=O.injector,o=O.projectableNodes,r=O.environmentInjector||O.ngModuleRef}const c=a?n:new nd($t(n)),u=i||this.parentInjector;if(!r&&null==c.ngModule){const W=(a?u:this.parentInjector).get(po,null);W&&(r=W)}$t(c.componentType??{});const C=c.create(u,o,null,r);return this.insertImpl(C.hostView,s,false),C}insert(n,e){return this.insertImpl(n,e,!1)}insertImpl(n,e,i){const o=n._lView;if(function pR(t){return Nn(t[Ci])}(o)){const c=this.indexOf(n);if(-1!==c)this.detach(c);else{const u=o[Ci],p=new Mk(u,u[Cn],u[Ci]);p.detach(p.indexOf(n))}}const a=this._adjustIndex(e),s=this._lContainer;return l8(s,o,a,!i),n.attachToViewContainerRef(),vw(U_(s),a,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=Tk(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=ch(this._lContainer,e);i&&(Xu(U_(this._lContainer),e),Cg(i[Qe],i))}detach(n){const e=this._adjustIndex(n,-1),i=ch(this._lContainer,e);return i&&null!=Xu(U_(this._lContainer),e)?new id(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Tk(t){return t[8]}function U_(t){return t[8]||(t[8]=[])}function Ik(t,n){let e;const i=n[t.index];return Nn(i)?e=i:(e=c1(i,n,null,t),n[t.index]=e,Mh(n,e)),Ek(e,n,t,i),new Mk(e,t,n)}let Ek=function Ok(t,n,e,i){if(t[rr])return;let o;o=8&e.type?pi(i):function y8(t,n){const e=t[Mt],i=e.createComment(""),o=eo(n,t);return rs(e,lh(e,o),i,function WF(t,n){return t.nextSibling(n)}(e,o),!1),i}(n,e),t[rr]=o};class $_{constructor(n){this.queryList=n,this.matches=null}clone(){return new $_(this.queryList)}setDirty(){this.queryList.setDirty()}}class G_{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,o=[];for(let r=0;r0)i.push(a[s/2]);else{const u=r[s+1],p=n[-c];for(let b=mn;b{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=Fe(eb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const o of this.appInits){const r=o();if(cd(r))e.push(r);else if(U1(r)){const a=new Promise((s,c)=>{r.subscribe({complete:s,error:c})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jk=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const pr=new oe("LocaleId",{providedIn:"root",factory:()=>Fe(pr,Vt.Optional|Vt.SkipSelf)||function Z8(){return typeof $localize<"u"&&$localize.locale||Ac}()});let qh=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bt(!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(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class X8{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let eS=(()=>{class t{compileModuleSync(e){return new j_(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=Nr(lo(e).declarations).reduce((a,s)=>{const c=$t(s);return c&&a.push(new nd(c)),a},[]);return new X8(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const oS=new oe(""),Zh=new oe("");let ab,ob=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ab||(function y6(t){ab=t}(o),o.addToWindow(i)),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:()=>{We.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(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.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,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!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,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||t)(Z(We),Z(rb),Z(Zh))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),rb=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}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,i=!0){return ab?.findTestabilityInTree(this,e,i)??null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),xa=null;const rS=new oe("AllowMultipleToken"),sb=new oe("PlatformDestroyListeners"),cb=new oe("appBootstrapListener");class sS{constructor(n,e){this.name=n,this.token=e}}function lS(t,n,e=[]){const i=`Platform: ${n}`,o=new oe(i);return(r=[])=>{let a=lb();if(!a||a.injector.get(rS,!1)){const s=[...e,...r,{provide:o,useValue:!0}];t?t(s):function C6(t){if(xa&&!xa.get(rS,!1))throw new de(400,!1);(function aS(){!function JP(t){Ox=t}(()=>{throw new de(600,!1)})})(),xa=t;const n=t.get(uS);(function cS(t){t.get(CC,null)?.forEach(e=>e())})(t)}(function dS(t=[],n){return Di.create({name:n,providers:[{provide:Vg,useValue:"platform"},{provide:sb,useValue:new Set([()=>xa=null])},...t]})}(s,i))}return function k6(t){const n=lb();if(!n)throw new de(401,!1);return n}()}}function lb(){return xa?.get(uS)??null}let uS=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function S6(t="zone.js",n){return"noop"===t?new u3:"zone.js"===t?new We(n):t}(i?.ngZone,function hS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=function H5(t,n,e){return new V_(t,n,e)}(e.moduleType,this.injector,function _S(t){return[{provide:We,useFactory:t},{provide:Kl,multi:!0,useFactory:()=>{const n=Fe(T6,{optional:!0});return()=>n.initialize()}},{provide:gS,useFactory:M6},{provide:BC,useFactory:VC}]}(()=>o)),a=r.injector.get(Oo,null);return o.runOutsideAngular(()=>{const s=o.onError.subscribe({next:c=>{a.handleError(c)}});r.onDestroy(()=>{Yh(this._modules,r),s.unsubscribe()})}),function mS(t,n,e){try{const i=e();return cd(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(a,o,()=>{const s=r.injector.get(tb);return s.runInitializers(),s.donePromise.then(()=>(function RD(t){Mo(t,"Expected localeId to be defined"),"string"==typeof t&&(PD=t.toLowerCase().replace(/_/g,"-"))}(r.injector.get(pr,Ac)||Ac),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,i=[]){const o=pS({},i);return function x6(t,n,e){const i=new j_(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(wa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new de(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new de(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(sb,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Di))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function pS(t,n){return Array.isArray(n)?n.reduce(pS,t):{...t,...n}}let wa=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Fe(gS),this.zoneIsStable=Fe(BC),this.componentTypes=[],this.components=[],this.isStable=Fe(qh).hasPendingTasks.pipe(qi(e=>e?qe(!1):this.zoneIsStable),zs(),Tu()),this._injector=Fe(po)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof MC;if(!this._injector.get(tb).done)throw!o&&function Us(t){const n=$t(t)||hn(t)||Fn(t);return null!==n&&n.standalone}(e),new de(405,!1);let a;a=o?e:this._injector.get(cs).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function w6(t){return t.isBoundToModule}(a)?void 0:this._injector.get(ms),u=a.create(Di.NULL,[],i||a.selector,s),p=u.location.nativeElement,b=u.injector.get(oS,null);return b?.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),Yh(this.components,u),b?.unregisterApplication(p)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new de(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 i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Yh(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(cb,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(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),()=>Yh(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new de(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yh(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const gS=new oe("",{providedIn:"root",factory:()=>Fe(Oo).handleError.bind(void 0)});function M6(){const t=Fe(We),n=Fe(Oo);return e=>t.runOutsideAngular(()=>n.handleError(e))}let T6=(()=>{class t{constructor(){this.zone=Fe(We),this.applicationRef=Fe(wa)}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(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();let Nt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=E6}return t})();function E6(t){return function O6(t,n,e){if(es(t)&&!e){const i=uo(t.index,n);return new id(i,i)}return 47&t.type?new id(n[ji],n):null}(fn(),Ce(),16==(16&t))}class xS{constructor(){}supports(n){return Oh(n)}create(n){return new L6(n)}}const N6=(t,n)=>n;class L6{constructor(n){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=n||N6}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(o,s),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,s,a,o)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new B6(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new wS),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wS),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class B6{constructor(n,e){this.item=n,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 V6{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class wS{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new V6,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function CS(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}const i=new z6(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class z6{constructor(n){this.key=n,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 kS(){return new Po([new xS])}let Po=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:kS});constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||kS()),deps:[[t,new jl,new os]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new de(901,!1)}}return t})();function SS(){return new vd([new DS])}let vd=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:SS});constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||SS()),deps:[[t,new jl,new os]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new de(901,!1)}}return t})();const $6=lS(null,"core",[]);let G6=(()=>{class t{constructor(e){}static#e=this.\u0275fac=function(i){return new(i||t)(Z(wa))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();function Fc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let fb=null;function Ca(){return fb}class rB{}const at=new oe("DocumentToken");let gb=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(sB)},providedIn:"platform"})}return t})();const aB=new oe("Location Initialized");let sB=(()=>{class t extends gb{constructor(){super(),this._doc=Fe(at),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ca().getBaseHref(this._doc)}onPopState(e){const i=Ca().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Ca().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}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(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return new t},providedIn:"platform"})}return t})();function _b(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function FS(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function jr(t){return t&&"?"!==t[0]?"?"+t:t}let fs=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(LS)},providedIn:"root"})}return t})();const NS=new oe("appBaseHref");let LS=(()=>{class t extends fs{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Fe(at).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 _b(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+jr(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const a=this.prepareExternalUrl(o+jr(r));this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,r){const a=this.prepareExternalUrl(o+jr(r));this._platformLocation.replaceState(e,i,a)}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(i){return new(i||t)(Z(gb),Z(NS,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cB=(()=>{class t extends fs{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}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 i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=_b(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let a=this.prepareExternalUrl(o+jr(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,r){let a=this.prepareExternalUrl(o+jr(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}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(i){return new(i||t)(Z(gb),Z(NS,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),yd=(()=>{class t{constructor(e){this._subject=new Ne,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function uB(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(FS(BS(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+jr(i))}normalize(e){return t.stripTrailingSlash(function dB(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,BS(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+jr(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+jr(i)),o)}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(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}static#e=this.normalizeQueryParams=jr;static#t=this.joinWithSlash=_b;static#i=this.stripTrailingSlash=FS;static#n=this.\u0275fac=function(i){return new(i||t)(Z(fs))};static#o=this.\u0275prov=ke({token:t,factory:function(){return function lB(){return new yd(Z(fs))}()},providedIn:"root"})}return t})();function BS(t){return t.replace(/\/index.html$/,"")}function qS(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const Mb=/\s+/,KS=[];let Qo=(()=>{class t{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this.initialClasses=KS,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Mb):KS}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Mb):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Mb).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Po),g(vd),g(Le),g(Fr))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class YB{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}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 an=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,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 i=this._viewContainer;e.forEachOperation((o,r,a)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new YB(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===r?void 0:r);else if(null!==r){const s=i.get(r);i.move(s,a),YS(s,o)}});for(let o=0,r=i.length;o{YS(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si),g(Po))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function YS(t,n){t.context.$implicit=n.item}let Et=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new QB,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){QS("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){QS("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,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class QB{constructor(){this.$implicit=null,this.ngIf=null}}function QS(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${tn(n)}'.`)}class Tb{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Lc=(()=>{class t{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 i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return t})(),dm=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new Tb(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si),g(Lc,9))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return t})(),XS=(()=>{class t{constructor(e,i,o){o._addDefault(new Tb(e,i))}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(si),g(Lc,9))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return t})(),eM=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,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,i){const[o,r]=e.split("."),a=-1===o.indexOf("-")?void 0:ga.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(vd),g(Fr))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return t})(),um=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:r,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,r,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ai]})}return t})();function Xo(t,n){return new de(2100,!1)}class JB{createSubscription(n,e){return Rx(()=>n.subscribe({next:e,error:i=>{throw i}}))}dispose(n){Rx(()=>n.unsubscribe())}}class eV{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const tV=new eV,iV=new JB;let tM=(()=>{class t{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,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(cd(e))return tV;if(U1(e))return iV;throw Xo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt,16))};static#t=this.\u0275pipe=Xn({name:"async",type:t,pure:!1,standalone:!0})}return t})(),iM=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Xo();return e.toUpperCase()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275pipe=Xn({name:"uppercase",type:t,pure:!0,standalone:!0})}return t})(),nM=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=oM}transform(e,i=oM){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const o=this.differ.diff(e),r=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(function pV(t,n){return{key:t,value:n}}(a.key,a.currentValue))})),(o||r)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||t)(g(vd,16))};static#t=this.\u0275pipe=Xn({name:"keyvalue",type:t,pure:!1,standalone:!0})}return t})();function oM(t,n){const e=t.key,i=n.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const rM="browser";function aM(t){return"server"===t}let wV=(()=>{class t{static#e=this.\u0275prov=ke({token:t,providedIn:"root",factory:()=>new CV(Z(at),window)})}return t})();class CV{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function DV(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const a=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(a)return a}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class sM{}class qV extends rB{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Pb extends qV{static makeCurrent(){!function oB(t){fb||(fb=t)}(new Pb)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function KV(){return Dd=Dd||document.querySelector("base"),Dd?Dd.getAttribute("href"):null}();return null==e?null:function ZV(t){pm=pm||document.createElement("a"),pm.setAttribute("href",t);const n=pm.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Dd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return qS(document.cookie,n)}}let pm,Dd=null,QV=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const Rb=new oe("EventManagerPlugins");let hM=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new de(5101,!1);return this._eventNameToPlugin.set(e,i),i}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Rb),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class mM{constructor(n){this._doc=n}}const Fb="ng-app-id";let pM=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=aM(r),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${Fb}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){const o=this.styleRef;if(o.has(e)){const r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(Fb),r;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Fb,this.appId),a}}addStyleToHost(e,i){const o=this.getStyleElement(e,i);e.appendChild(o);const r=this.styleRef,a=r.get(i)?.elements;a?a.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Zl),Z(Ug,8),Z(_a))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const Nb={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/"},Lb=/%COMP%/g,tj=new oe("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function gM(t,n){return n.map(e=>e.replace(Lb,t))}let Bb=(()=>{class t{constructor(e,i,o,r,a,s,c,u=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=aM(s),this.defaultRenderer=new Vb(e,a,c,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===To.ShadowDom&&(i={...i,encapsulation:To.Emulated});const o=this.getOrCreateRenderer(e,i);return o instanceof bM?o.applyToHost(e):o instanceof jb&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const a=this.doc,s=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,b=this.platformIsServer;switch(i.encapsulation){case To.Emulated:r=new bM(c,u,i,this.appId,p,a,s,b);break;case To.ShadowDom:return new rj(c,u,e,i,a,s,this.nonce,b);default:r=new jb(c,u,i,p,a,s,b)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(hM),Z(pM),Z(Zl),Z(tj),Z(at),Z(_a),Z(We),Z(Ug))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class Vb{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Nb[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(_M(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(_M(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new de(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=Nb[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=Nb[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(ga.DashCase|ga.Important)?n.style.setProperty(e,i,o&ga.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&ga.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=Ca().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function _M(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class rj extends Vb{constructor(n,e,i,o,r,a,s,c){super(n,r,a,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=gM(o.id,o.styles);for(const p of u){const b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=p,this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class jb extends Vb{constructor(n,e,i,o,r,a,s,c){super(n,r,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=c?gM(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bM extends jb{constructor(n,e,i,o,r,a,s,c){const u=o+"-"+i.id;super(n,e,i,r,a,s,c,u),this.contentAttr=function ij(t){return"_ngcontent-%COMP%".replace(Lb,t)}(u),this.hostAttr=function nj(t){return"_nghost-%COMP%".replace(Lb,t)}(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let aj=(()=>{class t extends mM{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const vM=["alt","control","meta","shift"],sj={"\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"},cj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let lj=(()=>{class t extends mM{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),a=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ca().onAndCancel(e,r.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),vM.forEach(u=>{const p=i.indexOf(u);p>-1&&(i.splice(p,1),a+=u+".")}),a+=r,0!=i.length||0===r.length)return null;const c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let o=sj[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),vM.forEach(a=>{a!==o&&(0,cj[a])(e)&&(r+=a+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const mj=lS($6,"browser",[{provide:_a,useValue:rM},{provide:CC,useValue:function dj(){Pb.makeCurrent()},multi:!0},{provide:at,useFactory:function hj(){return function eN(t){Eg=t}(document),document},deps:[]}]),pj=new oe(""),wM=[{provide:Zh,useClass:class YV{addToWindow(n){mi.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new de(5103,!1);return r},mi.getAllAngularTestabilities=()=>n.getAllTestabilities(),mi.getAllAngularRootElements=()=>n.getAllRootElements(),mi.frameworkStabilizers||(mi.frameworkStabilizers=[]),mi.frameworkStabilizers.push(i=>{const o=mi.getAllAngularTestabilities();let r=o.length,a=!1;const s=function(c){a=a||c,r--,0==r&&i(a)};o.forEach(c=>{c.whenStable(s)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Ca().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:oS,useClass:ob,deps:[We,rb,Zh]},{provide:ob,useClass:ob,deps:[We,rb,Zh]}],CM=[{provide:Vg,useValue:"root"},{provide:Oo,useFactory:function uj(){return new Oo},deps:[]},{provide:Rb,useClass:aj,multi:!0,deps:[at,We,_a]},{provide:Rb,useClass:lj,multi:!0,deps:[at]},Bb,pM,hM,{provide:Xl,useExisting:Bb},{provide:sM,useClass:QV,deps:[]},[]];let DM=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Zl,useValue:e.appId}]}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(pj,12))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[...CM,...wM],imports:[Mn,G6]})}return t})(),kM=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:function(i){let o=null;return o=i?new i:function gj(){return new kM(Z(at))}(),o},providedIn:"root"})}return t})();typeof window<"u"&&window;let Hb=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(i){let o=null;return o=i?new(i||t):Z(TM),o},providedIn:"root"})}return t})(),TM=(()=>{class t extends Hb{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case gn.NONE:return i;case gn.HTML:return lr(i,"HTML")?mo(i):hC(this._doc,String(i)).toString();case gn.STYLE:return lr(i,"Style")?mo(i):i;case gn.SCRIPT:if(lr(i,"Script"))return mo(i);throw new de(5200,!1);case gn.URL:return lr(i,"URL")?mo(i):ph(String(i));case gn.RESOURCE_URL:if(lr(i,"ResourceURL"))return mo(i);throw new de(5201,!1);default:throw new de(5202,!1)}}bypassSecurityTrustHtml(e){return function sN(t){return new tN(t)}(e)}bypassSecurityTrustStyle(e){return function cN(t){return new iN(t)}(e)}bypassSecurityTrustScript(e){return function lN(t){return new nN(t)}(e)}bypassSecurityTrustUrl(e){return function dN(t){return new oN(t)}(e)}bypassSecurityTrustResourceUrl(e){return function uN(t){return new rN(t)}(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:function(i){let o=null;return o=i?new i:function yj(t){return new TM(t.get(at))}(Z(Di)),o},providedIn:"root"})}return t})();class EM{}class xj{}const Ur="*";function _o(t,n){return{type:7,name:t,definitions:n,options:{}}}function Fi(t,n=null){return{type:4,styles:n,timings:t}}function Ub(t,n=null){return{type:3,steps:t,options:n}}function OM(t,n=null){return{type:2,steps:t,options:n}}function zt(t){return{type:6,styles:t,offset:null}}function Zi(t,n,e){return{type:0,name:t,styles:n,options:e}}function Ni(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function $b(t=null){return{type:9,options:t}}function Gb(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}class kd{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class AM{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const r=this.players.length;0==r?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++i==r&&this._onDestroy()}),a.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function PM(t){return new de(3e3,!1)}function ka(t){switch(t.length){case 0:return new kd;case 1:return t[0];default:return new AM(t)}}function RM(t,n,e=new Map,i=new Map){const o=[],r=[];let a=-1,s=null;if(n.forEach(c=>{const u=c.get("offset"),p=u==a,b=p&&s||new Map;c.forEach((y,C)=>{let A=C,O=y;if("offset"!==C)switch(A=t.normalizePropertyName(A,o),O){case"!":O=e.get(C);break;case Ur:O=i.get(C);break;default:O=t.normalizeStyleValue(C,A,O,o)}b.set(A,O)}),p||r.push(b),s=b,a=u}),o.length)throw function $j(t){return new de(3502,!1)}();return r}function qb(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Kb(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Kb(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Kb(e,"destroy",t)))}}function Kb(t,n,e){const r=Zb(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(r._data=a),r}function Zb(t,n,e,i,o="",r=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!a}}function bo(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function FM(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const iz=(()=>typeof document>"u"?null:document.documentElement)();function Yb(t){const n=t.parentNode||t.host||null;return n===iz?null:n}let gs=null,NM=!1;function LM(t,n){for(;n;){if(n===t)return!0;n=Yb(n)}return!1}function BM(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let VM=(()=>{class t{validateStyleProperty(e){return function oz(t){gs||(gs=function rz(){return typeof document<"u"?document.body:null}()||{},NM=!!gs.style&&"WebkitAppearance"in gs.style);let n=!0;return gs.style&&!function nz(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in gs.style,!n&&NM&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in gs.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return LM(e,i)}getParentElement(e){return Yb(e)}query(e,i,o){return BM(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,a,s=[],c){return new kd(o,r)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),Qb=(()=>{class t{static#e=this.NOOP=new VM}return t})();const az=1e3,Xb="ng-enter",fm="ng-leave",gm="ng-trigger",_m=".ng-trigger",zM="ng-animating",Jb=".ng-animating";function $r(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:ev(parseFloat(n[1]),n[2])}function ev(t,n){return"s"===n?t*az:t}function bm(t,n,e){return t.hasOwnProperty("duration")?t:function cz(t,n,e){let o,r=0,a="";if("string"==typeof t){const s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return n.push(PM()),{duration:0,delay:0,easing:""};o=ev(parseFloat(s[1]),s[2]);const c=s[3];null!=c&&(r=ev(parseFloat(c),s[4]));const u=s[5];u&&(a=u)}else o=t;if(!e){let s=!1,c=n.length;o<0&&(n.push(function wj(){return new de(3100,!1)}()),s=!0),r<0&&(n.push(function Cj(){return new de(3101,!1)}()),s=!0),s&&n.splice(c,0,PM())}return{duration:o,delay:r,easing:a}}(t,n,e)}function Sd(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function HM(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Sa(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function fr(t,n,e){n.forEach((i,o)=>{const r=iv(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i})}function _s(t,n){n.forEach((e,i)=>{const o=iv(i);t.style[o]=""})}function Md(t){return Array.isArray(t)?1==t.length?t[0]:OM(t):t}const tv=new RegExp("{{\\s*(.+?)\\s*}}","g");function $M(t){let n=[];if("string"==typeof t){let e;for(;e=tv.exec(t);)n.push(e[1]);tv.lastIndex=0}return n}function Td(t,n,e){const i=t.toString(),o=i.replace(tv,(r,a)=>{let s=n[a];return null==s&&(e.push(function kj(t){return new de(3003,!1)}()),s=""),s.toString()});return o==i?t:o}function vm(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const uz=/-+([a-z0-9])/g;function iv(t){return t.replace(uz,(...n)=>n[1].toUpperCase())}function vo(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function Sj(t){return new de(3004,!1)}()}}function GM(t,n){return window.getComputedStyle(t)[n]}const ym="*";function pz(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function fz(t,n,e){if(":"==t[0]){const c=function gz(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof c)return void n.push(c);t=c}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Vj(t){return new de(3015,!1)}()),n;const o=i[1],r=i[2],a=i[3];n.push(WM(o,a));"<"==r[0]&&!(o==ym&&a==ym)&&n.push(WM(a,o))}(i,e,n)):e.push(t),e}const xm=new Set(["true","1"]),wm=new Set(["false","0"]);function WM(t,n){const e=xm.has(t)||wm.has(t),i=xm.has(n)||wm.has(n);return(o,r)=>{let a=t==ym||t==o,s=n==ym||n==r;return!a&&e&&"boolean"==typeof o&&(a=o?xm.has(t):wm.has(t)),!s&&i&&"boolean"==typeof r&&(s=r?xm.has(n):wm.has(n)),a&&s}}const _z=new RegExp("s*:selfs*,?","g");function nv(t,n,e,i){return new bz(t).build(n,e,i)}class bz{constructor(n){this._driver=n}build(n,e,i){const o=new xz(e);return this._resetContextStyleTimingState(o),vo(this,Md(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function Tj(){return new de(3006,!1)}()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const c=s,u=c.name;u.toString().split(/\s*,\s*/).forEach(p=>{c.name=p,r.push(this.visitState(c,e))}),c.name=u}else if(1==s.type){const c=this.visitTransition(s,e);i+=c.queryCount,o+=c.depCount,a.push(c)}else e.errors.push(function Ij(){return new de(3007,!1)}())}),{type:7,name:n.name,states:r,transitions:a,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,a=o||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(c=>{$M(c).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&(vm(r.values()),e.errors.push(function Ej(t,n){return new de(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=vo(this,Md(n.animation),e);return{type:1,matchers:pz(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:bs(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>vo(this,i,e)),options:bs(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(a=>{e.currentTime=i;const s=vo(this,a,e);return o=Math.max(o,e.currentTime),s});return e.currentTime=o,{type:3,steps:r,options:bs(n.options)}}visitAnimate(n,e){const i=function Cz(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return ov(bm(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=ov(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=bm(e,n);return ov(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:zt({});if(5==r.type)o=this.visitKeyframes(r,e);else{let a=n.styles,s=!1;if(!a){s=!0;const u={};i.easing&&(u.easing=i.easing),a=zt(u)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(a,e);c.isEmptyStep=s,o=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of o)"string"==typeof s?s===Ur?i.push(s):e.errors.push(new de(3002,!1)):i.push(HM(s));let r=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!r))for(let c of s.values())if(c.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,c)=>{const u=e.collectedStyles.get(e.currentQuerySelector),p=u.get(c);let b=!0;p&&(r!=o&&r>=p.startTime&&o<=p.endTime&&(e.errors.push(function Aj(t,n,e,i,o){return new de(3010,!1)}()),b=!1),r=p.startTime),b&&u.set(c,{startTime:r,endTime:o}),e.options&&function dz(t,n,e){const i=n.params||{},o=$M(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function Dj(t){return new de(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Pj(){return new de(3011,!1)}()),i;let r=0;const a=[];let s=!1,c=!1,u=0;const p=n.steps.map(ce=>{const ie=this._makeStyleAst(ce,e);let He=null!=ie.offset?ie.offset:function wz(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(ie.styles),Je=0;return null!=He&&(r++,Je=ie.offset=He),c=c||Je<0||Je>1,s=s||Je0&&r{const He=y>0?ie==C?1:y*ie:a[ie],Je=He*W;e.currentTime=A+O.delay+Je,O.duration=Je,this._validateStyleAst(ce,e),ce.offset=He,i.styles.push(ce)}),i}visitReference(n,e){return{type:8,animation:vo(this,Md(n.animation),e),options:bs(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:bs(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:bs(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,a]=function vz(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(_z,"")),t=t.replace(/@\*/g,_m).replace(/@\w+/g,e=>_m+"-"+e.slice(1)).replace(/:animating/g,Jb),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,bo(e.collectedStyles,e.currentQuerySelector,new Map);const s=vo(this,Md(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:bs(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function Lj(){return new de(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:bm(n.timings,e.errors,!0);return{type:12,animation:vo(this,Md(n.animation),e),timings:i,options:null}}}class xz{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function bs(t){return t?(t=Sd(t)).params&&(t.params=function yz(t){return t?Sd(t):null}(t.params)):t={},t}function ov(t,n,e){return{duration:t,delay:n,easing:e}}function rv(t,n,e,i,o,r,a=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:a,subTimeline:s}}class Cm{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Sz=new RegExp(":enter","g"),Tz=new RegExp(":leave","g");function av(t,n,e,i,o,r=new Map,a=new Map,s,c,u=[]){return(new Iz).buildKeyframes(t,n,e,i,o,r,a,s,c,u)}class Iz{buildKeyframes(n,e,i,o,r,a,s,c,u,p=[]){u=u||new Cm;const b=new sv(n,e,u,o,r,p,[]);b.options=c;const y=c.delay?$r(c.delay):0;b.currentTimeline.delayNextStep(y),b.currentTimeline.setStyles([a],null,b.errors,c),vo(this,i,b);const C=b.timelines.filter(A=>A.containsAnimation());if(C.length&&s.size){let A;for(let O=C.length-1;O>=0;O--){const W=C[O];if(W.element===e){A=W;break}}A&&!A.allowOnlyTimelineStyles()&&A.setStyles([s],null,b.errors,c)}return C.length?C.map(A=>A.buildKeyframes()):[rv(e,[],[],[],0,y,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,o,o.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const r=o?.delay;if(r){const a="number"==typeof r?r:$r(Td(r,o?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const a=null!=i.duration?$r(i.duration):null,s=null!=i.delay?$r(i.delay):null;return 0!==a&&n.forEach(c=>{const u=e.appendInstructionToTimeline(c,a,s);r=Math.max(r,u.duration+u.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),vo(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Dm);const a=$r(r.delay);o.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>vo(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?$r(n.options.delay):0;n.steps.forEach(a=>{const s=e.createSubContext(n.options);r&&s.delayNextStep(r),vo(this,a,s),o=Math.max(o,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return bm(e.params?Td(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(c=>{s.forwardTime((c.offset||0)*r),s.setStyles(c.styles,c.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?$r(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Dm);let a=i;const s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;let c=null;s.forEach((u,p)=>{e.currentQueryIndex=p;const b=e.createSubContext(n.options,u);r&&b.delayNextStep(r),u===e.element&&(c=b.currentTimeline),vo(this,n.animation,b),b.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,b.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,a=Math.abs(r.duration),s=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":c=s-c;break;case"full":c=i.currentStaggerTime}const p=e.currentTimeline;c&&p.delayNextStep(c);const b=p.currentTime;vo(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-b+(o.startTime-i.currentTimeline.startTime)}}const Dm={};class sv{constructor(n,e,i,o,r,a,s,c){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Dm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new km(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=$r(i.duration)),null!=i.delay&&(o.delay=$r(i.delay));const r=i.params;if(r){let a=o.params;a||(a=this.options.params={}),Object.keys(r).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=Td(r[s],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new sv(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=Dm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new Ez(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,a){let s=[];if(o&&s.push(this.element),n.length>0){n=(n=n.replace(Sz,"."+this._enterClassName)).replace(Tz,"."+this._leaveClassName);let u=this._driver.query(this.element,n,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),s.push(...u)}return!r&&0==s.length&&a.push(function Bj(t){return new de(3014,!1)}()),s}}class km{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new km(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ur),this._currentKeyframe.set(e,Ur);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},a=function Oz(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let r of i)e.set(r,Ur)}else Sa(o,e)}),e}(n,this._globalTimelineStyles);for(let[s,c]of a){const u=Td(c,r,i);this._pendingStyles.set(s,u),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Ur),this._updateStyle(s,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((s,c)=>{const u=Sa(s,new Map,this._backFill);u.forEach((p,b)=>{"!"===p?n.add(b):p===Ur&&e.add(b)}),i||u.set("offset",c/this.duration),o.push(u)});const r=n.size?vm(n.values()):[],a=e.size?vm(e.values()):[];if(i){const s=o[0],c=new Map(s);s.set("offset",0),c.set("offset",1),o=[s,c]}return rv(this.element,o,r,a,this.duration,this.startTime,this.easing,!1)}}class Ez extends km{constructor(n,e,i,o,r,a,s=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],a=i+e,s=e/a,c=Sa(n[0]);c.set("offset",0),r.push(c);const u=Sa(n[0]);u.set("offset",ZM(s)),r.push(u);const p=n.length-1;for(let b=1;b<=p;b++){let y=Sa(n[b]);const C=y.get("offset");y.set("offset",ZM((e+C*i)/a)),r.push(y)}i=a,e=0,o="",n=r}return rv(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function ZM(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class cv{}const Az=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Pz extends cv{normalizePropertyName(n,e){return iv(n)}normalizeStyleValue(n,e,i,o){let r="";const a=i.toString().trim();if(Az.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&o.push(function Mj(t,n){return new de(3005,!1)}())}return a+r}}function YM(t,n,e,i,o,r,a,s,c,u,p,b,y){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:a,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:p,totalTime:b,errors:y}}const lv={};class QM{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function Rz(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,a,s,c,u,p){const b=[],y=this.ast.options&&this.ast.options.params||lv,A=this.buildStyles(i,s&&s.params||lv,b),O=c&&c.params||lv,W=this.buildStyles(o,O,b),ce=new Set,ie=new Map,He=new Map,Je="void"===o,kt={params:Fz(O,y),delay:this.ast.options?.delay},li=p?[]:av(n,e,this.ast.animation,r,a,A,W,kt,u,b);let bi=0;if(li.forEach(Do=>{bi=Math.max(Do.duration+Do.delay,bi)}),b.length)return YM(e,this._triggerName,i,o,Je,A,W,[],[],ie,He,bi,b);li.forEach(Do=>{const ir=Do.element,bf=bo(ie,ir,new Set);Do.preStyleProps.forEach(Fs=>bf.add(Fs));const ku=bo(He,ir,new Set);Do.postStyleProps.forEach(Fs=>ku.add(Fs)),ir!==e&&ce.add(ir)});const xn=vm(ce.values());return YM(e,this._triggerName,i,o,Je,A,W,li,xn,ie,He,bi)}}function Fz(t,n){const e=Sd(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class Nz{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=Sd(this.defaultParams);return Object.keys(n).forEach(r=>{const a=n[r];null!==a&&(o[r]=a)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((a,s)=>{a&&(a=Td(a,o,e));const c=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,c,a,e),i.set(s,a)})}),i}}class Bz{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new Nz(o.style,o.options&&o.options.params||{},i))}),XM(this.states,"true","1"),XM(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new QM(n,o,this.states))}),this.fallbackTransition=function Vz(t,n,e){return new QM(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(a=>a.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function XM(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const jz=new Cm;class zz{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],r=nv(this._driver,e,i,[]);if(i.length)throw function Gj(t){return new de(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=RM(this._normalizer,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let a;const s=new Map;if(r?(a=av(this._driver,e,r,Xb,fm,new Map,new Map,i,jz,o),a.forEach(p=>{const b=bo(s,p.element,new Map);p.postStyleProps.forEach(y=>b.set(y,null))})):(o.push(function Wj(){return new de(3300,!1)}()),a=[]),o.length)throw function qj(t){return new de(3504,!1)}();s.forEach((p,b)=>{p.forEach((y,C)=>{p.set(C,this._driver.computeStyle(b,C,Ur))})});const u=ka(a.map(p=>{const b=s.get(p.element);return this._buildPlayer(p,new Map,b)}));return this._playersById.set(n,u),u.onDestroy(()=>this.destroy(n)),this.players.push(u),u}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function Kj(t){return new de(3301,!1)}();return e}listen(n,e,i,o){const r=Zb(e,"","","");return qb(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const JM="ng-animate-queued",dv="ng-animate-disabled",Wz=[],eT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Jo="__ng_removed";class uv{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function Qz(t){return t??null}(i?n.value:n),i){const r=Sd(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const Id="void",hv=new uv(Id);class Kz{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,No(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function Zj(t,n){return new de(3302,!1)}();if(null==i||0==i.length)throw function Yj(t){return new de(3303,!1)}();if(!function Xz(t){return"start"==t||"done"==t}(i))throw function Qj(t,n){return new de(3400,!1)}();const r=bo(this._elementListeners,n,[]),a={name:e,phase:i,callback:o};r.push(a);const s=bo(this._engine.statesByElement,n,new Map);return s.has(e)||(No(n,gm),No(n,gm+"-"+e),s.set(e,hv)),()=>{this._engine.afterFlush(()=>{const c=r.indexOf(a);c>=0&&r.splice(c,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function Xj(t){return new de(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),a=new mv(this.id,e,n);let s=this._engine.statesByElement.get(n);s||(No(n,gm),No(n,gm+"-"+e),this._engine.statesByElement.set(n,s=new Map));let c=s.get(e);const u=new uv(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s.set(e,u),c||(c=hv),u.value!==Id&&c.value===u.value){if(!function t7(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{_s(n,W),fr(n,ce)})}return}const y=bo(this._engine.playersByElement,n,[]);y.forEach(O=>{O.namespaceId==this.id&&O.triggerName==e&&O.queued&&O.destroy()});let C=r.matchTransition(c.value,u.value,n,u.params),A=!1;if(!C){if(!o)return;C=r.fallbackTransition,A=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:C,fromState:c,toState:u,player:a,isFallbackTransition:A}),A||(No(n,JM),a.onStart(()=>{Bc(n,JM)})),a.onDone(()=>{let O=this.players.indexOf(a);O>=0&&this.players.splice(O,1);const W=this._engine.playersByElement.get(n);if(W){let ce=W.indexOf(a);ce>=0&&W.splice(ce,1)}}),this.players.push(a),y.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,_m,!0);i.forEach(o=>{if(o[Jo])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),a=new Map;if(r){const s=[];if(r.forEach((c,u)=>{if(a.set(u,c.value),this._triggers.has(u)){const p=this.trigger(n,u,Id,o);p&&s.push(p)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&ka(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const a=r.name;if(o.has(a))return;o.add(a);const c=this._triggers.get(a).fallbackTransition,u=i.get(a)||hv,p=new uv(Id),b=new mv(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:c,fromState:u,toState:p,player:b,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[Jo];(!r||r===eT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){No(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,a=this._elementListeners.get(r);a&&a.forEach(s=>{if(s.name==i.triggerName){const c=Zb(r,i.triggerName,i.fromState.value,i.toState.value);c._data=n,qb(i.player,s.phase,c,s.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,a=o.transition.ast.depCount;return 0==r||0==a?r-a:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class Zz{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,r)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new Kz(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const c=o.get(s);if(c){const u=i.indexOf(c);i.splice(u+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(Sm(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!Sm(e))return;const r=e[Jo];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),No(n,dv)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Bc(n,dv))}removeNode(n,e,i){if(Sm(e)){const o=n?this._fetchNamespace(n):null;o?o.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);const r=this.namespacesByHostElement.get(e);r&&r.id!==n&&r.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[Jo]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return Sm(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,_m,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Jb,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ka(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Jo];if(e&&e.setForRemoval){if(n[Jo]=eT,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(dv)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ka(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function Jj(t){return new de(3402,!1)}()}_flushAnimations(n,e){const i=new Cm,o=[],r=new Map,a=[],s=new Map,c=new Map,u=new Map,p=new Set;this.disabledNodes.forEach(ot=>{p.add(ot);const ft=this.driver.query(ot,".ng-animate-queued",!0);for(let _t=0;_t{const _t=Xb+O++;A.set(ft,_t),ot.forEach(Wt=>No(Wt,_t))});const W=[],ce=new Set,ie=new Set;for(let ot=0;otce.add(Wt)):ie.add(ft))}const He=new Map,Je=nT(y,Array.from(ce));Je.forEach((ot,ft)=>{const _t=fm+O++;He.set(ft,_t),ot.forEach(Wt=>No(Wt,_t))}),n.push(()=>{C.forEach((ot,ft)=>{const _t=A.get(ft);ot.forEach(Wt=>Bc(Wt,_t))}),Je.forEach((ot,ft)=>{const _t=He.get(ft);ot.forEach(Wt=>Bc(Wt,_t))}),W.forEach(ot=>{this.processLeaveNode(ot)})});const kt=[],li=[];for(let ot=this._namespaceList.length-1;ot>=0;ot--)this._namespaceList[ot].drainQueuedTransitions(e).forEach(_t=>{const Wt=_t.player,un=_t.element;if(kt.push(Wt),this.collectedEnterElements.length){const Rn=un[Jo];if(Rn&&Rn.setForMove){if(Rn.previousTriggersValues&&Rn.previousTriggersValues.has(_t.triggerName)){const Ns=Rn.previousTriggersValues.get(_t.triggerName),zo=this.statesByElement.get(_t.element);if(zo&&zo.has(_t.triggerName)){const vf=zo.get(_t.triggerName);vf.value=Ns,zo.set(_t.triggerName,vf)}}return void Wt.destroy()}}const Sr=!b||!this.driver.containsElement(b,un),ko=He.get(un),Ya=A.get(un),Ai=this._buildInstruction(_t,i,Ya,ko,Sr);if(Ai.errors&&Ai.errors.length)return void li.push(Ai);if(Sr)return Wt.onStart(()=>_s(un,Ai.fromStyles)),Wt.onDestroy(()=>fr(un,Ai.toStyles)),void o.push(Wt);if(_t.isFallbackTransition)return Wt.onStart(()=>_s(un,Ai.fromStyles)),Wt.onDestroy(()=>fr(un,Ai.toStyles)),void o.push(Wt);const WA=[];Ai.timelines.forEach(Rn=>{Rn.stretchStartingKeyframe=!0,this.disabledNodes.has(Rn.element)||WA.push(Rn)}),Ai.timelines=WA,i.append(un,Ai.timelines),a.push({instruction:Ai,player:Wt,element:un}),Ai.queriedElements.forEach(Rn=>bo(s,Rn,[]).push(Wt)),Ai.preStyleProps.forEach((Rn,Ns)=>{if(Rn.size){let zo=c.get(Ns);zo||c.set(Ns,zo=new Set),Rn.forEach((vf,F0)=>zo.add(F0))}}),Ai.postStyleProps.forEach((Rn,Ns)=>{let zo=u.get(Ns);zo||u.set(Ns,zo=new Set),Rn.forEach((vf,F0)=>zo.add(F0))})});if(li.length){const ot=[];li.forEach(ft=>{ot.push(function ez(t,n){return new de(3505,!1)}())}),kt.forEach(ft=>ft.destroy()),this.reportError(ot)}const bi=new Map,xn=new Map;a.forEach(ot=>{const ft=ot.element;i.has(ft)&&(xn.set(ft,ft),this._beforeAnimationBuild(ot.player.namespaceId,ot.instruction,bi))}),o.forEach(ot=>{const ft=ot.element;this._getPreviousPlayers(ft,!1,ot.namespaceId,ot.triggerName,null).forEach(Wt=>{bo(bi,ft,[]).push(Wt),Wt.destroy()})});const Do=W.filter(ot=>rT(ot,c,u)),ir=new Map;iT(ir,this.driver,ie,u,Ur).forEach(ot=>{rT(ot,c,u)&&Do.push(ot)});const ku=new Map;C.forEach((ot,ft)=>{iT(ku,this.driver,new Set(ot),c,"!")}),Do.forEach(ot=>{const ft=ir.get(ot),_t=ku.get(ot);ir.set(ot,new Map([...ft?.entries()??[],..._t?.entries()??[]]))});const Fs=[],$A=[],GA={};a.forEach(ot=>{const{element:ft,player:_t,instruction:Wt}=ot;if(i.has(ft)){if(p.has(ft))return _t.onDestroy(()=>fr(ft,Wt.toStyles)),_t.disabled=!0,_t.overrideTotalTime(Wt.totalTime),void o.push(_t);let un=GA;if(xn.size>1){let ko=ft;const Ya=[];for(;ko=ko.parentNode;){const Ai=xn.get(ko);if(Ai){un=Ai;break}Ya.push(ko)}Ya.forEach(Ai=>xn.set(Ai,un))}const Sr=this._buildAnimation(_t.namespaceId,Wt,bi,r,ku,ir);if(_t.setRealPlayer(Sr),un===GA)Fs.push(_t);else{const ko=this.playersByElement.get(un);ko&&ko.length&&(_t.parentPlayer=ka(ko)),o.push(_t)}}else _s(ft,Wt.fromStyles),_t.onDestroy(()=>fr(ft,Wt.toStyles)),$A.push(_t),p.has(ft)&&o.push(_t)}),$A.forEach(ot=>{const ft=r.get(ot.element);if(ft&&ft.length){const _t=ka(ft);ot.setRealPlayer(_t)}}),o.forEach(ot=>{ot.parentPlayer?ot.syncPlayerEvents(ot.parentPlayer):ot.destroy()});for(let ot=0;ot!Sr.destroyed);un.length?Jz(this,ft,un):this.processLeaveNode(ft)}return W.length=0,Fs.forEach(ot=>{this.players.push(ot),ot.onDone(()=>{ot.destroy();const ft=this.players.indexOf(ot);this.players.splice(ft,1)}),ot.play()}),Fs}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let a=[];if(e){const s=this.playersByQueriedElement.get(n);s&&(a=s)}else{const s=this.playersByElement.get(n);if(s){const c=!r||r==Id;s.forEach(u=>{u.queued||!c&&u.triggerName!=o||a.push(u)})}}return(i||o)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||o&&o!=s.triggerName))),a}_beforeAnimationBuild(n,e,i){const r=e.element,a=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const u=c.element,p=u!==r,b=bo(i,u,[]);this._getPreviousPlayers(u,p,a,s,e.toState).forEach(C=>{const A=C.getRealPlayer();A.beforeDestroy&&A.beforeDestroy(),C.destroy(),b.push(C)})}_s(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,a){const s=e.triggerName,c=e.element,u=[],p=new Set,b=new Set,y=e.timelines.map(A=>{const O=A.element;p.add(O);const W=O[Jo];if(W&&W.removedBeforeQueried)return new kd(A.duration,A.delay);const ce=O!==c,ie=function e7(t){const n=[];return oT(t,n),n}((i.get(O)||Wz).map(bi=>bi.getRealPlayer())).filter(bi=>!!bi.element&&bi.element===O),He=r.get(O),Je=a.get(O),kt=RM(this._normalizer,A.keyframes,He,Je),li=this._buildPlayer(A,kt,ie);if(A.subTimeline&&o&&b.add(O),ce){const bi=new mv(n,s,O);bi.setRealPlayer(li),u.push(bi)}return li});u.forEach(A=>{bo(this.playersByQueriedElement,A.element,[]).push(A),A.onDone(()=>function Yz(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,A.element,A))}),p.forEach(A=>No(A,zM));const C=ka(y);return C.onDestroy(()=>{p.forEach(A=>Bc(A,zM)),fr(c,e.toStyles)}),b.forEach(A=>{bo(o,A,[]).push(C)}),C}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new kd(n.duration,n.delay)}}class mv{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new kd,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>qb(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){bo(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Sm(t){return t&&1===t.nodeType}function tT(t,n){const e=t.style.display;return t.style.display=n??"none",e}function iT(t,n,e,i,o){const r=[];e.forEach(c=>r.push(tT(c)));const a=[];i.forEach((c,u)=>{const p=new Map;c.forEach(b=>{const y=n.computeStyle(u,b,o);p.set(b,y),(!y||0==y.length)&&(u[Jo]=qz,a.push(u))}),t.set(u,p)});let s=0;return e.forEach(c=>tT(c,r[s++])),a}function nT(t,n){const e=new Map;if(t.forEach(s=>e.set(s,[])),0==n.length)return e;const o=new Set(n),r=new Map;function a(s){if(!s)return 1;let c=r.get(s);if(c)return c;const u=s.parentNode;return c=e.has(u)?u:o.has(u)?1:a(u),r.set(s,c),c}return n.forEach(s=>{const c=a(s);1!==c&&e.get(c).push(s)}),e}function No(t,n){t.classList?.add(n)}function Bc(t,n){t.classList?.remove(n)}function Jz(t,n,e){ka(e).onDone(()=>t.processLeaveNode(n))}function oT(t,n){for(let e=0;eo.add(r)):n.set(t,i),e.delete(t),!0}class Mm{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new Zz(n,e,i),this._timelineEngine=new zz(n,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,i,o,r){const a=n+"-"+o;let s=this._triggerCache[a];if(!s){const c=[],p=nv(this._driver,r,c,[]);if(c.length)throw function Uj(t,n){return new de(3404,!1)}();s=function Lz(t,n,e){return new Bz(t,n,e)}(o,p,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,o,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,a]=FM(i);this._timelineEngine.command(r,e,a,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[a,s]=FM(i);return this._timelineEngine.listen(a,e,s,r)}return this._transitionEngine.listen(n,e,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let n7=(()=>{class t{static#e=this.initialStylesByElement=new WeakMap;constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&fr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fr(this._element,this._initialStyles),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(_s(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_s(this._element,this._endStyles),this._endStyles=null),fr(this._element,this._initialStyles),this._state=3)}}return t})();function pv(t){let n=null;return t.forEach((e,i)=>{(function o7(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class aT{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:GM(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class r7{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return LM(n,e)}getParentElement(n){return Yb(n)}query(n,e,i){return BM(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,r,a=[]){const c={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(c.easing=r);const u=new Map,p=a.filter(C=>C instanceof aT);(function hz(t,n){return 0===t||0===n})(i,o)&&p.forEach(C=>{C.currentSnapshot.forEach((A,O)=>u.set(O,A))});let b=function lz(t){return t.length?t[0]instanceof Map?t:t.map(n=>HM(n)):[]}(e).map(C=>Sa(C));b=function mz(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,a)=>{i.has(a)||o.push(a),i.set(a,r)}),o.length)for(let r=1;ra.set(s,GM(t,s)))}}return n}(n,b,u);const y=function i7(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=pv(n[0]),n.length>1&&(i=pv(n[n.length-1]))):n instanceof Map&&(e=pv(n)),e||i?new n7(t,e,i):null}(n,b);return new aT(n,b,c,y)}}let a7=(()=>{class t extends EM{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:To.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?OM(e):e;return sT(this._renderer,null,i,"register",[o]),new s7(i,this._renderer)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Xl),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class s7 extends xj{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new c7(this._id,n,e||{},this._renderer)}}class c7{constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return sT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function sT(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const cT="@.disabled";let l7=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,a)=>{const s=a?.parentNode(r);s&&a.removeChild(s,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(r);return p||(p=new lT("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,p)),p}const a=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const c=p=>{Array.isArray(p)?p.forEach(c):this.engine.registerTrigger(a,s,e,p.name,p)};return i.data.animation.forEach(c),new d7(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[a,s]=r;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Xl),Z(Mm),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();class lT{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==cT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class d7 extends lT{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==cT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function u7(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),a="";return"@"!=r.charAt(0)&&([r,a]=function h7(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,i,s)})}return this.delegate.listen(n,e,i)}}const dT=[{provide:EM,useClass:a7},{provide:cv,useFactory:function p7(){return new Pz}},{provide:Mm,useClass:(()=>{class t extends Mm{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Qb),Z(cv),Z(wa))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})()},{provide:Xl,useFactory:function f7(t,n,e){return new l7(t,n,e)},deps:[Bb,Mm,We]}],fv=[{provide:Qb,useFactory:()=>new r7},{provide:ti,useValue:"BrowserAnimations"},...dT],uT=[{provide:Qb,useClass:VM},{provide:ti,useValue:"NoopAnimations"},...dT];let gv,g7=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?uT:fv}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:fv,imports:[DM]})}return t})();try{gv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{gv=!1}let Vc,Qt=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function xV(t){return t===rM}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!gv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||t)(Z(_a))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function mT(){if(Vc)return Vc;if("object"!=typeof document||!document)return Vc=new Set(hT),Vc;let t=document.createElement("input");return Vc=new Set(hT.filter(n=>(t.setAttribute("type",n),t.type===n))),Vc}let Ed,Im,vs,_v;function Ma(t){return function _7(){if(null==Ed&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ed=!0}))}finally{Ed=Ed||!1}return Ed}()?t:!!t.capture}function pT(){if(null==vs){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return vs=!1,vs;if("scrollBehavior"in document.documentElement.style)vs=!0;else{const t=Element.prototype.scrollTo;vs=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return vs}function Od(){if("object"!=typeof document||!document)return 0;if(null==Im){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Im=0,0===t.scrollLeft&&(t.scrollLeft=1,Im=0===t.scrollLeft?1:2),t.remove()}return Im}function Em(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Gr(t){return t.composedPath?t.composedPath()[0]:t.target}function bv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function dn(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Ut(t,n,e){const i=z(t)||n||e?{next:t,error:n,complete:e}:t;return i?rt((o,r)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;o.subscribe(ct(r,c=>{var u;null===(u=i.next)||void 0===u||u.call(i,c),r.next(c)},()=>{var c;s=!1,null===(c=i.complete)||void 0===c||c.call(i),r.complete()},c=>{var u;s=!1,null===(u=i.error)||void 0===u||u.call(i,c),r.error(c)},()=>{var c,u;s&&(null===(c=i.unsubscribe)||void 0===c||c.call(i)),null===(u=i.finalize)||void 0===u||u.call(i)}))}):Te}class P7 extends T{constructor(n,e){super()}schedule(n,e=0){return this}}const Rm={setInterval(t,n,...e){const{delegate:i}=Rm;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=Rm;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class xv extends P7{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return Rm.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Rm.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,S(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const wv={now:()=>(wv.delegate||Date).now(),delegate:void 0};class Pd{constructor(n,e=Pd.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}Pd.now=wv.now;class Cv extends Pd{constructor(n,e=Pd.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Rd=new Cv(xv),R7=Rd;function Fm(t,n=Rd){return rt((e,i)=>{let o=null,r=null,a=null;const s=()=>{if(o){o.unsubscribe(),o=null;const u=r;r=null,i.next(u)}};function c(){const u=a+t,p=n.now();if(p{r=u,a=n.now(),o||(o=n.schedule(c,t),i.add(o))},()=>{s(),i.complete()},void 0,()=>{r=o=null}))})}function Tt(t,n){return rt((e,i)=>{let o=0;e.subscribe(ct(i,r=>t.call(n,r,o++)&&i.next(r)))})}function Pt(t){return t<=0?()=>so:rt((n,e)=>{let i=0;n.subscribe(ct(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Dv(t){return Tt((n,e)=>t<=e)}function nt(t){return rt((n,e)=>{wn(t).subscribe(ct(e,()=>e.complete(),k)),!e.closed&&n.subscribe(e)})}function Ue(t){return null!=t&&"false"!=`${t}`}function ki(t,n=0){return function F7(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Nm(t){return Array.isArray(t)?t:[t]}function Yi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function qr(t){return t instanceof Le?t.nativeElement:t}let fT=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),L7=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=qr(e);return new Ye(o=>{const a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new te,o=this._mutationObserverFactory.create(r=>i.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(fT))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gT=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=ki(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new Ne,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Fm(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(L7),g(Le),g(We))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Lm=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[fT]})}return t})();const{isArray:B7}=Array,{getPrototypeOf:V7,prototype:j7,keys:z7}=Object;function _T(t){if(1===t.length){const n=t[0];if(B7(n))return{args:n,keys:null};if(function H7(t){return t&&"object"==typeof t&&V7(t)===j7}(n)){const e=z7(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:U7}=Array;function kv(t){return Ge(n=>function $7(t,n){return U7(n)?t(...n):t(n)}(t,n))}function bT(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function Bm(...t){const n=yl(t),e=W0(t),{args:i,keys:o}=_T(t);if(0===i.length)return Bi([],n);const r=new Ye(function G7(t,n,e=Te){return i=>{vT(n,()=>{const{length:o}=t,r=new Array(o);let a=o,s=o;for(let c=0;c{const u=Bi(t[c],n);let p=!1;u.subscribe(ct(i,b=>{r[c]=b,p||(p=!0,s--),s||i.next(e(r.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,n,o?a=>bT(o,a):Te));return e?r.pipe(kv(e)):r}function vT(t,n,e){t?Mr(e,t,n):n()}function Fd(...t){return function W7(){return js(1)}()(Bi(t,yl(t)))}function Hi(...t){const n=yl(t);return rt((e,i)=>{(n?Fd(t,e,n):Fd(t,e)).subscribe(i)})}const yT=new Set;let ys,q7=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z7}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function K7(t,n){if(!yT.has(t))try{ys||(ys=document.createElement("style"),n&&(ys.nonce=n),ys.setAttribute("type","text/css"),document.head.appendChild(ys)),ys.sheet&&(ys.sheet.insertRule(`@media ${t} {body{ }}`,0),yT.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(Ug,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Z7(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Sv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new te}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xT(Nm(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=Bm(xT(Nm(e)).map(a=>this._registerQuery(a).observable));return r=Fd(r.pipe(Pt(1)),r.pipe(Dv(1),Fm(0))),r.pipe(Ge(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{s.matches=s.matches||c,s.breakpoints[u]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Ye(a=>{const s=c=>this._zone.run(()=>a.next(c));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Hi(i),Ge(({matches:a})=>({query:e,matches:a})),nt(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static#e=this.\u0275fac=function(i){return new(i||t)(Z(q7),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xT(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Vm(t,n,e){const i=jm(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))}function zc(t,n,e){const o=jm(t,n).filter(r=>r!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}function jm(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const CT="cdk-describedby-message",zm="cdk-describedby-host";let Mv=0,Q7=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Mv++,this._document=e,this._id=Fe(Zl)+"-"+Mv++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const r=Tv(i,o);"string"!=typeof i?(DT(i,this._id),this._messageRegistry.set(r,{messageElement:i,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;const r=Tv(i,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof i){const a=this._messageRegistry.get(r);a&&0===a.referenceCount&&this._deleteMessageElement(r)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${zm}="${this._id}"]`);for(let i=0;i0!=o.indexOf(CT));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);Vm(e,"aria-describedby",o.messageElement.id),e.setAttribute(zm,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,zc(e,"aria-describedby",o.messageElement.id),e.removeAttribute(zm)}_isElementDescribedByMessage(e,i){const o=jm(e,"aria-describedby"),r=this._messageRegistry.get(i),a=r&&r.messageElement.id;return!!a&&-1!=o.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),r=e.getAttribute("aria-label");return!(!o||r&&r.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Qt))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Tv(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function DT(t,n){t.id||(t.id=`${CT}-${n}-${Mv++}`)}class kT{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new te,this._typeaheadSubscription=T.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new te,this.change=new te,n instanceof Vr&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ut(e=>this._pressedLetters.push(e)),Fm(n),Tt(()=>this._pressedLetters.length>0),Ge(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Vr?this._items.toArray():this._items}}class ST extends kT{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Hm extends kT{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Nd=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function J7(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function X7(t){try{return t.frameElement}catch{return null}}(function sH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===TT(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=TT(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function rH(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function aH(t){return!function tH(t){return function nH(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function eH(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function iH(t){return function oH(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||MT(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MT(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function TT(t){if(!MT(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class cH{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Pt(1)).subscribe(n)}}let Um=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new cH(e,this._checker,this._ngZone,this._document,i)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Nd),Z(We),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Iv(t){return 0===t.buttons||0===t.detail}function Ev(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const lH=new oe("cdk-input-modality-detector-options"),dH={ignoreKeys:[18,17,224,91,16]},Hc=Ma({passive:!0,capture:!0});let uH=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new bt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Gr(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Iv(a)?"keyboard":"mouse"),this._mostRecentTarget=Gr(a))},this._onTouchstart=a=>{Ev(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Gr(a))},this._options={...dH,...r},this.modalityDetected=this._modality.pipe(Dv(1)),this.modalityChanged=this.modalityDetected.pipe(zs()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Hc),o.addEventListener("mousedown",this._onMousedown,Hc),o.addEventListener("touchstart",this._onTouchstart,Hc)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Hc),document.removeEventListener("mousedown",this._onMousedown,Hc),document.removeEventListener("touchstart",this._onTouchstart,Hc))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(We),Z(at),Z(lH,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hH=new oe("liveAnnouncerElement",{providedIn:"root",factory:function mH(){return null}}),pH=new oe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let fH=0,Ov=(()=>{class t{constructor(e,i,o,r){this._ngZone=i,this._defaultOptions=r,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let r,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[r,a]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{constructor(e,i,o,r,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new te,this._rootNodeFocusAndBlurListener=s=>{for(let u=Gr(s);u;u=u.parentElement)"focus"===s.type?this._onFocus(s,u):this._onBlur(s,u)},this._document=r,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const o=qr(e);if(!this._platform.isBrowser||1!==o.nodeType)return qe();const r=function v7(t){if(function b7(){if(null==_v){const t=typeof document<"u"?document.head:null;_v=!(!t||!t.createShadowRoot&&!t.attachShadow)}return _v}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;const s={checkChildren:i,subject:new te,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const i=qr(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=qr(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([s,c])=>this._originChanged(s,i,c)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=Gr(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,$m),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,$m)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(nt(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$m),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$m),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Ne}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(yo))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();const ET="cdk-high-contrast-black-on-white",OT="cdk-high-contrast-white-on-black",Av="cdk-high-contrast-active";let AT=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Fe(Sv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Av,ET,OT),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Av,ET):2===i&&e.add(Av,OT)}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pv=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(AT))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Lm]})}return t})();const bH=new oe("cdk-dir-doc",{providedIn:"root",factory:function vH(){return Fe(at)}}),yH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Qi=(()=>{class t{constructor(e){this.value="ltr",this.change=new Ne,e&&(this.value=function xH(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?yH.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(bH,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ld=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const wH=["text"];function CH(t,n){if(1&t&&D(0,"mat-pseudo-checkbox",6),2&t){const e=w();f("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function DH(t,n){1&t&&D(0,"mat-pseudo-checkbox",7),2&t&&f("disabled",w().disabled)}function kH(t,n){if(1&t&&(d(0,"span",8),h(1),l()),2&t){const e=w();m(1),Se("(",e.group.label,")")}}const SH=[[["mat-icon"]],"*"],MH=["mat-icon","*"],IH=new oe("mat-sanity-checks",{providedIn:"root",factory:function TH(){return!0}});let wt=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!bv()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(i){return new(i||t)(Z(AT),Z(IH,8),Z(at))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Ld,Ld]})}return t})();function Ia(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=Ue(n)}constructor(...n){super(...n),this._disabled=!1}}}function Ea(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function Oa(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Ue(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function Aa(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?ki(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}function Rv(t){return class extends t{updateErrorState(){const n=this.errorState,r=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);r!==n&&(this.errorState=r,this.stateChanges.next())}constructor(...n){super(...n),this.errorState=!1}}}let Gm=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class OH{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const FT=Ma({passive:!0,capture:!0});class AH{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=Gr(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){const r=this._events.get(e);if(r){const a=r.get(i);a?a.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,FT)})}removeHandler(n,e,i){const o=this._events.get(n);if(!o)return;const r=o.get(e);r&&(r.delete(i),0===r.size&&o.delete(e),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,FT)))}}const NT={enterDuration:225,exitDuration:150},LT=Ma({passive:!0,capture:!0}),BT=["mousedown","touchstart"],VT=["mouseup","mouseleave","touchend","touchcancel"];class Vd{static#e=this._eventManager=new AH;constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=qr(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...NT,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const a=i.radius||function RH(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),s=n-o.left,c=e-o.top,u=r.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=s-a+"px",p.style.top=c-a+"px",p.style.height=2*a+"px",p.style.width=2*a+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(p);const b=window.getComputedStyle(p),C=b.transitionDuration,A="none"===b.transitionProperty||"0s"===C||"0s, 0s"===C||0===o.width&&0===o.height,O=new OH(this,p,i,A);p.style.transform="scale3d(1, 1, 1)",O.state=0,i.persistent||(this._mostRecentTransientRipple=O);let W=null;return!A&&(u||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ce=()=>this._finishRippleTransition(O),ie=()=>this._destroyRipple(O);p.addEventListener("transitionend",ce),p.addEventListener("transitioncancel",ie),W={onTransitionEnd:ce,onTransitionCancel:ie}}),this._activeRipples.set(O,W),(A||!u)&&this._finishRippleTransition(O),O}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...NT,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=qr(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,BT.forEach(i=>{Vd._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{VT.forEach(e=>{this._triggerElement.addEventListener(e,this,LT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=Iv(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(BT.forEach(e=>Vd._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&VT.forEach(e=>n.removeEventListener(e,this,LT)))}}const Uc=new oe("mat-ripple-global-options");let Pa=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Vd(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(Qt),g(Uc,8),g(ti,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),Ra=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})(),FH=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(i){return new(i||t)(g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){2&i&&Xe("mat-pseudo-checkbox-indeterminate","indeterminate"===o.state)("mat-pseudo-checkbox-checked","checked"===o.state)("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal","minimal"===o.appearance)("mat-pseudo-checkbox-full","full"===o.appearance)("_mat-animation-noopable","NoopAnimations"===o._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return t})(),jT=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt]})}return t})();const Fv=new oe("MAT_OPTION_PARENT_COMPONENT"),Nv=new oe("MatOptgroup");let NH=0;class zT{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let LH=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ue(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,r){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+NH++,this.onSelectionChange=new Ne,this._stateChanges=new te}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!dn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new zT(this,e))}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(wH,7),2&i){let r;Oe(r=Ae())&&(o._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return t})(),_n=(()=>{class t extends LH{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Fv,8),g(Nv,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){1&i&&L("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),2&i&&(Hn("id",o.id),et("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),Xe("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},exportAs:["matOption"],features:[fe],ngContentSelectors:MH,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(i,o){1&i&&(Lt(SH),_(0,CH,1,2,"mat-pseudo-checkbox",0),Ke(1),d(2,"span",1,2),Ke(4,1),l(),_(5,DH,1,1,"mat-pseudo-checkbox",3),_(6,kH,2,1,"span",4),D(7,"div",5)),2&i&&(f("ngIf",o.multiple),m(5),f("ngIf",!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator),m(1),f("ngIf",o.group&&o.group._inert),m(1),f("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Pa,Et,FH],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();function HT(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),r=0;for(let a=0;ae+i?Math.max(0,t-i+n):e}let Wm=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Ra,Mn,wt,jT]})}return t})();const $T={capture:!0},GT=["focus","click","mouseenter","touchstart"],Lv="mat-ripple-loader-uninitialized",Bv="mat-ripple-loader-class-name",WT="mat-ripple-loader-centered",qm="mat-ripple-loader-disabled";let qT=(()=>{class t{constructor(){this._document=Fe(at,{optional:!0}),this._animationMode=Fe(ti,{optional:!0}),this._globalRippleOptions=Fe(Uc,{optional:!0}),this._platform=Fe(Qt),this._ngZone=Fe(We),this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;const o=e.target.closest(`[${Lv}]`);o&&this.createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const e of GT)this._document?.addEventListener(e,this._onInteraction,$T)})}ngOnDestroy(){for(const e of GT)this._document?.removeEventListener(e,this._onInteraction,$T)}configureRipple(e,i){e.setAttribute(Lv,""),(i.className||!e.hasAttribute(Bv))&&e.setAttribute(Bv,i.className||""),i.centered&&e.setAttribute(WT,""),i.disabled&&e.setAttribute(qm,"")}getRipple(e){return e.matRipple?e.matRipple:this.createRipple(e)}setDisabled(e,i){const o=e.matRipple;o?o.disabled=i:i?e.setAttribute(qm,""):e.removeAttribute(qm)}createRipple(e){if(!this._document)return;e.querySelector(".mat-ripple")?.remove();const i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Bv)),e.append(i);const o=new Pa(new Le(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(WT),o.disabled=e.hasAttribute(qm),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(Lv),e.matRipple=i}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const BH=["*",[["mat-toolbar-row"]]],VH=["*","mat-toolbar-row"],jH=Ea(class{constructor(t){this._elementRef=t}});let zH=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),HH=(()=>{class t extends jH{constructor(e,i,o){super(e),this._platform=i,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(at))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,o,r){if(1&i&&pt(r,zH,5),2&i){let a;Oe(a=Ae())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",0===o._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[fe],ngContentSelectors:VH,decls:2,vars:0,template:function(i,o){1&i&&(Lt(BH),Ke(0),Ke(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return t})(),KT=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})();const ZT=["mat-button",""],YT=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],QT=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],XT=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",$H=["mat-icon-button",""],GH=["*"],WH=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],qH=Ea(Ia(Oa(class{constructor(t){this._elementRef=t}})));let Vv=(()=>{class t extends qH{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ue(e),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._updateRippleDisabled()}constructor(e,i,o,r){super(e),this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=Fe(yo),this._rippleLoader=Fe(qT),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const a=e.nativeElement.classList;for(const s of WH)this._hasHostAttributes(s.selector)&&s.mdcClasses.forEach(c=>{a.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})(),ZH=(()=>{class t extends Vv{constructor(e,i,o,r){super(e,i,o,r),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})(),Kt=(()=>{class t extends Vv{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(i,o){2&i&&(et("disabled",o.disabled||null),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[fe],attrs:ZT,ngContentSelectors:QT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Lt(YT),D(0,"span",0),Ke(1),d(2,"span",1),Ke(3,1),l(),Ke(4,2),D(5,"span",2)(6,"span",3)),2&i&&Xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})(),JT=(()=>{class t extends ZH{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(i,o){2&i&&(et("disabled",o.disabled||null)("tabindex",o.disabled?-1:o.tabIndex)("aria-disabled",o.disabled.toString()),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[fe],attrs:ZT,ngContentSelectors:QT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Lt(YT),D(0,"span",0),Ke(1),d(2,"span",1),Ke(3,1),l(),Ke(4,2),D(5,"span",2)(6,"span",3)),2&i&&Xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',XT],encapsulation:2,changeDetection:0})}return t})(),Fa=(()=>{class t extends Vv{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(i,o){2&i&&(et("disabled",o.disabled||null),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[fe],attrs:$H,ngContentSelectors:GH,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Lt(),D(0,"span",0),Ke(1),D(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',XT],encapsulation:2,changeDetection:0})}return t})(),jv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Ra,wt]})}return t})();function $c(t,n){const e=z(t)?t:()=>t,i=o=>o.error(e());return new Ye(n?o=>n.schedule(i,0,o):i)}function zv(...t){const n=W0(t),{args:e,keys:i}=_T(t),o=new Ye(r=>{const{length:a}=e;if(!a)return void r.complete();const s=new Array(a);let c=a,u=a;for(let p=0;p{b||(b=!0,u--),s[p]=y},()=>c--,void 0,()=>{(!c||!b)&&(u||r.next(i?bT(i,s):s),r.complete())}))}});return n?o.pipe(kv(n)):o}function Si(t){return rt((n,e)=>{let r,i=null,o=!1;i=n.subscribe(ct(e,void 0,void 0,a=>{r=wn(t(a,Si(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function xs(t){return rt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Gc(t,n){return z(n)?en(t,n,1):en(t,1)}class Km{}class Zm{}class gr{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(a):this.headers.set(r,[a])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof gr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new gr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof gr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===r.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(n,e){const i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class QH{encodeKey(n){return eI(n)}encodeValue(n){return eI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const JH=/%(\d[a-f0-9])/gi,e9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function eI(t){return encodeURIComponent(t).replace(JH,(n,e)=>e9[e]??n)}function Ym(t){return`${t}`}class Na{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new QH,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function XH(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[a,s]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(Ym):[Ym(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Na({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Ym(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(Ym(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class t9{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function tI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function iI(t){return typeof Blob<"u"&&t instanceof Blob}function nI(t){return typeof FormData<"u"&&t instanceof FormData}class jd{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function i9(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,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.headers||(this.headers=new gr),this.context||(this.context=new t9),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":sb.set(y,n.setHeaders[y]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((b,y)=>b.set(y,n.setParams[y]),u)),new jd(e,i,r,{params:u,headers:c,context:p,reportProgress:s,responseType:o,withCredentials:a})}}var Wc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Wc||{});class Hv{constructor(n,e=200,i="OK"){this.headers=n.headers||new gr,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Uv extends Hv{constructor(n={}){super(n),this.type=Wc.ResponseHeader}clone(n={}){return new Uv({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class qc extends Hv{constructor(n={}){super(n),this.type=Wc.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new qc({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class oI extends Hv{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function $v(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Qm=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof jd)r=e;else{let c,u;c=o.headers instanceof gr?o.headers:new gr(o.headers),o.params&&(u=o.params instanceof Na?o.params:new Na({fromObject:o.params})),r=new jd(e,i,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const a=qe(r).pipe(Gc(c=>this.handler.handle(c)));if(e instanceof jd||"events"===o.observe)return a;const s=a.pipe(Tt(c=>c instanceof qc));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return s.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return s.pipe(Ge(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return s.pipe(Ge(c=>c.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Na).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,$v(o,i))}post(e,i,o={}){return this.request("POST",e,$v(o,i))}put(e,i,o={}){return this.request("PUT",e,$v(o,i))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Km))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function sI(t,n){return n(t)}function r9(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const cI=new oe(""),zd=new oe(""),lI=new oe("");function s9(){let t=null;return(n,e)=>{null===t&&(t=(Fe(cI,{optional:!0})??[]).reduceRight(r9,sI));const i=Fe(qh),o=i.add();return t(n,e).pipe(xs(()=>i.remove(o)))}}let dI=(()=>{class t extends Km{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=Fe(qh)}handle(e){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(zd),...this.injector.get(lI,[])]));this.chain=o.reduceRight((r,a)=>function a9(t,n,e){return(i,o)=>e.runInContext(()=>n(i,r=>t(r,o)))}(r,a,this.injector),sI)}const i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(xs(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Zm),Z(po))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const u9=/^\)\]\}',?\n/;let hI=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new de(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Bi(i.\u0275loadImpl()):qe(null)).pipe(qi(()=>new Ye(r=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((O,W)=>a.setRequestHeader(O,W.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const O=e.detectContentTypeHeader();null!==O&&a.setRequestHeader("Content-Type",O)}if(e.responseType){const O=e.responseType.toLowerCase();a.responseType="json"!==O?O:"text"}const s=e.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const O=a.statusText||"OK",W=new gr(a.getAllResponseHeaders()),ce=function h9(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||e.url;return c=new Uv({headers:W,status:a.status,statusText:O,url:ce}),c},p=()=>{let{headers:O,status:W,statusText:ce,url:ie}=u(),He=null;204!==W&&(He=typeof a.response>"u"?a.responseText:a.response),0===W&&(W=He?200:0);let Je=W>=200&&W<300;if("json"===e.responseType&&"string"==typeof He){const kt=He;He=He.replace(u9,"");try{He=""!==He?JSON.parse(He):null}catch(li){He=kt,Je&&(Je=!1,He={error:li,text:He})}}Je?(r.next(new qc({body:He,headers:O,status:W,statusText:ce,url:ie||void 0})),r.complete()):r.error(new oI({error:He,headers:O,status:W,statusText:ce,url:ie||void 0}))},b=O=>{const{url:W}=u(),ce=new oI({error:O,status:a.status||0,statusText:a.statusText||"Unknown Error",url:W||void 0});r.error(ce)};let y=!1;const C=O=>{y||(r.next(u()),y=!0);let W={type:Wc.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(W.total=O.total),"text"===e.responseType&&a.responseText&&(W.partialText=a.responseText),r.next(W)},A=O=>{let W={type:Wc.UploadProgress,loaded:O.loaded};O.lengthComputable&&(W.total=O.total),r.next(W)};return a.addEventListener("load",p),a.addEventListener("error",b),a.addEventListener("timeout",b),a.addEventListener("abort",b),e.reportProgress&&(a.addEventListener("progress",C),null!==s&&a.upload&&a.upload.addEventListener("progress",A)),a.send(s),r.next({type:Wc.Sent}),()=>{a.removeEventListener("error",b),a.removeEventListener("abort",b),a.removeEventListener("load",p),a.removeEventListener("timeout",b),e.reportProgress&&(a.removeEventListener("progress",C),null!==s&&a.upload&&a.upload.removeEventListener("progress",A)),a.readyState!==a.DONE&&a.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(sM))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();const Gv=new oe("XSRF_ENABLED"),mI=new oe("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),pI=new oe("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class fI{}let f9=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,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=qS(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(_a),Z(mI))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function g9(t,n){const e=t.url.toLowerCase();if(!Fe(Gv)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=Fe(fI).getToken(),o=Fe(pI);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var La=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(La||{});function _9(...t){const n=[Qm,hI,dI,{provide:Km,useExisting:dI},{provide:Zm,useExisting:hI},{provide:zd,useValue:g9,multi:!0},{provide:Gv,useValue:!0},{provide:fI,useClass:f9}];for(const e of t)n.push(...e.\u0275providers);return function Ng(t){return{\u0275providers:t}}(n)}const gI=new oe("LEGACY_INTERCEPTOR_FN");function b9(){return function ws(t,n){return{\u0275kind:t,\u0275providers:n}}(La.LegacyInterceptors,[{provide:gI,useFactory:s9},{provide:zd,useExisting:gI,multi:!0}])}let v9=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[_9(b9())]})}return t})();const k9=["*"];let Jm;function Hd(t){return function S9(){if(void 0===Jm&&(Jm=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Jm=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Jm}()?.createHTML(t)||t}function _I(t){return Error(`Unable to find icon with the name "${t}"`)}function bI(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function vI(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Cs{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let ep=(()=>{class t{constructor(e,i,o,r){this._httpClient=e,this._sanitizer=i,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,r){return this._addSvgIconConfig(e,i,new Cs(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,r){const a=this._sanitizer.sanitize(gn.HTML,o);if(!a)throw vI(o);const s=Hd(a);return this._addSvgIconConfig(e,i,new Cs("",s,r))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Cs(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const r=this._sanitizer.sanitize(gn.HTML,i);if(!r)throw vI(i);const a=Hd(r);return this._addSvgIconSetConfig(e,new Cs("",a,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(gn.RESOURCE_URL,e);if(!i)throw bI(e);const o=this._cachedIconsByUrl.get(i);return o?qe(tp(o)):this._loadSvgIconFromConfig(new Cs(e,null)).pipe(Ut(r=>this._cachedIconsByUrl.set(i,r)),Ge(r=>tp(r)))}getNamedSvgIcon(e,i=""){const o=yI(i,e);let r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(i,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):$c(_I(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?qe(tp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ge(i=>tp(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?qe(o):zv(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Si(s=>{const u=`Loading icon set URL: ${this._sanitizer.sanitize(gn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(u)),qe(null)})))).pipe(Ge(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw _I(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const r=i[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ut(i=>e.svgText=i),Ge(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?qe(null):this._fetchIcon(e).pipe(Ut(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const r=e.querySelector(`[id="${i}"]`);if(!r)return null;const a=r.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,o);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),o);const s=this._svgElementFromString(Hd(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(Hd("")),o=e.attributes;for(let r=0;rHd(u)),xs(()=>this._inProgressUrlFetches.delete(a)),Tu());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(yI(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;on?n.pathname+n.search:""}}}),xI=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R9=xI.map(t=>`[${t}]`).join(", "),F9=/^url\(['"]?#(.*?)['"]?\)$/;let _i=(()=>{class t extends E9{get inline(){return this._inline}set inline(e){this._inline=Ue(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,r,a,s){super(e),this._iconRegistry=i,this._location=r,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=T.EMPTY,s&&(s.color&&(this.color=this.defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(R9),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{const s=i[r],c=s.getAttribute(a),u=c?c.match(F9):null;if(u){let p=o.get(s);p||(p=[],o.set(s,p)),p.push({name:a,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Pt(1)).subscribe(r=>this._setSvgElement(r),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${r.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(ep),jn("aria-hidden"),g(A9),g(Oo),g(O9,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){2&i&&(et("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Xe("mat-icon-inline",o.inline)("mat-icon-no-color","primary"!==o.color&&"accent"!==o.color&&"warn"!==o.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[fe],ngContentSelectors:k9,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return t})(),wI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})();const N9=["*"],V9=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],j9=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],z9=new oe("MAT_CARD_CONFIG");let Ud=(()=>{class t{constructor(e){this.appearance=e?.appearance||"raised"}static#e=this.\u0275fac=function(i){return new(i||t)(g(z9,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-mdc-card-outlined","outlined"===o.appearance)("mdc-card--outlined","outlined"===o.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:N9,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return t})(),Wv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})(),qv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),CI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:j9,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,o){1&i&&(Lt(V9),Ke(0),d(1,"div",0),Ke(2,1),l(),Ke(3,2))},encapsulation:2,changeDetection:0})}return t})(),DI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Mn,wt]})}return t})();const G9=new oe("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),q9=Ea(class{constructor(t){this._elementRef=t}},"primary");let kI=(()=>{class t extends q9{constructor(e,i,o,r,a){super(e),this._ngZone=i,this._changeDetectorRef=o,this._animationMode=r,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new Ne,this._mode="determinate",this._transitionendHandler=s=>{0===this.animationEnd.observers.length||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===r,a&&(a.color&&(this.color=this.defaultColor=a.color),this.mode=a.mode||this.mode)}get value(){return this._value}set value(e){this._value=SI(ki(e)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=SI(ki(e)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(Nt),g(ti,8),g(G9,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(i,o){2&i&&(et("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Xe("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[fe],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){1&i&&(d(0,"div",0),D(1,"div",1)(2,"div",2),l(),d(3,"div",3),D(4,"span",4),l(),d(5,"div",5),D(6,"span",4),l()),2&i&&(m(1),rn("flex-basis",o._getBufferBarFlexBasis()),m(2),rn("transform",o._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return t})();function SI(t,n=0,e=100){return Math.max(n,Math.min(e,t))}let MI=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt]})}return t})(),TI=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=Ue(e)}get inset(){return this._inset}set inset(e){this._inset=Ue(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){2&i&&(et("aria-orientation",o.vertical?"vertical":"horizontal"),Xe("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return t})(),Kv=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,wt]})}return t})();function Zv(){return rt((t,n)=>{let e=null;t._refCount++;const i=ct(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class Yv extends Ye{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Ji(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new T;const e=this.getSubject();n.add(this.source.subscribe(ct(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=T.EMPTY)}return n}refCount(){return Zv()(this)}}class K9{}function ip(t){return t&&"function"==typeof t.connect&&!(t instanceof Yv)}class II{applyChanges(n,e,i,o,r){n.forEachOperation((a,s,c)=>{let u,p;if(null==a.previousIndex){const b=i(a,s,c);u=e.createEmbeddedView(b.templateRef,b.context,b.index),p=1}else null==c?(e.remove(s),p=3):(u=e.get(s),e.move(u,c),p=2);r&&r({context:u?.context,operation:p,record:a})})}detach(){}}class $d{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new te,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(r)).forEach(r=>this._unmarkSelected(r));const o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n){if(this.compareWith){for(let e of this._selection)if(this.compareWith(n,e))return e;return n}return n}}let Qv=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let o of this._listeners)o(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Gd=new oe("_ViewRepeater");let OI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Fr),g(Le))};static#t=this.\u0275dir=X({type:t})}return t})(),Ds=(()=>{class t extends OI{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})();const Wn=new oe("NgValueAccessor"),Y9={provide:Wn,useExisting:Ht(()=>Mi),multi:!0},X9=new oe("CompositionEventMode");let Mi=(()=>{class t extends OI{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Q9(){const t=Ca()?Ca().getUserAgent():"";return/android (\d+)/.test(t.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(i){return new(i||t)(g(Fr),g(Le),g(X9,8))};static#t=this.\u0275dir=X({type:t,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(i,o){1&i&&L("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Ze([Y9]),fe]})}return t})();function Ba(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function PI(t){return null!=t&&"number"==typeof t.length}const bn=new oe("NgValidators"),Va=new oe("NgAsyncValidators"),J9=/^(?=.{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 me{static min(n){return function RI(t){return n=>{if(Ba(n.value)||Ba(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(Ba(n.value)||Ba(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return NI(n)}static requiredTrue(n){return function LI(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function BI(t){return Ba(t.value)||J9.test(t.value)?null:{email:!0}}(n)}static minLength(n){return VI(n)}static maxLength(n){return jI(n)}static pattern(n){return zI(n)}static nullValidator(n){return null}static compose(n){return qI(n)}static composeAsync(n){return KI(n)}}function NI(t){return Ba(t.value)?{required:!0}:null}function VI(t){return n=>Ba(n.value)||!PI(n.value)?null:n.value.lengthPI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function zI(t){if(!t)return np;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Ba(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function np(t){return null}function HI(t){return null!=t}function UI(t){return cd(t)?Bi(t):t}function $I(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function GI(t,n){return n.map(e=>e(t))}function WI(t){return t.map(n=>function eU(t){return!t.validate}(n)?n:e=>n.validate(e))}function qI(t){if(!t)return null;const n=t.filter(HI);return 0==n.length?null:function(e){return $I(GI(e,n))}}function Xv(t){return null!=t?qI(WI(t)):null}function KI(t){if(!t)return null;const n=t.filter(HI);return 0==n.length?null:function(e){return zv(GI(e,n).map(UI)).pipe(Ge($I))}}function Jv(t){return null!=t?KI(WI(t)):null}function ZI(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function YI(t){return t._rawValidators}function QI(t){return t._rawAsyncValidators}function ey(t){return t?Array.isArray(t)?t:[t]:[]}function op(t,n){return Array.isArray(t)?t.includes(n):t===n}function XI(t,n){const e=ey(n);return ey(t).forEach(o=>{op(e,o)||e.push(o)}),e}function JI(t,n){return ey(n).filter(e=>!op(t,e))}class e2{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(n){this._rawValidators=n||[],this._composedValidatorFn=Xv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Jv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class qn extends e2{get formDirective(){return null}get path(){return null}}class er extends e2{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class t2{constructor(n){this._cd=n}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 vi=(()=>{class t extends t2{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(er,2))};static#t=this.\u0275dir=X({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[fe]})}return t})(),Ui=(()=>{class t extends t2{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,10))};static#t=this.\u0275dir=X({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[fe]})}return t})();const Wd="VALID",ap="INVALID",Kc="PENDING",qd="DISABLED";function ny(t){return(sp(t)?t.validators:t)||null}function oy(t,n){return(sp(n)?n.asyncValidators:t)||null}function sp(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function o2(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new de(1e3,"");if(!i[e])throw new de(1001,"")}function r2(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new de(1002,"")})}class cp{constructor(n,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(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Wd}get invalid(){return this.status===ap}get pending(){return this.status==Kc}get disabled(){return this.status===qd}get enabled(){return this.status!==qd}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(XI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(XI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(JI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(JI(n,this._rawAsyncValidators))}hasValidator(n){return op(this._rawValidators,n)}hasAsyncValidator(n){return op(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Kc,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=qd,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Wd,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wd||this.status===Kc)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qd:Wd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Kc,this._hasOwnPendingAsyncValidator=!0;const e=UI(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ne,this.statusChanges=new Ne}_calculateStatus(){return this._allControlsDisabled()?qd:this.errors?ap:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Kc)?Kc:this._anyControlsHaveStatus(ap)?ap:Wd}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){sp(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function oU(t){return Array.isArray(t)?Xv(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function rU(t){return Array.isArray(t)?Jv(t):t||null}(this._rawAsyncValidators)}}class ni extends cp{constructor(n,e,i){super(ny(e),oy(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){r2(this,0,n),Object.keys(n).forEach(i=>{o2(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class a2 extends ni{}const ks=new oe("CallSetDisabledState",{providedIn:"root",factory:()=>Kd}),Kd="always";function lp(t,n){return[...n.path,t]}function Zd(t,n,e=Kd){ry(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function sU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&s2(t,n)})}(t,n),function lU(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function cU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&s2(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function aU(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function dp(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),hp(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function up(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function ry(t,n){const e=YI(t);null!==n.validator?t.setValidators(ZI(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=QI(t);null!==n.asyncValidator?t.setAsyncValidators(ZI(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();up(n._rawValidators,o),up(n._rawAsyncValidators,o)}function hp(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=YI(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(a=>a!==n.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(null!==n.asyncValidator){const o=QI(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(a=>a!==n.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}const i=()=>{};return up(n._rawValidators,i),up(n._rawAsyncValidators,i),e}function s2(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function c2(t,n){ry(t,n)}function sy(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function l2(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function cy(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===Mi?e=r:function hU(t){return Object.getPrototypeOf(t.constructor)===Ds}(r)?i=r:o=r}),o||i||e||null}const pU={provide:qn,useExisting:Ht(()=>ja)},Yd=(()=>Promise.resolve())();let ja=(()=>{class t extends qn{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ne,this.form=new ni({},Xv(e),Jv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Yd.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Zd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Yd.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Yd.then(()=>{const i=this._findContainer(e.path),o=new ni({});c2(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Yd.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Yd.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,l2(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(i){return new(i||t)(g(bn,10),g(Va,10),g(ks,8))};static#t=this.\u0275dir=X({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){1&i&&L("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ze([pU]),fe]})}return t})();function d2(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function u2(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Q=class extends cp{constructor(n=null,e,i){super(ny(e),oy(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sp(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=u2(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){d2(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){d2(this._onDisabledChange,n)}_forEachChild(n){}_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(n){u2(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let h2=(()=>{class t extends qn{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return lp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})();const _U={provide:er,useExisting:Ht(()=>Zc)},p2=(()=>Promise.resolve())();let Zc=(()=>{class t extends er{constructor(e,i,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this.control=new Q,this._registered=!1,this.name="",this.update=new Ne,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=cy(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),sy(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(){Zd(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){p2.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&Fc(i);p2.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?lp(e,this._parent):[e]}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,9),g(bn,10),g(Va,10),g(Wn,10),g(Nt,8),g(ks,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ze([_U]),fe,ai]})}return t})(),Tn=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})();const bU={provide:Wn,useExisting:Ht(()=>ly),multi:!0};let ly=(()=>{class t extends Ds{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){1&i&&L("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[Ze([bU]),fe]})}return t})(),f2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const dy=new oe("NgModelWithFormControlWarning"),wU={provide:er,useExisting:Ht(()=>Yc)};let Yc=(()=>{class t extends er{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this.update=new Ne,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=cy(0,o)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&dp(i,this,!1),Zd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}sy(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dp(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(i){return new(i||t)(g(bn,10),g(Va,10),g(Wn,10),g(dy,8),g(ks,8))};static#i=this.\u0275dir=X({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ze([wU]),fe,ai]})}return t})();const CU={provide:qn,useExisting:Ht(()=>Ti)};let Ti=(()=>{class t extends qn{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ne,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hp(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 i=this.form.get(e.path);return Zd(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){dp(e.control||null,e,!1),function mU(t,n){const e=t.indexOf(n);e>-1&&t.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,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,l2(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 i=e.control,o=this.form.get(e.path);i!==o&&(dp(i||null,e),(t=>t instanceof Q)(o)&&(Zd(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);c2(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function dU(t,n){return hp(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ry(this.form,this),this._oldForm&&hp(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(bn,10),g(Va,10),g(ks,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&L("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ze([CU]),fe,ai]})}return t})();const DU={provide:qn,useExisting:Ht(()=>Qd)};let Qd=(()=>{class t extends h2{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){b2(this._parent)}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,13),g(bn,10),g(Va,10))};static#t=this.\u0275dir=X({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Ze([DU]),fe]})}return t})();const kU={provide:qn,useExisting:Ht(()=>Xd)};let Xd=(()=>{class t extends qn{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return lp(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){b2(this._parent)}static#e=this.\u0275fac=function(i){return new(i||t)(g(qn,13),g(bn,10),g(Va,10))};static#t=this.\u0275dir=X({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Ze([kU]),fe]})}return t})();function b2(t){return!(t instanceof Qd||t instanceof Ti||t instanceof Xd)}const SU={provide:er,useExisting:Ht(()=>Xi)};let Xi=(()=>{class t extends er{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,o,r,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Ne,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=cy(0,r)}ngOnChanges(e){this._added||this._setUpControl(),sy(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return lp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||t)(g(qn,13),g(bn,10),g(Va,10),g(Wn,10),g(dy,8))};static#i=this.\u0275dir=X({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ze([SU]),fe,ai]})}return t})();function x2(t){return"number"==typeof t?t:parseInt(t,10)}let Ss=(()=>{class t{constructor(){this._validator=np}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):np,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(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,features:[ai]})}return t})();const FU={provide:bn,useExisting:Ht(()=>xo),multi:!0};let xo=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Fc,this.createValidator=e=>NI}enabled(e){return e}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){2&i&&et("required",o._enabled?"":null)},inputs:{required:"required"},features:[Ze([FU]),fe]})}return t})();const BU={provide:bn,useExisting:Ht(()=>py),multi:!0};let py=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>x2(e),this.createValidator=e=>VI(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&et("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[Ze([BU]),fe]})}return t})();const VU={provide:bn,useExisting:Ht(()=>fy),multi:!0};let fy=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>x2(e),this.createValidator=e=>jI(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&et("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ze([VU]),fe]})}return t})();const jU={provide:bn,useExisting:Ht(()=>gy),multi:!0};let gy=(()=>{class t extends Ss{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>zI(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&et("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[Ze([jU]),fe]})}return t})(),S2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[f2]})}return t})();class M2 extends cp{constructor(n,e,i){super(ny(e),oy(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){r2(this,0,n),n.forEach((i,o)=>{o2(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function T2(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let Kr=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const o=this._reduceControls(e);let r={};return T2(i)?r=i:null!==i&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new ni(o,r)}record(e,i=null){const o=this._reduceControls(e);return new a2(o,i)}control(e,i,o){let r={};return this.useNonNullable?(T2(i)?r=i:(r.validators=i,r.asyncValidators=o),new Q(e,{...r,nonNullable:!0})):new Q(e,i,o)}array(e,i,o){const r=e.map(a=>this._createControl(a));return new M2(r,i,o)}_reduceControls(e){const i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){return e instanceof Q||e instanceof cp?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zU=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ks,useValue:e.callSetDisabledState??Kd}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[S2]})}return t})(),I2=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:dy,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ks,useValue:e.callSetDisabledState??Kd}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[S2]})}return t})(),R2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Lm,Mn,wt,Ra,jT,Kv]})}return t})();class _$ extends te{constructor(n=1/0,e=1/0,i=wv){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:a}=this;e||(i.push(n),!o&&i.push(r.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let a=0;athis._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ye(e=>{const i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Tt(e=>e.some(i=>i.target===n)),function b$(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,Tu({connector:()=>new _$(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}({bufferSize:1,refCount:!0}),nt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let y$=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=Fe(We)}ngOnDestroy(){for(const[,e]of this._observers)e.destroy();this._observers.clear()}observe(e,i){const o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new v$(o)),this._observers.get(o).observe(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const x$=["notch"],w$=["matFormFieldNotchedOutline",""],C$=["*"],D$=["textField"],k$=["iconPrefixContainer"],S$=["textPrefixContainer"];function M$(t,n){1&t&&D(0,"span",19)}function T$(t,n){if(1&t&&(d(0,"label",17),Ke(1,1),_(2,M$,1,0,"span",18),l()),2&t){const e=w(2);f("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),et("for",e._control.id),m(2),f("ngIf",!e.hideRequiredMarker&&e._control.required)}}function I$(t,n){1&t&&_(0,T$,3,5,"label",16),2&t&&f("ngIf",w()._hasFloatingLabel())}function E$(t,n){1&t&&D(0,"div",20)}function O$(t,n){}function A$(t,n){1&t&&_(0,O$,0,0,"ng-template",22),2&t&&(w(2),f("ngTemplateOutlet",At(1)))}function P$(t,n){if(1&t&&(d(0,"div",21),_(1,A$,1,1,"ng-template",9),l()),2&t){const e=w();f("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),m(1),f("ngIf",!e._forceDisplayInfixLabel())}}function R$(t,n){1&t&&(d(0,"div",23,24),Ke(2,2),l())}function F$(t,n){1&t&&(d(0,"div",25,26),Ke(2,3),l())}function N$(t,n){}function L$(t,n){1&t&&_(0,N$,0,0,"ng-template",22),2&t&&(w(),f("ngTemplateOutlet",At(1)))}function B$(t,n){1&t&&(d(0,"div",27),Ke(1,4),l())}function V$(t,n){1&t&&(d(0,"div",28),Ke(1,5),l())}function j$(t,n){1&t&&D(0,"div",29)}function z$(t,n){1&t&&(d(0,"div",30),Ke(1,6),l()),2&t&&f("@transitionMessages",w()._subscriptAnimationState)}function H$(t,n){if(1&t&&(d(0,"mat-hint",34),h(1),l()),2&t){const e=w(2);f("id",e._hintLabelId),m(1),Re(e.hintLabel)}}function U$(t,n){if(1&t&&(d(0,"div",31),_(1,H$,2,2,"mat-hint",32),Ke(2,7),D(3,"div",33),Ke(4,8),l()),2&t){const e=w();f("@transitionMessages",e._subscriptAnimationState),m(1),f("ngIf",e.hintLabel)}}const $$=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],G$=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ii=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-label"]]})}return t})(),W$=0;const F2=new oe("MatError");let by=(()=>{class t{constructor(e,i){this.id="mat-mdc-error-"+W$++,e||i.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(i){return new(i||t)(jn("aria-live"),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){2&i&&Hn("id",o.id)},inputs:{id:"id"},features:[Ze([{provide:F2,useExisting:t}])]})}return t})(),q$=0,Qc=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+q$++}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){2&i&&(Hn("id",o.id),et("align",null),Xe("mat-mdc-form-field-hint-end","end"===o.align))},inputs:{align:"align",id:"id"}})}return t})();const K$=new oe("MatPrefix"),N2=new oe("MatSuffix");let vy=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Ze([{provide:N2,useExisting:t}])]})}return t})();const L2=new oe("FloatingLabelParent");let B2=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=Fe(y$),this._ngZone=Fe(We),this._parent=Fe(L2),this._resizeSubscription=new T}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Z$(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();const V2="mdc-line-ripple--active",mp="mdc-line-ripple--deactivating";let j2=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{const r=this._elementRef.nativeElement.classList,a=r.contains(mp);"opacity"===o.propertyName&&a&&r.remove(V2,mp)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(mp),e.add(V2)}deactivate(){this._elementRef.nativeElement.classList.add(mp)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We))};static#t=this.\u0275dir=X({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),z2=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){this._notch.nativeElement.style.width=this.open&&e?`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(1&i&&xt(x$,5),2&i){let r;Oe(r=Ae())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mdc-notched-outline--notched",o.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:w$,ngContentSelectors:C$,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,o){1&i&&(Lt(),D(0,"div",0),d(1,"div",1,2),Ke(3),l(),D(4,"div",3))},encapsulation:2,changeDetection:0})}return t})();const Y$={transitionMessages:_o("transitionMessages",[Zi("enter",zt({opacity:1,transform:"translateY(0%)"})),Ni("void => enter",[zt({opacity:0,transform:"translateY(-5px)"}),Fi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pp=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t})}return t})();const Jd=new oe("MatFormField"),Q$=new oe("MAT_FORM_FIELD_DEFAULT_OPTIONS");let H2=0,Oi=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ue(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,r,a,s,c,u){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=r,this._platform=a,this._defaults=s,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+H2++,this._hintLabelId="mat-mdc-hint-"+H2++,this._subscriptAnimationState="",this._destroyed=new te,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(nt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),wi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(nt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(nt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,o=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=i?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${r+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(We),g(Qi),g(Qt),g(Q$,8),g(ti,8),g(at))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,Ii,5),pt(r,Ii,7),pt(r,pp,5),pt(r,K$,5),pt(r,N2,5),pt(r,F2,5),pt(r,Qc,5)),2&i){let a;Oe(a=Ae())&&(o._labelChildNonStatic=a.first),Oe(a=Ae())&&(o._labelChildStatic=a.first),Oe(a=Ae())&&(o._formFieldControl=a.first),Oe(a=Ae())&&(o._prefixChildren=a),Oe(a=Ae())&&(o._suffixChildren=a),Oe(a=Ae())&&(o._errorChildren=a),Oe(a=Ae())&&(o._hintChildren=a)}},viewQuery:function(i,o){if(1&i&&(xt(D$,5),xt(k$,5),xt(S$,5),xt(B2,5),xt(z2,5),xt(j2,5)),2&i){let r;Oe(r=Ae())&&(o._textField=r.first),Oe(r=Ae())&&(o._iconPrefixContainer=r.first),Oe(r=Ae())&&(o._textPrefixContainer=r.first),Oe(r=Ae())&&(o._floatingLabel=r.first),Oe(r=Ae())&&(o._notchedOutline=r.first),Oe(r=Ae())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){2&i&&Xe("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===o._animationMode)("mat-form-field-appearance-fill","fill"==o.appearance)("mat-form-field-appearance-outline","outline"==o.appearance)("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary","accent"!==o.color&&"warn"!==o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color)("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ze([{provide:Jd,useExisting:t},{provide:L2,useExisting:t}])],ngContentSelectors:G$,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(i,o){1&i&&(Lt($$),_(0,I$,1,1,"ng-template",null,0,Zo),d(2,"div",1,2),L("click",function(a){return o._control.onContainerClick(a)}),_(4,E$,1,0,"div",3),d(5,"div",4),_(6,P$,2,2,"div",5),_(7,R$,3,0,"div",6),_(8,F$,3,0,"div",7),d(9,"div",8),_(10,L$,1,1,"ng-template",9),Ke(11),l(),_(12,B$,2,0,"div",10),_(13,V$,2,0,"div",11),l(),_(14,j$,1,0,"div",12),l(),d(15,"div",13),_(16,z$,2,1,"div",14),_(17,U$,5,2,"div",15),l()),2&i&&(m(2),Xe("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),m(2),f("ngIf",!o._hasOutline()&&!o._control.disabled),m(2),f("ngIf",o._hasOutline()),m(1),f("ngIf",o._hasIconPrefix),m(1),f("ngIf",o._hasTextPrefix),m(2),f("ngIf",!o._hasOutline()||o._forceDisplayInfixLabel()),m(2),f("ngIf",o._hasTextSuffix),m(1),f("ngIf",o._hasIconSuffix),m(1),f("ngIf",!o._hasOutline()),m(1),Xe("mat-mdc-form-field-subscript-dynamic-size","dynamic"===o.subscriptSizing),f("ngSwitch",o._getDisplayedMessages()),m(1),f("ngSwitchCase","error"),m(1),f("ngSwitchCase","hint"))},dependencies:[Et,um,Lc,dm,Qc,B2,z2,j2],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Y$.transitionMessages]},changeDetection:0})}return t})(),eu=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Mn,Lm,wt]})}return t})();const eG=["addListener","removeListener"],tG=["addEventListener","removeEventListener"],iG=["on","off"];function Bo(t,n,e,i){if(z(e)&&(i=e,e=void 0),i)return Bo(t,n,e).pipe(kv(i));const[o,r]=function rG(t){return z(t.addEventListener)&&z(t.removeEventListener)}(t)?tG.map(a=>s=>t[a](n,s,e)):function nG(t){return z(t.addListener)&&z(t.removeListener)}(t)?eG.map(G2(t,n)):function oG(t){return z(t.on)&&z(t.off)}(t)?iG.map(G2(t,n)):[];if(!o&&Cf(t))return en(a=>Bo(a,n,e))(wn(t));if(!o)throw new TypeError("Invalid event target");return new Ye(a=>{const s=(...c)=>a.next(1r(s)})}function G2(t,n){return e=>i=>t[e](n,i)}function fp(t=0,n,e=R7){let i=-1;return null!=n&&(G0(n)?e=n:i=n),new Ye(o=>{let r=function sG(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let a=0;return e.schedule(function(){o.closed||(o.next(a++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function yy(t,n=Rd){return function aG(t){return rt((n,e)=>{let i=!1,o=null,r=null,a=!1;const s=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const u=o;o=null,e.next(u)}a&&e.complete()},c=()=>{r=null,a&&e.complete()};n.subscribe(ct(e,u=>{i=!0,o=u,r||wn(t(u)).subscribe(r=ct(e,s,c))},()=>{a=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>fp(t,n))}const W2=Ma({passive:!0});let cG=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return so;const i=qr(e),o=this._monitoredElements.get(i);if(o)return o.subject;const r=new te,a="cdk-text-field-autofilled",s=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>r.next({target:c.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>r.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",s,W2),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:()=>{i.removeEventListener("animationstart",s,W2)}}),r}stopMonitoring(e){const i=qr(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),q2=(()=>{class t{get minRows(){return this._minRows}set minRows(e){this._minRows=ki(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=ki(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=Ue(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._destroyed=new te,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=a=>{this._hasFocus="focus"===a.type},this._document=r,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Bo(this._getWindow(),"resize").pipe(yy(16),nt(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",o=this._platform.FIREFOX,r=o&&this._hasFocus,a=o?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";r&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(a);const s=e.scrollHeight-4;return e.classList.remove(a),r&&(e.style.marginBottom=i),s}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,o=i.value;if(!e&&this._minRows===this._previousMinRows&&o===this._previousValue)return;const r=this._measureScrollHeight(),a=Math.max(r,this._cachedPlaceholderHeight||0);i.style.height=`${a}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=o,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:o}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(We),g(at,8))};static#t=this.\u0275dir=X({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(i,o){1&i&&L("input",function(){return o._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return t})(),lG=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const dG=new oe("MAT_INPUT_VALUE_ACCESSOR"),uG=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let hG=0;const mG=Rv(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new te}});let sn=(()=>{class t extends mG{get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=Ue(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&mT().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ue(e)}constructor(e,i,o,r,a,s,c,u,p,b){super(s,r,a,o),this._elementRef=e,this._platform=i,this._autofillMonitor=u,this._formField=b,this._uid="mat-input-"+hG++,this.focused=!1,this.stateChanges=new te,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(A=>mT().has(A)),this._iOSKeyupListener=A=>{const O=A.target;!O.value&&0===O.selectionStart&&0===O.selectionEnd&&(O.setSelectionRange(1,1),O.setSelectionRange(0,0))};const y=this._elementRef.nativeElement,C=y.nodeName.toLowerCase();this._inputValueAccessor=c||y,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!b,this._isNativeSelect&&(this.controlType=y.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){uG.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qt),g(er,10),g(ja,8),g(Ti,8),g(Gm),g(dG,10),g(cG),g(We),g(Jd,8))};static#t=this.\u0275dir=X({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){1&i&&L("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),2&i&&(Hn("id",o.id)("disabled",o.disabled)("required",o.required),et("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Xe("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ze([{provide:pp,useExisting:t}]),fe,ai]})}return t})(),K2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,eu,eu,lG,wt]})}return t})();const tu={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=tu;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new T(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=tu;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=tu;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class fG extends Cv{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class pG extends xv{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=tu.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(tu.cancelAnimationFrame(e),n._scheduled=void 0)}});let xy,_G=1;const gp={};function Z2(t){return t in gp&&(delete gp[t],!0)}const bG={setImmediate(t){const n=_G++;return gp[n]=!0,xy||(xy=Promise.resolve()),xy.then(()=>Z2(n)&&t()),n},clearImmediate(t){Z2(t)}},{setImmediate:vG,clearImmediate:yG}=bG,_p={setImmediate(...t){const{delegate:n}=_p;return(n?.setImmediate||vG)(...t)},clearImmediate(t){const{delegate:n}=_p;return(n?.clearImmediate||yG)(t)},delegate:void 0},wy=new class wG extends Cv{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class xG extends xv{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=_p.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(_p.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});let iu=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new te,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ye(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(yy(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):qe()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Tt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=qr(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Bo(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(We),Z(Qt),Z(at,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nu=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new te,this._elementScrolled=new Ye(a=>this.ngZone.runOutsideAngular(()=>Bo(this.elementRef.nativeElement,"scroll").pipe(nt(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,o=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=o?e.end:e.start),null==e.right&&(e.right=o?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&0!=Od()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Od()?e.left=e.right:1==Od()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;pT()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?o:i:"end"==e&&(e=a?i:o),a&&2==Od()?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&1==Od()?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(iu),g(We),g(Qi,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return t})(),Zr=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new te,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(yy(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qt),Z(We),Z(at,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),za=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})(),Cy=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Ld,za,Ld,za]})}return t})();class Dy{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Xc extends Dy{constructor(n,e,i,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class Yr extends Dy{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class SG extends Dy{constructor(n){super(),this.element=n instanceof Le?n.nativeElement:n}}class bp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Xc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Yr?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof SG?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class MG extends bp{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=a=>{const s=a.element,c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||Di.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let TG=(()=>{class t extends Yr{constructor(e,i){super(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(ui))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[fe]})}return t})(),Qr=(()=>{class t extends bp{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Ne,this.attachDomPortal=r=>{const a=r.element,s=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static#e=this.\u0275fac=function(i){return new(i||t)(g(cs),g(ui),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[fe]})}return t})(),Ms=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const Y2=pT();class IG{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yi(-this._previousScrollPosition.left),n.style.top=Yi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Y2&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Y2&&(i.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class EG{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Tt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Q2{enable(){}disable(){}attach(){}}function ky(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function X2(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class OG{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();ky(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let AG=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Q2,this.close=a=>new EG(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new IG(this._viewportRuler,this._document),this.reposition=a=>new OG(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}static#e=this.\u0275fac=function(i){return new(i||t)(Z(iu),Z(Zr),Z(We),Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Jc{constructor(n){if(this.scrollStrategy=new Q2,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class PG{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let J2=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RG=(()=>{class t extends J2{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){const s=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(o)):s.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(We,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),FG=(()=>{class t extends J2{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Gr(r)},this._clickListener=r=>{const a=Gr(r),s="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){const p=c[u];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(a)||p.overlayElement.contains(s))break;const b=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>b.next(r)):b.next(r)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at),Z(Qt),Z(We,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vp=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||bv()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(b),this._backdropTransitionendHandler=b=>{this._disposeBackdrop(b.target)},this._keydownEvents=new te,this._outsidePointerEvents=new te,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Pt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Yi(this._config.width),n.height=Yi(this._config.height),n.minWidth=Yi(this._config.minWidth),n.minHeight=Yi(this._config.minHeight),n.maxWidth=Yi(this._config.maxWidth),n.maxHeight=Yi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=Nm(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(nt(wi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const eE="cdk-overlay-connected-position-bounding-box",NG=/([A-Za-z%]+)$/;class LG{get positions(){return this._preferredPositions}constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new te,this._resizeSubscription=T.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(eE),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,o,s),u=this._getOverlayPoint(c,e,s),p=this._getOverlayFit(u,e,i,s);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,c);this._canFitWithFlexibleDimensions(p,u,i)?r.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)}):(!a||a.overlayFit.visibleAreac&&(c=p,s=u)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ts(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eE),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;o="start"==i.originX?a:s}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=iE(e);let{x:a,y:s}=n,c=this._getOffset(o,"x"),u=this._getOffset(o,"y");c&&(a+=c),u&&(s+=u);let y=0-s,C=s+r.height-i.height,A=this._subtractOverflows(r.width,0-a,a+r.width-i.width),O=this._subtractOverflows(r.height,y,C),W=A*O;return{visibleArea:W,isCompletelyWithinViewport:r.width*r.height===W,fitsInViewportVertically:O===r.height,fitsInViewportHorizontally:A==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,a=tE(this._overlayRef.getConfig().minHeight),s=tE(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=a&&a<=o)&&(n.fitsInViewportHorizontally||null!=s&&s<=r)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=iE(e),r=this._viewportRect,a=Math.max(n.x+o.width-r.width,0),s=Math.max(n.y+o.height-r.height,0),c=Math.max(r.top-i.top-n.y,0),u=Math.max(r.left-i.left-n.x,0);let p=0,b=0;return p=o.width<=r.width?u||-a:n.xA&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-A/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)y=i.width-n.x+this._viewportMargin,p=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)b=n.x,p=i.right-n.x;else{const C=Math.min(i.right-n.x+i.left,n.x),A=this._lastBoundingBoxSize.width;p=2*C,b=n.x-C,p>A&&!this._isInitialRender&&!this._growAfterOpen&&(b=n.x-A/2)}return{top:a,left:b,bottom:s,right:y,width:p,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Yi(i.height),o.top=Yi(i.top),o.bottom=Yi(i.bottom),o.width=Yi(i.width),o.left=Yi(i.left),o.right=Yi(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Yi(r)),a&&(o.maxWidth=Yi(a))}this._lastBoundingBoxSize=i,Ts(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ts(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ts(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();Ts(i,this._getExactOverlayY(e,n,p)),Ts(i,this._getExactOverlayX(e,n,p))}else i.position="static";let s="",c=this._getOffset(e,"x"),u=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),u&&(s+=`translateY(${u}px)`),i.transform=s.trim(),a.maxHeight&&(o?i.maxHeight=Yi(a.maxHeight):r&&(i.maxHeight="")),a.maxWidth&&(o?i.maxWidth=Yi(a.maxWidth):r&&(i.maxWidth="")),Ts(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Yi(r.y),o}_getExactOverlayX(n,e,i){let a,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Yi(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:X2(n,i),isOriginOutsideView:ky(n,i),isOverlayClipped:X2(e,i),isOverlayOutsideView:ky(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Nm(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Le)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Ts(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function tE(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(NG);return e&&"px"!==e?null:parseFloat(n)}return t||null}function iE(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const nE="cdk-global-overlay-wrapper";class BG{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(nE),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=i,c=!("100%"!==o&&"100vw"!==o||a&&"100%"!==a&&"100vw"!==a),u=!("100%"!==r&&"100vh"!==r||s&&"100%"!==s&&"100vh"!==s),p=this._xPosition,b=this._xOffset,y="rtl"===this._overlayRef.getConfig().direction;let C="",A="",O="";c?O="flex-start":"center"===p?(O="center",y?A=b:C=b):y?"left"===p||"end"===p?(O="flex-end",C=b):("right"===p||"start"===p)&&(O="flex-start",A=b):"left"===p||"start"===p?(O="flex-start",C=b):("right"===p||"end"===p)&&(O="flex-end",A=b),n.position=this._cssPosition,n.marginLeft=c?"0":C,n.marginTop=u?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":A,e.justifyContent=O,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(nE),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let VG=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new BG}flexibleConnectedTo(e){return new LG(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Zr),Z(at),Z(Qt),Z(vp))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jG=0,In=(()=>{class t{constructor(e,i,o,r,a,s,c,u,p,b,y,C){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=u,this._directionality=p,this._location=b,this._outsideClickDispatcher=y,this._animationsModuleType=C}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),a=new Jc(e);return a.direction=a.direction||this._directionality.value,new ou(r,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+jG++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(wa)),new MG(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(AG),Z(vp),Z(cs),Z(VG),Z(RG),Z(Di),Z(We),Z(at),Z(Qi),Z(yd),Z(FG),Z(ti,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const zG=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],oE=new oe("cdk-connected-overlay-scroll-strategy");let Sy=(()=>{class t{constructor(e){this.elementRef=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return t})(),rE=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ue(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ue(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ue(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ue(e)}get push(){return this._push}set push(e){this._push=Ue(e)}constructor(e,i,o,r,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=T.EMPTY,this._attachSubscription=T.EMPTY,this._detachSubscription=T.EMPTY,this._positionSubscription=T.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Ne,this.positionChange=new Ne,this.attach=new Ne,this.detach=new Ne,this.overlayKeydown=new Ne,this.overlayOutsideClick=new Ne,this._templatePortal=new Yr(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=zG);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!dn(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Jc({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Sy?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function kG(t,n=!1){return rt((e,i)=>{let o=0;e.subscribe(ct(i,r=>{const a=t(r,o++);(a||n)&&i.next(r),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(In),g(si),g(ui),g(oE),g(Qi,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ai]})}return t})();const UG={provide:oE,deps:[In],useFactory:function HG(t){return()=>t.scrollStrategies.reposition()}};let Is=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[In,UG],imports:[Ld,Ms,Cy,Cy]})}return t})();function el(t){return new Ye(n=>{wn(t()).subscribe(n)})}const $G=["trigger"],GG=["panel"];function WG(t,n){if(1&t&&(d(0,"span",10),h(1),l()),2&t){const e=w();m(1),Re(e.placeholder)}}function qG(t,n){if(1&t&&(d(0,"span",14),h(1),l()),2&t){const e=w(2);m(1),Re(e.triggerValue)}}function KG(t,n){1&t&&Ke(0,0,["*ngSwitchCase","true"])}function ZG(t,n){1&t&&(d(0,"span",11),_(1,qG,2,1,"span",12),_(2,KG,1,0,"ng-content",13),l()),2&t&&(f("ngSwitch",!!w().customTrigger),m(2),f("ngSwitchCase",!0))}function YG(t,n){if(1&t){const e=_e();di(),Pr(),d(0,"div",15,16),L("@transformPanel.done",function(o){return ae(e),se(w()._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){return ae(e),se(w()._handleKeydown(o))}),Ke(2,1),l()}if(2&t){const e=w();xD("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),f("ngClass",e.panelClass)("@transformPanel","showing"),et("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const QG=[[["mat-select-trigger"]],"*"],XG=["mat-select-trigger","*"],JG={transformPanelWrap:_o("transformPanelWrap",[Ni("* => void",Gb("@transformPanel",[$b()],{optional:!0}))]),transformPanel:_o("transformPanel",[Zi("void",zt({opacity:0,transform:"scale(1, 0.8)"})),Ni("void => showing",Fi("120ms cubic-bezier(0, 0, 0.2, 1)",zt({opacity:1,transform:"scale(1, 1)"}))),Ni("* => void",Fi("100ms linear",zt({opacity:0})))])};let aE=0;const sE=new oe("mat-select-scroll-strategy"),tW=new oe("MAT_SELECT_CONFIG"),iW={provide:sE,deps:[In],useFactory:function eW(t){return()=>t.scrollStrategies.reposition()}},nW=new oe("MatSelectTrigger");class oW{constructor(n,e){this.source=n,this.value=e}}const rW=Oa(Aa(Ia(Rv(class{constructor(t,n,e,i,o){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=o,this.stateChanges=new te}}))));let aW=(()=>{class t extends rW{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=Ue(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ue(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ue(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=ki(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,o,r,a,s,c,u,p,b,y,C,A,O){super(a,r,c,u,b),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=s,this._parentFormField=p,this._liveAnnouncer=A,this._defaultOptions=O,this._panelOpen=!1,this._compareWith=(W,ce)=>W===ce,this._uid="mat-select-"+aE++,this._triggerAriaLabelledBy=null,this._destroy=new te,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+aE++,this._panelDoneAnimatingStream=new te,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=el(()=>{const W=this.options;return W?W.changes.pipe(Hi(W),qi(()=>wi(...W.map(ce=>ce.onSelectionChange)))):this._ngZone.onStable.pipe(Pt(1),qi(()=>this.optionSelectionChanges))}),this.openedChange=new Ne,this._openedStream=this.openedChange.pipe(Tt(W=>W),Ge(()=>{})),this._closedStream=this.openedChange.pipe(Tt(W=>!W),Ge(()=>{})),this.selectionChange=new Ne,this.valueChange=new Ne,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=O?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=O.typeaheadDebounceInterval),this._scrollStrategyFactory=C,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(y)||0,this.id=this.id}ngOnInit(){this._selectionModel=new $d(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(zs(),nt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(nt(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Hi(null),nt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=`${this.id}-panel`;this._trackedModal&&zc(this._trackedModal,"aria-owns",i),Vm(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(zc(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,o=40===i||38===i||37===i||39===i,r=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&r&&!dn(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;a.onKeydown(e);const c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,o=e.keyCode,r=40===o||38===o,a=i.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(a||13!==o&&32!==o||!i.activeItem||dn(e))if(!a&&this._multiple&&65===o&&e.ctrlKey){e.preventDefault();const s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{const s=i.activeItemIndex;i.onKeydown(e),this._multiple&&r&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Pt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new ST(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=wi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(nt(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),wi(...this.options.map(i=>i._stateChanges)).pipe(nt(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const o=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(i){return new(i||t)(g(Zr),g(Nt),g(We),g(Gm),g(Le),g(Qi,8),g(ja,8),g(Ti,8),g(Jd,8),g(er,10),jn("tabindex"),g(sE),g(Ov),g(tW,8))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&(xt($G,5),xt(GG,5),xt(rE,5)),2&i){let r;Oe(r=Ae())&&(o.trigger=r.first),Oe(r=Ae())&&(o.panel=r.first),Oe(r=Ae())&&(o._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[fe,ai]})}return t})(),oo=(()=>{class t extends aW{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=e=>!this.panelOpen&&e.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(nt(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const o=this.panel.nativeElement,r=HT(e,this.options,this.optionGroups),a=i._getHostElement();o.scrollTop=0===e&&1===r?0:UT(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new oW(this,e)}_getOverlayWidth(e){return"auto"===this.panelWidth?(e instanceof Sy?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ue(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-select"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,nW,5),pt(r,_n,5),pt(r,Nv,5)),2&i){let a;Oe(a=Ae())&&(o.customTrigger=a.first),Oe(a=Ae())&&(o.options=a),Oe(a=Ae())&&(o.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),2&i&&(et("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),Xe("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Ze([{provide:pp,useExisting:t},{provide:Fv,useExisting:t}]),fe],ngContentSelectors:XG,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(i,o){if(1&i&&(Lt(QG),d(0,"div",0,1),L("click",function(){return o.toggle()}),d(3,"div",2),_(4,WG,2,1,"span",3),_(5,ZG,3,2,"span",4),l(),d(6,"div",5)(7,"div",6),di(),d(8,"svg",7),D(9,"path",8),l()()()(),_(10,YG,3,9,"ng-template",9),L("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),2&i){const r=At(1);m(3),f("ngSwitch",o.empty),et("id",o._valueId),m(1),f("ngSwitchCase",!0),m(1),f("ngSwitchCase",!1),m(5),f("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Qo,Lc,dm,XS,rE,Sy],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[JG.transformPanel]},changeDetection:0})}return t})(),cE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[iW],imports:[Mn,Is,Wm,wt,za,eu,Wm,wt]})}return t})();function yp(t){return Ge(()=>t)}function lE(t,n){return n?e=>Fd(n.pipe(Pt(1),function sW(){return rt((t,n)=>{t.subscribe(ct(n,k))})}()),e.pipe(lE(t))):en((e,i)=>wn(t(e,i)).pipe(Pt(1),yp(e)))}function My(t,n=Rd){const e=fp(t,n);return lE(()=>e)}const cW=["mat-menu-item",""];function lW(t,n){1&t&&(di(),d(0,"svg",3),D(1,"polygon",4),l())}const dW=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],uW=["mat-icon, [matMenuItemIcon]","*"];function hW(t,n){if(1&t){const e=_e();d(0,"div",0),L("keydown",function(o){return ae(e),se(w()._handleKeydown(o))})("click",function(){return ae(e),se(w().closed.emit("click"))})("@transformMenu.start",function(o){return ae(e),se(w()._onAnimationStart(o))})("@transformMenu.done",function(o){return ae(e),se(w()._onAnimationDone(o))}),d(1,"div",1),Ke(2),l()()}if(2&t){const e=w();f("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),et("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const mW=["*"],Ty=new oe("MAT_MENU_PANEL"),pW=Oa(Ia(class{}));let Xr=(()=>{class t extends pW{constructor(e,i,o,r,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=r,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new te,this._focused=new te,this._highlighted=!1,this._triggersSubmenu=!1,r?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",Fi("120ms cubic-bezier(0, 0, 0.2, 1)",zt({opacity:1,transform:"scale(1)"}))),Ni("* => void",Fi("100ms 25ms linear",zt({opacity:0})))]),fadeInItems:_o("fadeInItems",[Zi("showing",zt({opacity:1})),Ni("void => *",[zt({opacity:0}),Fi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gW=0;const dE=new oe("mat-menu-default-options",{providedIn:"root",factory:function _W(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ru=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ue(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ue(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,o,r){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=r,this._directDescendantItems=new Vr,this._classList={},this._panelAnimationState="void",this._animationDone=new te,this.closed=new Ne,this.close=this.closed,this.panelId="mat-menu-panel-"+gW++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Hm(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Hi(this._directDescendantItems),qi(e=>wi(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const o=e.toArray(),r=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[r]&&!o[r].disabled?i.setActiveItem(r):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Hi(this._directDescendantItems),qi(i=>wi(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:dn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Pt(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,r=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!r||r===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,i=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===i,o["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Hi(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(dE),g(Nt))};static#t=this.\u0275dir=X({type:t,contentQueries:function(i,o,r){if(1&i&&(pt(r,fW,5),pt(r,Xr,5),pt(r,Xr,4)),2&i){let a;Oe(a=Ae())&&(o.lazyContent=a.first),Oe(a=Ae())&&(o._allItems=a),Oe(a=Ae())&&(o.items=a)}},viewQuery:function(i,o){if(1&i&&xt(si,5),2&i){let r;Oe(r=Ae())&&(o.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return t})(),tl=(()=>{class t extends ru{constructor(e,i,o,r){super(e,i,o,r),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(We),g(dE),g(Nt))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(i,o){2&i&&et("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ze([{provide:Ty,useExisting:t}]),fe],ngContentSelectors:mW,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(i,o){1&i&&(Lt(),_(0,hW,3,6,"ng-template"))},dependencies:[Qo],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[xp.transformMenu,xp.fadeInItems]},changeDetection:0})}return t})();const uE=new oe("mat-menu-scroll-strategy"),vW={provide:uE,deps:[In],useFactory:function bW(t){return()=>t.scrollStrategies.reposition()}},hE=Ma({passive:!0});let yW=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,o,r,a,s,c,u,p){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=s,this._dir=c,this._focusMonitor=u,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=T.EMPTY,this._hoverSubscription=T.EMPTY,this._menuCloseSubscription=T.EMPTY,this._changeDetectorRef=Fe(Nt),this._handleTouchStart=b=>{Ev(b)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ne,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ne,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=a instanceof ru?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,hE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),o=i.getConfig(),r=o.positionStrategy;this._setPosition(e,r),o.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof ru&&(e._startAnimation(),e._directDescendantItems.changes.pipe(nt(e.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof ru?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Tt(o=>"void"===o.toState),Pt(1),nt(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,o=e.parentMenu;for(;o;)i++,o=o.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Jc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(o=>{const r="start"===o.connectionPair.overlayX?"after":"before",a="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(r,a)):e.setPositionClasses(r,a)})}_setPosition(e,i){let[o,r]="before"===e.xPosition?["end","start"]:["start","end"],[a,s]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[c,u]=[a,s],[p,b]=[o,r],y=0;if(this.triggersSubmenu()){if(b=o="before"===e.xPosition?"start":"end",r=p="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const C=this._parentMaterialMenu.items.first;this._parentInnerPadding=C?C._getHostElement().offsetTop:0}y="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c="top"===a?"bottom":"top",u="top"===s?"bottom":"top");i.withPositions([{originX:o,originY:c,overlayX:p,overlayY:a,offsetY:y},{originX:r,originY:c,overlayX:b,overlayY:a,offsetY:y},{originX:o,originY:u,overlayX:p,overlayY:s,offsetY:-y},{originX:r,originY:u,overlayX:b,overlayY:s,offsetY:-y}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return wi(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:qe(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Tt(a=>a!==this._menuItemInstance),Tt(()=>this._menuOpen)):qe(),i)}_handleMousedown(e){Iv(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Tt(e=>e===this._menuItemInstance&&!e.disabled),My(0,wy)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ru&&this.menu._isAnimating?this.menu._animationDone.pipe(Pt(1),My(0,wy),nt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Yr(e.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(i){return new(i||t)(g(In),g(Le),g(ui),g(uE),g(Ty,8),g(Xr,10),g(Qi,8),g(yo),g(We))};static#t=this.\u0275dir=X({type:t,hostVars:3,hostBindings:function(i,o){1&i&&L("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),2&i&&et("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return t})(),il=(()=>{class t extends yW{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[fe]})}return t})(),mE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[vW],imports:[Mn,Ra,wt,Is,za,wt]})}return t})();function wp(t){return!!t&&(t instanceof Ye||z(t.lift)&&z(t.subscribe))}const xW=[[["caption"]],[["colgroup"],["col"]]],wW=["caption","colgroup, col"];function Iy(t){return class extends t{get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=Ue(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}}}const nl=new oe("CDK_TABLE");let ol=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),rl=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),Cp=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})();class SW{}const MW=Iy(SW);let Jr=(()=>{class t extends MW{get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=Ue(e),this._hasStickyChanged=i!==this._stickyEnd}constructor(e){super(),this._table=e,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(i){return new(i||t)(g(nl,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,r){if(1&i&&(pt(r,ol,5),pt(r,rl,5),pt(r,Cp,5)),2&i){let a;Oe(a=Ae())&&(o.cell=a.first),Oe(a=Ae())&&(o.headerCell=a.first),Oe(a=Ae())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ze([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),fe]})}return t})();class Ey{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let Oy=(()=>{class t extends Ey{constructor(e,i){super(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Jr),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[fe]})}return t})(),Ay=(()=>{class t extends Ey{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const o=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===o||"treegrid"===o?"gridcell":"cell")}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Jr),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[fe]})}return t})();class fE{constructor(){this.tasks=[],this.endTasks=[]}}const Py=new oe("_COALESCED_STYLE_SCHEDULER");let gE=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new te}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new fE,this._getScheduleObservable().pipe(nt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new fE;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Bi(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Pt(1))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(We))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),Ry=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof au?e.headerCell.template:this instanceof su?e.footerCell.template:e.cell.template}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po))};static#t=this.\u0275dir=X({type:t,features:[ai]})}return t})();class TW extends Ry{}const IW=Iy(TW);let au=(()=>{class t extends IW{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po),g(nl,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[fe,ai]})}return t})();class EW extends Ry{}const OW=Iy(EW);let su=(()=>{class t extends OW{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po),g(nl,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[fe,ai]})}return t})(),Dp=(()=>{class t extends Ry{constructor(e,i,o){super(e,i),this._table=o}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(Po),g(nl,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[fe]})}return t})(),ea=(()=>{class t{static#e=this.mostRecentCellOutlet=null;constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(i){return new(i||t)(g(ui))};static#i=this.\u0275dir=X({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),Fy=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),Ly=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),kp=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})();const _E=["top","bottom","left","right"];class AW{constructor(n,e,i,o,r=!0,a=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const o of n)if(o.nodeType===o.ELEMENT_NODE){i.push(o);for(let r=0;r{for(const o of i)this._removeStickyStyle(o,e)})}updateStickyColumns(n,e,i,o=!0){if(!n.length||!this._isBrowser||!e.some(y=>y)&&!i.some(y=>y))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const r=n[0],a=r.children.length,s=this._getCellWidths(r,o),c=this._getStickyStartColumnPositions(s,e),u=this._getStickyEndColumnPositions(s,i),p=e.lastIndexOf(!0),b=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const y="rtl"===this.direction,C=y?"right":"left",A=y?"left":"right";for(const O of n)for(let W=0;We[W]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===b?[]:s.slice(b).map((O,W)=>i[W+b]?O:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const o="bottom"===i?n.slice().reverse():n,r="bottom"===i?e.slice().reverse():e,a=[],s=[],c=[];for(let p=0,b=0;p{for(let p=0;p{e.some(o=>!o)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const o of e)n.style[o]="",n.classList.remove(this._borderCellCss[o]);_E.some(o=>-1===e.indexOf(o)&&n.style[o])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,o){n.classList.add(this._stickCellCss),o&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const o of _E)n.style[o]&&(i+=e[o]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],o=n.children;for(let r=0;r0;r--)e[r]&&(i[r]=o,o+=n[r]);return i}}const By=new oe("CDK_SPL");let Sp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","rowOutlet",""]]})}return t})(),Mp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),Tp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),Ip=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g(Le))};static#t=this.\u0275dir=X({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),Ep=(()=>{class t{get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Ue(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Ue(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,o,r,a,s,c,u,p,b,y,C){this._differs=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=a,this._platform=c,this._viewRepeater=u,this._coalescedStyleScheduler=p,this._viewportRuler=b,this._stickyPositioningListener=y,this._ngZone=C,this._onDestroy=new te,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Ne,this.viewChange=new bt({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(nt(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ip(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(o,r,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{1===o.operation&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{i.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&We.isInAngularZone()?this._ngZone.onStable.pipe(Pt(1),nt(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=e.length?"":"none");const r=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,r,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=e.length?"":"none");const r=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{const a=[];for(let s=0;s{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{const s=o&&o.has(a)?o.get(a):[];if(s.length){const c=s.shift();return c.dataIndex=i,c}return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Op(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Op(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Op(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Op(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(a,s)=>a||!!s.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),i||o||r}_switchDataSource(e){this._data=[],ip(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ip(this.dataSource)?e=this.dataSource.connect(this):wp(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=qe(this.dataSource)),this._renderChangeSubscription=e.pipe(nt(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const o=Array.from(i.columns||[]).map(s=>this._columnDefsByName.get(s)),r=o.map(s=>s.sticky),a=o.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let o=0;o!r.when||r.when(i,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;r&&o.push(r)}return o}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,o,r={}){const a=e.viewContainer.createEmbeddedView(i.template,r,o);return this._renderCellTemplateForItem(i,r),a}_renderCellTemplateForItem(e,i){for(let o of this._getCellTemplates(e))ea.mostRecentCellOutlet&&ea.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,o=e.length;i{const o=this._columnDefsByName.get(i);return e.extractCellTemplate(o)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const o of i){const r=this._document.createElement(o.tag);r.setAttribute("role","rowgroup");for(const a of o.outlets)r.appendChild(a.elementRef.nativeElement);e.appendChild(r)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new AW(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:qe()).pipe(nt(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const o=this._noDataRowOutlet.viewContainer;if(i){const r=o.createEmbeddedView(e.templateRef),a=r.rootNodes[0];1===r.rootNodes.length&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Po),g(Nt),g(Le),jn("role"),g(Qi,8),g(at),g(Qt),g(Gd),g(Py),g(Zr),g(By,12),g(We,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,r){if(1&i&&(pt(r,kp,5),pt(r,Jr,5),pt(r,Dp,5),pt(r,au,5),pt(r,su,5)),2&i){let a;Oe(a=Ae())&&(o._noDataRow=a.first),Oe(a=Ae())&&(o._contentColumnDefs=a),Oe(a=Ae())&&(o._contentRowDefs=a),Oe(a=Ae())&&(o._contentHeaderRowDefs=a),Oe(a=Ae())&&(o._contentFooterRowDefs=a)}},viewQuery:function(i,o){if(1&i&&(xt(Sp,7),xt(Mp,7),xt(Tp,7),xt(Ip,7)),2&i){let r;Oe(r=Ae())&&(o._rowOutlet=r.first),Oe(r=Ae())&&(o._headerRowOutlet=r.first),Oe(r=Ae())&&(o._footerRowOutlet=r.first),Oe(r=Ae())&&(o._noDataRowOutlet=r.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ze([{provide:nl,useExisting:t},{provide:Gd,useClass:II},{provide:Py,useClass:gE},{provide:By,useValue:null}])],ngContentSelectors:wW,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){1&i&&(Lt(xW),Ke(0),Ke(1,1),zn(2,0)(3,1)(4,2)(5,3))},dependencies:[Sp,Mp,Tp,Ip],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return t})();function Op(t,n){return t.concat(Array.from(n))}let RW=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Cy]})}return t})();const FW=[[["caption"]],[["colgroup"],["col"]]],NW=["caption","colgroup, col"];let Ha=(()=>{class t extends Ep{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[Ze([{provide:Ep,useExisting:t},{provide:nl,useExisting:t},{provide:Py,useClass:gE},{provide:Gd,useClass:II},{provide:By,useValue:null}]),fe],ngContentSelectors:NW,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){1&i&&(Lt(FW),Ke(0),Ke(1,1),zn(2,0)(3,1)(4,2)(5,3))},dependencies:[Sp,Mp,Tp,Ip],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return t})(),ta=(()=>{class t extends ol{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matCellDef",""]],features:[Ze([{provide:ol,useExisting:t}]),fe]})}return t})(),ia=(()=>{class t extends rl{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matHeaderCellDef",""]],features:[Ze([{provide:rl,useExisting:t}]),fe]})}return t})(),na=(()=>{class t extends Jr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ze([{provide:Jr,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),fe]})}return t})(),oa=(()=>{class t extends Oy{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[fe]})}return t})(),ra=(()=>{class t extends Ay{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[fe]})}return t})(),Ua=(()=>{class t extends au{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ze([{provide:au,useExisting:t}]),fe]})}return t})(),$a=(()=>{class t extends Dp{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ze([{provide:Dp,useExisting:t}]),fe]})}return t})(),Ga=(()=>{class t extends Fy{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ze([{provide:Fy,useExisting:t}]),fe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),Wa=(()=>{class t extends Ly{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ze([{provide:Ly,useExisting:t}]),fe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){1&i&&zn(0,0)},dependencies:[ea],encapsulation:2})}return t})(),Ap=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,RW,wt]})}return t})();const vE=new oe("CdkAccordion");let GW=0,WW=(()=>{class t{get expanded(){return this._expanded}set expanded(e){e=Ue(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e)}constructor(e,i,o){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=T.EMPTY,this.closed=new Ne,this.opened=new Ne,this.destroyed=new Ne,this.expandedChange=new Ne,this.id="cdk-accordion-child-"+GW++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((r,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==r&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(vE,12),g(Nt),g(Qv))};static#t=this.\u0275dir=X({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ze([{provide:vE,useValue:void 0}])]})}return t})(),qW=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const KW=["body"];function ZW(t,n){}const YW=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],QW=["mat-expansion-panel-header","*","mat-action-row"];function XW(t,n){1&t&&D(0,"span",2),2&t&&f("@indicatorRotate",w()._getExpandedState())}const JW=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],eq=["mat-panel-title","mat-panel-description","*"],yE=new oe("MAT_ACCORDION"),xE="225ms cubic-bezier(0.4,0.0,0.2,1)",wE={indicatorRotate:_o("indicatorRotate",[Zi("collapsed, void",zt({transform:"rotate(0deg)"})),Zi("expanded",zt({transform:"rotate(180deg)"})),Ni("expanded <=> collapsed, void => collapsed",Fi(xE))]),bodyExpansion:_o("bodyExpansion",[Zi("collapsed, void",zt({height:"0px",visibility:"hidden"})),Zi("expanded",zt({height:"*",visibility:""})),Ni("expanded <=> collapsed, void => collapsed",Fi(xE))])},CE=new oe("MAT_EXPANSION_PANEL");let tq=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(CE,8))};static#t=this.\u0275dir=X({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),iq=0;const DE=new oe("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Vy=(()=>{class t extends WW{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ue(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,o,r,a,s,c){super(e,i,o),this._viewContainerRef=r,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new Ne,this.afterCollapse=new Ne,this._inputChanges=new te,this._headerId="mat-expansion-panel-header-"+iq++,this._bodyAnimationDone=new te,this.accordion=e,this._document=a,this._bodyAnimationDone.pipe(zs((u,p)=>u.fromState===p.fromState&&u.toState===p.toState)).subscribe(u=>{"void"!==u.fromState&&("expanded"===u.toState?this.afterExpand.emit():"collapsed"===u.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Hi(null),Tt(()=>this.expanded&&!this._portal),Pt(1)).subscribe(()=>{this._portal=new Yr(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}static#e=this.\u0275fac=function(i){return new(i||t)(g(yE,12),g(Nt),g(Qv),g(ui),g(at),g(ti,8),g(DE,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,o,r){if(1&i&&pt(r,tq,5),2&i){let a;Oe(a=Ae())&&(o._lazyContent=a.first)}},viewQuery:function(i,o){if(1&i&&xt(KW,5),2&i){let r;Oe(r=Ae())&&(o._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,o){2&i&&Xe("mat-expanded",o.expanded)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ze([{provide:yE,useValue:void 0},{provide:CE,useExisting:t}]),fe,ai],ngContentSelectors:QW,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,o){1&i&&(Lt(YW),Ke(0),d(1,"div",0,1),L("@bodyExpansion.done",function(a){return o._bodyAnimationDone.next(a)}),d(3,"div",2),Ke(4,1),_(5,ZW,0,0,"ng-template",3),l(),Ke(6,2),l()),2&i&&(m(1),f("@bodyExpansion",o._getExpandedState())("id",o.id),et("aria-labelledby",o._headerId),m(4),f("cdkPortalOutlet",o._portal))},dependencies:[Qr],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[wE.bodyExpansion]},changeDetection:0})}return t})();class nq{}const oq=Aa(nq);let kE=(()=>{class t extends oq{constructor(e,i,o,r,a,s,c){super(),this.panel=e,this._element=i,this._focusMonitor=o,this._changeDetectorRef=r,this._animationMode=s,this._parentChangeSubscription=T.EMPTY;const u=e.accordion?e.accordion._stateChanges.pipe(Tt(p=>!(!p.hideToggle&&!p.togglePosition))):so;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=wi(e.opened,e.closed,u,e._inputChanges.pipe(Tt(p=>!!(p.hideToggle||p.disabled||p.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Tt(()=>e._containsFocus())).subscribe(()=>o.focusVia(i,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:dn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Vy,1),g(Le),g(yo),g(Nt),g(DE,8),g(ti,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,o){1&i&&L("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),2&i&&(et("id",o.panel._headerId)("tabindex",o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),rn("height",o._getHeaderHeight()),Xe("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after","after"===o._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===o._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===o._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[fe],ngContentSelectors:eq,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(i,o){1&i&&(Lt(JW),d(0,"span",0),Ke(1),Ke(2,1),Ke(3,2),l(),_(4,XW,1,1,"span",1)),2&i&&(Xe("mat-content-hide-toggle",!o._showToggle()),m(4),f("ngIf",o._showToggle()))},dependencies:[Et],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[wE.indicatorRotate]},changeDetection:0})}return t})(),rq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),SE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt,qW,Ms]})}return t})();function aq(t,n){1&t&&(d(0,"span",7),Ke(1,1),l())}function sq(t,n){1&t&&(d(0,"span",8),Ke(1,2),l())}const ME=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],TE=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function dq(t,n){1&t&&(xe(0),D(1,"span",8),we())}function uq(t,n){1&t&&(d(0,"span",9),Ke(1),l())}function hq(t,n){1&t&&(xe(0),Ke(1,1),we())}function mq(t,n){1&t&&Ke(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function pq(t,n){1&t&&D(0,"span",12)}function fq(t,n){if(1&t&&(xe(0),_(1,mq,1,0,"ng-content",10),_(2,pq,1,0,"ng-template",null,11,Zo),we()),2&t){const e=At(3),i=w();m(1),f("ngIf",i.contentEditInput)("ngIfElse",e)}}function gq(t,n){1&t&&(d(0,"span",13),Ke(1,3),l())}const _q=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],bq=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],jy=["*"],Pp=new oe("mat-chips-default-options"),zy=new oe("MatChipAvatar"),Hy=new oe("MatChipTrailingIcon"),Uy=new oe("MatChipRemove"),Rp=new oe("MatChip");class vq{}const yq=Aa(vq,-1);let al=(()=>{class t extends yq{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=Ue(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Rp))};static#t=this.\u0275dir=X({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,o){1&i&&L("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),2&i&&(et("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),Xe("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[fe]})}return t})(),OE=(()=>{class t extends al{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(i,o){2&i&&et("aria-hidden",null)},features:[Ze([{provide:Uy,useExisting:t}]),fe]})}return t})(),Cq=0;const Dq=Aa(Ea(Oa(Ia(class{constructor(t){this._elementRef=t}})),"primary"),-1);let Es=(()=>{class t extends Dq{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=Ue(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=Ue(e)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,i,o,r,a,s,c,u){super(i),this._changeDetectorRef=e,this._ngZone=o,this._focusMonitor=r,this._globalRippleOptions=c,this._onFocus=new te,this._onBlur=new te,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Cq++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new Ne,this.destroyed=new Ne,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=Fe(qT),this._document=a,this._animationsDisabled="NoopAnimations"===s,null!=u&&(this.tabIndex=parseInt(u)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=wi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const o=i._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Pt(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(We),g(yo),g(at),g(ti,8),g(Uc,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,o,r){if(1&i&&(pt(r,zy,5),pt(r,Hy,5),pt(r,Uy,5),pt(r,zy,5),pt(r,Hy,5),pt(r,Uy,5)),2&i){let a;Oe(a=Ae())&&(o.leadingIcon=a.first),Oe(a=Ae())&&(o.trailingIcon=a.first),Oe(a=Ae())&&(o.removeIcon=a.first),Oe(a=Ae())&&(o._allLeadingIcons=a),Oe(a=Ae())&&(o._allTrailingIcons=a),Oe(a=Ae())&&(o._allRemoveIcons=a)}},viewQuery:function(i,o){if(1&i&&xt(al,5),2&i){let r;Oe(r=Ae())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._handleKeydown(a)}),2&i&&(Hn("id",o.id),et("role",o.role)("tabindex",o.role?o.tabIndex:null)("aria-label",o.ariaLabel),Xe("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ze([{provide:Rp,useExisting:t}]),fe],ngContentSelectors:TE,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,o){1&i&&(Lt(ME),D(0,"span",0),d(1,"span",1)(2,"span",2),_(3,aq,2,0,"span",3),d(4,"span",4),Ke(5),D(6,"span",5),l()()(),_(7,sq,2,0,"span",6)),2&i&&(m(2),f("isInteractive",!1),m(1),f("ngIf",o.leadingIcon),m(4),f("ngIf",o._hasTrailingIcon()))},dependencies:[Et,al],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),Fp=(()=>{class t{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return t})(),$y=(()=>{class t extends Es{constructor(e,i,o,r,a,s,c,u){super(e,i,o,r,a,s,c,u),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new Ne,this._isEditing=!1,this.role="row",this._onBlur.pipe(nt(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(We),g(yo),g(at),g(ti,8),g(Uc,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(i,o,r){if(1&i&&pt(r,Fp,5),2&i){let a;Oe(a=Ae())&&(o.contentEditInput=a.first)}},viewQuery:function(i,o){if(1&i&&xt(Fp,5),2&i){let r;Oe(r=Ae())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(i,o){1&i&&L("focus",function(a){return o._handleFocus(a)})("dblclick",function(a){return o._handleDoubleclick(a)}),2&i&&(Hn("id",o.id),et("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),Xe("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Ze([{provide:Es,useExisting:t},{provide:Rp,useExisting:t}]),fe],ngContentSelectors:bq,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,o){1&i&&(Lt(_q),_(0,dq,2,0,"ng-container",0),d(1,"span",1),_(2,uq,2,0,"span",2),d(3,"span",3),_(4,hq,2,0,"ng-container",4),_(5,fq,4,2,"ng-container",4),D(6,"span",5),l()(),_(7,gq,2,0,"span",6),d(8,"span",7),h(9),l()),2&i&&(f("ngIf",!o._isEditing),m(1),f("tabIndex",o.tabIndex)("disabled",o.disabled),et("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),m(1),f("ngIf",o.leadingIcon),m(1),f("ngSwitch",o._isEditing),m(1),f("ngSwitchCase",!1),m(1),f("ngSwitchCase",!0),m(2),f("ngIf",o._hasTrailingIcon()),m(1),f("id",o._ariaDescriptionId),m(1),Re(o.ariaDescription))},dependencies:[Et,Lc,dm,al,Fp],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();class kq{constructor(n){}}const Sq=Aa(kq);let Gy=(()=>{class t extends Sq{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,o){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=o,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new te,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Vr}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(Hi(null),qi(()=>wi(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Hi(this._chips)).subscribe(e=>{const i=[];e.forEach(o=>o._getActions().forEach(r=>i.push(r))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new Hm(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(nt(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(nt(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Hi(null),nt(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(nt(this._destroyed)).subscribe(e=>{const o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Qi,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,o,r){if(1&i&&pt(r,Es,5),2&i){let a;Oe(a=Ae())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._handleKeydown(a)}),2&i&&et("role",o.role)},inputs:{disabled:"disabled",role:"role"},features:[fe],ngContentSelectors:jy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,o){1&i&&(Lt(),d(0,"div",0),Ke(1),l())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return t})();class Iq{constructor(n,e){this.source=n,this.value=e}}class Eq extends Gy{constructor(n,e,i,o,r,a,s){super(n,e,i),this._defaultErrorStateMatcher=o,this._parentForm=r,this._parentFormGroup=a,this.ngControl=s,this.stateChanges=new te}}const Oq=Rv(Eq);let RE=(()=>{class t extends Oq{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ue(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=Ue(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,o,r,a,s,c){super(e,i,o,s,r,a,c),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new Ne,this.valueChange=new Ne,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(nt(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),wi(this.chipFocusChanges,this._chips.changes).pipe(nt(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&dn(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new Iq(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Qi,8),g(ja,8),g(Ti,8),g(Gm),g(er,10))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-chip-grid"]],contentQueries:function(i,o,r){if(1&i&&pt(r,$y,5),2&i){let a;Oe(a=Ae())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(i,o){1&i&&L("focus",function(){return o.focus()})("blur",function(){return o._blur()}),2&i&&(Hn("tabIndex",o._chips&&0===o._chips.length?-1:o.tabIndex),et("role",o.role)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),Xe("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Ze([{provide:pp,useExisting:t}]),fe],ngContentSelectors:jy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,o){1&i&&(Lt(),d(0,"div",0),Ke(1),l())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return t})(),Aq=0,FE=(()=>{class t{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=Ue(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=Ue(e)}get empty(){return!this.inputElement.value}constructor(e,i,o){this._elementRef=e,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new Ne,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Aq++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=i.separatorKeyCodes,o&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!dn(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Pp),g(Jd,8))};static#t=this.\u0275dir=X({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(i,o){1&i&&L("keydown",function(a){return o._keydown(a)})("keyup",function(a){return o._keyup(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),2&i&&(Hn("id",o.id),et("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ai]})}return t})(),Wy=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[Gm,{provide:Pp,useValue:{separatorKeyCodes:[13]}}],imports:[wt,Mn,Ra,wt]})}return t})();class Pq{constructor(){this.expansionModel=new $d(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}}class NE extends Pq{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){const i=[];for(let o=this.dataNodes.indexOf(n)+1;othis._trackByValue(n)))}}let Bq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})(),LE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Bq,wt,wt]})}return t})();class $q{constructor(n,e,i,o){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=o}_flattenNode(n,e,i,o){const r=this.transformFunction(n,e);if(i.push(r),this.isExpandable(r)){const a=this.getChildren(n);a&&(Array.isArray(a)?this._flattenChildren(a,e,i,o):a.pipe(Pt(1)).subscribe(s=>{this._flattenChildren(s,e,i,o)}))}return i}_flattenChildren(n,e,i,o){n.forEach((r,a)=>{let s=o.slice();s.push(a!=n.length-1),this._flattenNode(r,e+1,i,s)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],o=[];return o[0]=!0,n.forEach(r=>{let a=!0;for(let s=0;s<=this.getLevel(r);s++)a=a&&o[s];a&&i.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=e.isExpanded(r))}),i}}class BE extends K9{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new bt([]),this._expandedData=new bt([]),this._data=new bt([]),i&&(this.data=i)}connect(n){return wi(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(Ge(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}function Gq(t,n){}const Wq=function(t){return{animationDuration:t}},qq=function(t,n){return{value:t,params:n}};function Kq(t,n){1&t&&Ke(0)}const VE=["*"],Zq=["tabListContainer"],Yq=["tabList"],Qq=["tabListInner"],Xq=["nextPaginator"],Jq=["previousPaginator"],eK=["tabBodyWrapper"],tK=["tabHeader"];function iK(t,n){}function nK(t,n){1&t&&_(0,iK,0,0,"ng-template",14),2&t&&f("cdkPortalOutlet",w().$implicit.templateLabel)}function oK(t,n){1&t&&h(0),2&t&&Re(w().$implicit.textLabel)}function rK(t,n){if(1&t){const e=_e();d(0,"div",6,7),L("click",function(){const o=ae(e),r=o.$implicit,a=o.index,s=w(),c=At(1);return se(s._handleClick(r,c,a))})("cdkFocusChange",function(o){const a=ae(e).index;return se(w()._tabFocusChanged(o,a))}),D(2,"span",8)(3,"div",9),d(4,"span",10)(5,"span",11),_(6,nK,1,1,"ng-template",12),_(7,oK,1,1,"ng-template",null,13,Zo),l()()()}if(2&t){const e=n.$implicit,i=n.index,o=At(1),r=At(8),a=w();Xe("mdc-tab--active",a.selectedIndex===i),f("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),et("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),m(3),f("matRippleTrigger",o)("matRippleDisabled",e.disabled||a.disableRipple),m(3),f("ngIf",e.templateLabel)("ngIfElse",r)}}function aK(t,n){if(1&t){const e=_e();d(0,"mat-tab-body",15),L("_onCentered",function(){return ae(e),se(w()._removeTabBodyWrapperHeight())})("_onCentering",function(o){return ae(e),se(w()._setTabBodyWrapperHeight(o))}),l()}if(2&t){const e=n.$implicit,i=n.index,o=w();Xe("mat-mdc-tab-body-active",o.selectedIndex===i),f("id",o._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),et("tabindex",null!=o.contentTabIndex&&o.selectedIndex===i?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(i))("aria-hidden",o.selectedIndex!==i)}}const sK={translateTab:_o("translateTab",[Zi("center, void, left-origin-center, right-origin-center",zt({transform:"none"})),Zi("left",zt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Zi("right",zt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ni("* => left, * => right, left => center, right => center",Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ni("void => left-origin-center",[zt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ni("void => right-origin-center",[zt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let cK=(()=>{class t extends Qr{constructor(e,i,o,r){super(e,i,r),this._host=o,this._centeringSub=T.EMPTY,this._leavingSub=T.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Hi(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(g(cs),g(ui),g(Ht(()=>jE)),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["","matTabBodyHost",""]],features:[fe]})}return t})(),lK=(()=>{class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=T.EMPTY,this._translateTabComplete=new te,this._onCentering=new Ne,this._beforeCentering=new Ne,this._afterLeavingCenter=new Ne,this._onCentered=new Ne(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(r=>{this._computePositionAnimationState(r),o.markForCheck()})),this._translateTabComplete.pipe(zs((r,a)=>r.fromState===a.fromState&&r.toState===a.toState)).subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qi,8),g(Nt))};static#t=this.\u0275dir=X({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return t})(),jE=(()=>{class t extends lK{constructor(e,i,o){super(e,i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Qi,8),g(Nt))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(1&i&&xt(Qr,5),2&i){let r;Oe(r=Ae())&&(o._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[fe],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(i,o){1&i&&(d(0,"div",0,1),L("@translateTab.start",function(a){return o._onTranslateTabStarted(a)})("@translateTab.done",function(a){return o._translateTabComplete.next(a)}),_(2,Gq,0,0,"ng-template",2),l()),2&i&&f("@translateTab",pk(3,qq,o._position,ii(1,Wq,o.animationDuration)))},dependencies:[cK],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[sK.translateTab]}})}return t})();const dK=new oe("MatTabContent");let uK=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(g(si))};static#t=this.\u0275dir=X({type:t,selectors:[["","matTabContent",""]],features:[Ze([{provide:dK,useExisting:t}])]})}return t})();const hK=new oe("MatTabLabel"),zE=new oe("MAT_TAB");let Qy=(()=>{class t extends TG{constructor(e,i,o){super(e,i),this._closestTab=o}static#e=this.\u0275fac=function(i){return new(i||t)(g(si),g(ui),g(zE,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ze([{provide:hK,useExisting:t}]),fe]})}return t})();const Xy="mdc-tab-indicator--active",HE="mdc-tab-indicator--no-transition";class mK{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){const e=this._items.find(o=>o.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){const o=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}}function pK(t){return class extends t{constructor(...n){super(...n),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(n){const e=Ue(n);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(n){const e=this.elementRef.nativeElement;if(!n||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(Xy);const i=e.getBoundingClientRect(),o=n.width/i.width,r=n.left-i.left;e.classList.add(HE),this._inkBarContentElement.style.setProperty("transform",`translateX(${r}px) scaleX(${o})`),e.getBoundingClientRect(),e.classList.remove(HE),e.classList.add(Xy),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Xy)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const n=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=n.createElement("span"),this._inkBarContentElement=n.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const gK=Ia(class{}),_K=pK((()=>{class t extends gK{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le))};static#t=this.\u0275dir=X({type:t,features:[fe]})}return t})());let UE=(()=>{class t extends _K{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){2&i&&(et("aria-disabled",!!o.disabled),Xe("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[fe]})}return t})();const bK=Ia(class{}),$E=new oe("MAT_TAB_GROUP");let vK=(()=>{class t extends bK{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new te,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Yr(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static#e=this.\u0275fac=function(i){return new(i||t)(g(ui),g($E,8))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(si,7),2&i){let r;Oe(r=Ae())&&(o._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[fe,ai]})}return t})(),Bp=(()=>{class t extends vK{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,uK,7,si),pt(r,Qy,5)),2&i){let a;Oe(a=Ae())&&(o._explicitContent=a.first),Oe(a=Ae())&&(o.templateLabel=a.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Ze([{provide:zE,useExisting:t}]),fe],ngContentSelectors:VE,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),_(0,Kq,1,0,"ng-template"))},encapsulation:2})}return t})();const GE=Ma({passive:!0});let wK=(()=>{class t{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ue(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=ki(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,o,r,a,s,c){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=r,this._ngZone=a,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new te,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new te,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Ne,this.indexFocused=new Ne,a.runOutsideAngular(()=>{Bo(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Bo(this._previousPaginator.nativeElement,"touchstart",GE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Bo(this._nextPaginator.nativeElement,"touchstart",GE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:qe("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Hm(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Pt(1)).subscribe(o),wi(e,i,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(r=>{this.indexFocused.emit(r),this._setTabFocus(r)})}_itemsResized(){return"function"!=typeof ResizeObserver?so:this._items.changes.pipe(Hi(this._items),qi(e=>new Ye(i=>this._ngZone.runOutsideAngular(()=>{const o=new ResizeObserver(r=>i.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),Dv(1),Tt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!dn(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:a}=i.elementRef.nativeElement;let s,c;"ltr"==this._getLayoutDirection()?(s=r,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-r,s=c-a);const u=this.scrollDistance,p=this.scrollDistance+o;sp&&(this.scrollDistance+=Math.min(c-p,s-u))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),fp(650,100).pipe(nt(wi(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(0===r||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Zr),g(Qi,8),g(We),g(Qt),g(ti,8))};static#t=this.\u0275dir=X({type:t,inputs:{disablePagination:"disablePagination"}})}return t})(),CK=(()=>{class t extends wK{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ue(e)}constructor(e,i,o,r,a,s,c){super(e,i,o,r,a,s,c),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Zr),g(Qi,8),g(We),g(Qt),g(ti,8))};static#t=this.\u0275dir=X({type:t,inputs:{disableRipple:"disableRipple"},features:[fe]})}return t})(),DK=(()=>{class t extends CK{constructor(e,i,o,r,a,s,c){super(e,i,o,r,a,s,c)}ngAfterContentInit(){this._inkBar=new mK(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(Zr),g(Qi,8),g(We),g(Qt),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,r){if(1&i&&pt(r,UE,4),2&i){let a;Oe(a=Ae())&&(o._items=a)}},viewQuery:function(i,o){if(1&i&&(xt(Zq,7),xt(Yq,7),xt(Qq,7),xt(Xq,5),xt(Jq,5)),2&i){let r;Oe(r=Ae())&&(o._tabListContainer=r.first),Oe(r=Ae())&&(o._tabList=r.first),Oe(r=Ae())&&(o._tabListInner=r.first),Oe(r=Ae())&&(o._nextPaginator=r.first),Oe(r=Ae())&&(o._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==o._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[fe],ngContentSelectors:VE,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(i,o){1&i&&(Lt(),d(0,"button",0,1),L("click",function(){return o._handlePaginatorClick("before")})("mousedown",function(a){return o._handlePaginatorPress("before",a)})("touchend",function(){return o._stopInterval()}),D(2,"div",2),l(),d(3,"div",3,4),L("keydown",function(a){return o._handleKeydown(a)}),d(5,"div",5,6),L("cdkObserveContent",function(){return o._onContentChanges()}),d(7,"div",7,8),Ke(9),l()()(),d(10,"button",9,10),L("mousedown",function(a){return o._handlePaginatorPress("after",a)})("click",function(){return o._handlePaginatorClick("after")})("touchend",function(){return o._stopInterval()}),D(12,"div",2),l()),2&i&&(Xe("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),f("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),m(3),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode),m(7),Xe("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),f("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Pa,gT],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return t})();const WE=new oe("MAT_TABS_CONFIG");let kK=0;const SK=Ea(Oa(class{constructor(t){this._elementRef=t}}),"primary");let MK=(()=>{class t extends SK{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ue(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=ki(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=ki(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ue(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=Ue(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,r){super(e),this._changeDetectorRef=i,this._animationMode=r,this._tabs=new Vr,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=T.EMPTY,this._tabLabelSubscription=T.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Ne,this.focusChange=new Ne,this.animationDone=new Ne,this.selectedTabChange=new Ne(!0),this._groupId=kK++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,this.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,this.contentTabIndex=o?.contentTabIndex??null,this.preserveContent=!!o?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let o;for(let r=0;r{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Hi(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new TK;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=wi(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(WE,8),g(ti,8))};static#t=this.\u0275dir=X({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[fe]})}return t})(),Jy=(()=>{class t extends MK{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=Ue(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ue(e)}constructor(e,i,o,r){super(e,i,o,r),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!o||null==o.fitInkBarToContent)&&o.fitInkBarToContent,this.stretchTabs=!o||null==o.stretchTabs||o.stretchTabs}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(WE,8),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,r){if(1&i&&pt(r,Bp,5),2&i){let a;Oe(a=Ae())&&(o._allTabs=a)}},viewQuery:function(i,o){if(1&i&&(xt(eK,5),xt(tK,5)),2&i){let r;Oe(r=Ae())&&(o._tabBodyWrapper=r.first),Oe(r=Ae())&&(o._tabHeader=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(i,o){2&i&&(rn("--mat-tab-animation-duration",o.animationDuration),Xe("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===o.headerPosition)("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Ze([{provide:$E,useExisting:t}]),fe],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(i,o){1&i&&(d(0,"mat-tab-header",0,1),L("indexFocused",function(a){return o._focusChanged(a)})("selectFocusedIndex",function(a){return o.selectedIndex=a}),_(2,rK,9,17,"div",2),l(),d(3,"div",3,4),_(5,aK,1,12,"mat-tab-body",5),l()),2&i&&(f("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),m(2),f("ngForOf",o._tabs),m(1),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode),m(2),f("ngForOf",o._tabs))},dependencies:[Qo,an,Et,Qr,Pa,_H,jE,UE,DK],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return t})();class TK{}let qE=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt,Ms,Ra,Lm,Pv,wt]})}return t})();function IK(t,n){if(1&t){const e=_e();d(0,"div",2)(1,"button",3),L("click",function(){return ae(e),se(w().action())}),h(2),l()()}if(2&t){const e=w();m(2),Se(" ",e.data.action," ")}}const EK=["label"];function OK(t,n){}const AK=Math.pow(2,31)-1;class e0{constructor(n,e){this._overlayRef=e,this._afterDismissed=new te,this._afterOpened=new te,this._onAction=new te,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,AK))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const KE=new oe("MatSnackBarData");class Vp{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let PK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),RK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),FK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),NK=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(i){return new(i||t)(g(e0),g(KE))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0),h(1),l(),_(2,IK,3,1,"div",1)),2&i&&(m(1),Se(" ",o.data.message,"\n"),m(1),f("ngIf",o.hasAction))},dependencies:[Et,Kt,PK,RK,FK],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return t})();const LK={snackBarState:_o("state",[Zi("void, hidden",zt({transform:"scale(0.8)",opacity:0})),Zi("visible",zt({transform:"scale(1)",opacity:1})),Ni("* => visible",Fi("150ms cubic-bezier(0, 0, 0.2, 1)")),Ni("* => void, * => hidden",Fi("75ms cubic-bezier(0.4, 0.0, 1, 1)",zt({opacity:0})))])};let BK=0,VK=(()=>{class t extends bp{constructor(e,i,o,r,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=r,this.snackBarConfig=a,this._document=Fe(at),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new te,this._onExit=new te,this._onEnter=new te,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+BK++,this.attachDomPortal=s=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:o}=e;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Pt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const i=e.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(We),g(Le),g(Nt),g(Qt),g(Vp))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(Qr,7),2&i){let r;Oe(r=Ae())&&(o._portalOutlet=r.first)}},features:[fe]})}return t})(),jK=(()=>{class t extends VK{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(1&i&&xt(EK,7),2&i){let r;Oe(r=Ae())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){1&i&&Nh("@state.done",function(a){return o.onAnimationEnd(a)}),2&i&&Vh("@state",o._animationState)},features:[fe],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1,2)(3,"div",3),_(4,OK,0,0,"ng-template",4),l(),D(5,"div"),l()()),2&i&&(m(5),et("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Qr],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[LK.snackBarState]}})}return t})(),t0=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Is,Ms,Mn,jv,wt,wt]})}return t})();const ZE=new oe("mat-snack-bar-default-options",{providedIn:"root",factory:function zK(){return new Vp}});let HK=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,r,a,s){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){const r={...this._defaultConfig,...o};return r.data={message:e,action:i},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const r=Di.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Vp,useValue:i}]}),a=new Xc(this.snackBarContainerComponent,i.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){const o={...new Vp,...this._defaultConfig,...i},r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new e0(a,r);if(e instanceof si){const c=new Yr(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(o,s),u=new Xc(e,void 0,c),p=a.attachComponentPortal(u);s.instance=p.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(nt(r.detachments())).subscribe(c=>{r.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Jc;i.direction=e.direction;let o=this._overlay.position().global();const r="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,s=!a&&"center"!==e.horizontalPosition;return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),"top"===e.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){return Di.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:e0,useValue:i},{provide:KE,useValue:e.data}]})}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Ov),Z(Di),Z(Sv),Z(t,12),Z(ZE))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),UK=(()=>{class t extends HK{constructor(e,i,o,r,a,s){super(e,i,o,r,a,s),this.simpleSnackBarComponent=NK,this.snackBarContainerComponent=jK,this.handsetCssClass="mat-mdc-snack-bar-handset"}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Ov),Z(Di),Z(Sv),Z(t,12),Z(ZE))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:t0})}return t})();function $K(t,n){}class jp{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let YE=(()=>{class t extends bp{constructor(e,i,o,r,a,s,c,u){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=p=>{this._portalOutlet.hasAttached();const b=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),b},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=Em(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Em();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Em())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(at,8),g(jp),g(Nd),g(We),g(ou),g(yo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(1&i&&xt(Qr,7),2&i){let r;Oe(r=Ae())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){2&i&&et("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[fe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){1&i&&_(0,$K,0,0,"ng-template",0)},dependencies:[Qr],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return t})();class n0{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new te,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!dn(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const QE=new oe("DialogScrollStrategy"),GK=new oe("DialogData"),WK=new oe("DefaultDialogConfig"),KK={provide:QE,deps:[In],useFactory:function qK(t){return()=>t.scrollStrategies.block()}};let ZK=0,XE=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,r,a,s){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new te,this._afterOpenedAtThisLevel=new te,this._ariaHiddenElements=new Map,this.afterAllClosed=el(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hi(void 0))),this._scrollStrategy=s}open(e,i){(i={...this._defaultOptions||new jp,...i}).id=i.id||"cdk-dialog-"+ZK++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),a=this._overlay.create(r),s=new n0(a,i),c=this._attachContainer(a,s,i);return s.containerInstance=c,this._attachDialogContent(e,s,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){o0(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){o0(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),o0(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Jc({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){const r=o.injector||o.viewContainerRef?.injector,a=[{provide:jp,useValue:o},{provide:n0,useValue:i},{provide:ou,useValue:e}];let s;o.container?"function"==typeof o.container?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=YE;const c=new Xc(s,o.viewContainerRef,Di.create({parent:r||this._injector,providers:a}),o.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,o,r){if(e instanceof si){const a=this._createInjector(r,i,o,void 0);let s={$implicit:r.data,dialogRef:i};r.templateContext&&(s={...s,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Yr(e,null,s,a))}else{const a=this._createInjector(r,i,o,this._injector),s=o.attachComponentPortal(new Xc(e,r.viewContainerRef,a,r.componentFactoryResolver));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,o,r){const a=e.injector||e.viewContainerRef?.injector,s=[{provide:GK,useValue:e.data},{provide:n0,useValue:i}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(i,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(Qi,null,{optional:!0}))&&s.push({provide:Qi,useValue:{value:e.direction,change:qe()}}),Di.create({parent:a||r,providers:s})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Di),Z(WK,8),Z(t,12),Z(vp),Z(QE))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function o0(t,n){let e=t.length;for(;e--;)n(t[e])}let YK=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[XE,KK],imports:[Is,Ms,Pv,Ms]})}return t})();function QK(t,n){}class zp{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const r0="mdc-dialog--open",JE="mdc-dialog--opening",eO="mdc-dialog--closing";let eZ=(()=>{class t extends YE{constructor(e,i,o,r,a,s,c,u){super(e,i,o,r,a,s,c,u),this._animationStateChanged=new Ne}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(at,8),g(zp),g(Nd),g(We),g(ou),g(yo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["ng-component"]],features:[fe],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})();const tO="--mat-dialog-transition-duration";function iO(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?ki(t.substring(0,t.length-2)):t.endsWith("s")?1e3*ki(t.substring(0,t.length-1)):"0"===t?0:null}let tZ=(()=>{class t extends eZ{constructor(e,i,o,r,a,s,c,u,p){super(e,i,o,r,a,s,c,p),this._animationMode=u,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?iO(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?iO(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(tO,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(JE,r0)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(r0),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(r0),this._animationsEnabled?(this._hostElement.style.setProperty(tO,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(eO)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(JE,eO)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(at,8),g(zp),g(Nd),g(We),g(ou),g(ti,8),g(yo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){2&i&&(Hn("id",o._config.id),et("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Xe("_mat-animation-noopable",!o._animationsEnabled))},features:[fe],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1),_(2,QK,0,0,"ng-template",2),l()())},dependencies:[Qr],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return t})();class En{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new te,this._beforeClosed=new te,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(Tt(o=>"opened"===o.state),Pt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Tt(o=>"closed"===o.state),Pt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),wi(this.backdropClick(),this.keydownEvents().pipe(Tt(o=>27===o.keyCode&&!this.disableClose&&!dn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),nO(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Tt(e=>"closing"===e.state),Pt(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function nO(t,n,e){return t._closeInteractionType=n,t.close(e)}const ro=new oe("MatMdcDialogData"),iZ=new oe("mat-mdc-dialog-default-options"),oO=new oe("mat-mdc-dialog-scroll-strategy"),oZ={provide:oO,deps:[In],useFactory:function nZ(t){return()=>t.scrollStrategies.block()}};let rZ=0,aZ=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,r,a,s,c,u,p,b){this._overlay=e,this._defaultOptions=o,this._parentDialog=r,this._dialogRefConstructor=c,this._dialogContainerType=u,this._dialogDataToken=p,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new te,this._afterOpenedAtThisLevel=new te,this._idPrefix="mat-dialog-",this.dialogConfigClass=zp,this.afterAllClosed=el(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hi(void 0))),this._scrollStrategy=s,this._dialog=i.get(XE)}open(e,i){let o;(i={...this._defaultOptions||new zp,...i}).id=i.id||`${this._idPrefix}${rZ++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:jp,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(a,s,c)=>(o=new this._dialogRefConstructor(a,i,c),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),br=(()=>{class t extends aZ{constructor(e,i,o,r,a,s,c,u){super(e,i,r,s,c,a,En,tZ,ro,u),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(i){return new(i||t)(Z(In),Z(Di),Z(yd,8),Z(iZ,8),Z(oO),Z(t,12),Z(vp),Z(ti,8))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})(),sZ=0,wo=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=rO(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){nO(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(i){return new(i||t)(g(En,8),g(Le),g(br))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){1&i&&L("click",function(a){return o._onButtonClick(a)}),2&i&&et("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ai]})}return t})(),cZ=(()=>{class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o,this.id="mat-mdc-dialog-title-"+sZ++}ngOnInit(){this._dialogRef||(this._dialogRef=rO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const e=this._dialogRef?._containerInstance?._ariaLabelledByQueue;e&&Promise.resolve().then(()=>{const i=e.indexOf(this.id);i>-1&&e.splice(i,1)})}static#e=this.\u0275fac=function(i){return new(i||t)(g(En,8),g(Le),g(br))};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){2&i&&Hn("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return t})(),vr=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return t})(),yr=(()=>{class t{constructor(){this.align="start"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(i,o){2&i&&Xe("mat-mdc-dialog-actions-align-center","center"===o.align)("mat-mdc-dialog-actions-align-end","end"===o.align)},inputs:{align:"align"}})}return t})();function rO(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let aO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[br,oZ],imports:[YK,Is,Ms,wt,wt]})}return t})();const lZ=["tooltip"],cO=new oe("mat-tooltip-scroll-strategy"),hZ={provide:cO,deps:[In],useFactory:function uZ(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},pZ=new oe("mat-tooltip-default-options",{providedIn:"root",factory:function mZ(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),lO="tooltip-panel",dO=Ma({passive:!0});let yZ=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ue(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=ki(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=ki(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,r,a,s,c,u,p,b,y,C){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=r,this._ngZone=a,this._platform=s,this._ariaDescriber=c,this._focusMonitor=u,this._dir=b,this._defaultOptions=y,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new te,this._scrollStrategy=p,this._document=C,y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures)),b.change.pipe(nt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(nt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,dO)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Xc(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&r._origin instanceof Le)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(nt(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${lO}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(nt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(nt(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!dn(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...r.main}),this._addOffset({...o.fallback,...r.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:r,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:r,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Pt(1),nt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:r}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===r?"above":"below",a!==this._currentPosition){const s=this._overlayRef;if(s){const c=`${this._cssClassPrefix}-${lO}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,dO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return t})(),On=(()=>{class t extends yZ{constructor(e,i,o,r,a,s,c,u,p,b,y,C){super(e,i,o,r,a,s,c,u,p,b,y,C),this._tooltipComponent=wZ,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const o=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=o?-8:8:"end"===e.originX&&(e.offsetX=o?8:-8),e}static#e=this.\u0275fac=function(i){return new(i||t)(g(In),g(Le),g(iu),g(ui),g(We),g(Qt),g(Q7),g(yo),g(cO),g(Qi,8),g(pZ,8),g(at))};static#t=this.\u0275dir=X({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-mdc-tooltip-disabled",o.disabled)},exportAs:["matTooltip"],features:[fe]})}return t})(),xZ=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new te,this._animationsDisabled="NoopAnimations"===i}show(e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(i.classList.remove(e?r:o),i.classList.add(e?o:r),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(ti,8))};static#t=this.\u0275dir=X({type:t})}return t})(),wZ=(()=>{class t extends xZ{constructor(e,i,o){super(e,o),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(1&i&&xt(lZ,7),2&i){let r;Oe(r=Ae())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){1&i&&L("mouseleave",function(a){return o._handleMouseLeave(a)}),2&i&&rn("zoom",o.isVisible()?1:null)},features:[fe],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){1&i&&(d(0,"div",0,1),L("animationend",function(a){return o._handleAnimationEnd(a)}),d(2,"div",2),h(3),l()()),2&i&&(Xe("mdc-tooltip--multiline",o._isMultiline),f("ngClass",o.tooltipClass),m(3),Re(o.message))},dependencies:[Qo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return t})(),uO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[hZ],imports:[Pv,Mn,Is,wt,wt,za]})}return t})();const CZ=["input"],DZ=["label"],kZ=["*"],SZ=new oe("mat-checkbox-default-options",{providedIn:"root",factory:hO});function hO(){return{color:"accent",clickAction:"check-indeterminate"}}const MZ={provide:Wn,useExisting:Ht(()=>a0),multi:!0};class TZ{}let IZ=0;const mO=hO(),EZ=Aa(Ea(Oa(Ia(class{constructor(t){this._elementRef=t}}))));let OZ=(()=>{class t extends EZ{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ue(e)}constructor(e,i,o,r,a,s,c){super(i),this._changeDetectorRef=o,this._ngZone=r,this._animationMode=s,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new Ne,this.indeterminateChange=new Ne,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||mO,this.color=this.defaultColor=this._options.color||mO.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++IZ}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Ue(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Ue(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Ue(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(i!==e&&o&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);const r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&(xt(CZ,5),xt(DZ,5),xt(Pa,5)),2&i){let r;Oe(r=Ae())&&(o._inputElement=r.first),Oe(r=Ae())&&(o._labelElement=r.first),Oe(r=Ae())&&(o.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[fe]})}return t})(),a0=(()=>{class t extends OZ{constructor(e,i,o,r,a,s){super("mat-mdc-checkbox-",e,i,o,r,a,s),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new TZ;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Nt),g(We),jn("tabindex"),g(ti,8),g(SZ,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(i,o){2&i&&(Hn("id",o.id),et("tabindex",null)("aria-label",null)("aria-labelledby",null),Xe("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Ze([MZ]),fe],ngContentSelectors:kZ,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(i,o){if(1&i&&(Lt(),d(0,"div",0),L("click",function(a){return o._preventBubblingFromLabel(a)}),d(1,"div",1,2)(3,"div",3),L("click",function(){return o._onTouchTargetClick()}),l(),d(4,"input",4,5),L("blur",function(){return o._onBlur()})("click",function(){return o._onInputClick()})("change",function(a){return o._onInteractionEvent(a)}),l(),D(6,"div",6),d(7,"div",7),di(),d(8,"svg",8),D(9,"path",9),l(),Pr(),D(10,"div",10),l(),D(11,"div",11),l(),d(12,"label",12,13),Ke(14),l()()),2&i){const r=At(2);Xe("mdc-form-field--align-end","before"==o.labelPosition),m(4),Xe("mdc-checkbox--selected",o.checked),f("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.tabIndex),et("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),m(7),f("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),m(1),f("for",o.inputId)}},dependencies:[Pa],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),pO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})(),fO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Ra,pO,wt,pO]})}return t})();const Hp=["*"],RZ=["content"];function FZ(t,n){if(1&t){const e=_e();d(0,"div",2),L("click",function(){return ae(e),se(w()._onBackdropClicked())}),l()}2&t&&Xe("mat-drawer-shown",w()._isShowingBackdrop())}function NZ(t,n){1&t&&(d(0,"mat-drawer-content"),Ke(1,2),l())}const LZ=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],BZ=["mat-drawer","mat-drawer-content","*"];function VZ(t,n){if(1&t){const e=_e();d(0,"div",2),L("click",function(){return ae(e),se(w()._onBackdropClicked())}),l()}2&t&&Xe("mat-drawer-shown",w()._isShowingBackdrop())}function jZ(t,n){1&t&&(d(0,"mat-sidenav-content"),Ke(1,2),l())}const zZ=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],HZ=["mat-sidenav","mat-sidenav-content","*"],gO={transformDrawer:_o("transform",[Zi("open, open-instant",zt({transform:"none",visibility:"visible"})),Zi("void",zt({"box-shadow":"none",visibility:"hidden"})),Ni("void => open-instant",Fi("0ms")),Ni("void <=> open, open-instant => void",Fi("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},$Z=new oe("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function GZ(){return!1}}),s0=new oe("MAT_DRAWER_CONTAINER");let Up=(()=>{class t extends nu{constructor(e,i,o,r,a){super(o,r,a),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Ht(()=>bO)),g(Le),g(iu),g(We))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(i,o){2&i&&rn("margin-left",o._container._contentMargins.left,"px")("margin-right",o._container._contentMargins.right,"px")},features:[Ze([{provide:nu,useExisting:t}]),fe],ngContentSelectors:Hp,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},encapsulation:2,changeDetection:0})}return t})(),_O=(()=>{class t{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ue(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ue(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ue(e))}constructor(e,i,o,r,a,s,c,u){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=o,this._platform=r,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=u,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new te,this._animationEnd=new te,this._animationState="void",this.openedChange=new Ne(!0),this._openedStream=this.openedChange.pipe(Tt(p=>p),Ge(()=>{})),this.openedStart=this._animationStarted.pipe(Tt(p=>p.fromState!==p.toState&&0===p.toState.indexOf("open")),yp(void 0)),this._closedStream=this.openedChange.pipe(Tt(p=>!p),Ge(()=>{})),this.closedStart=this._animationStarted.pipe(Tt(p=>p.fromState!==p.toState&&"void"===p.toState),yp(void 0)),this._destroyed=new te,this.onPositionChanged=new Ne,this._modeChanged=new te,this.openedChange.subscribe(p=>{p?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Bo(this._elementRef.nativeElement,"keydown").pipe(Tt(p=>27===p.keyCode&&!this.disableClose&&!dn(p)),nt(this._destroyed)).subscribe(p=>this._ngZone.run(()=>{this.close(),p.stopPropagation(),p.preventDefault()}))}),this._animationEnd.pipe(zs((p,b)=>p.fromState===b.fromState&&p.toState===b.toState)).subscribe(p=>{const{fromState:b,toState:y}=p;(0===y.indexOf("open")&&"void"===b||"void"===y&&0===b.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const o=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),o}_setOpen(e,i,o){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(o)),this._updateFocusTrapState(),new Promise(r=>{this.openedChange.pipe(Pt(1)).subscribe(a=>r(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,o=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),o.insertBefore(this._anchor,i)),o.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(Um),g(yo),g(Qt),g(We),g(Nd),g(at,8),g(s0,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,o){if(1&i&&xt(RZ,5),2&i){let r;Oe(r=Ae())&&(o._content=r.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(i,o){1&i&&Nh("@transform.start",function(a){return o._animationStarted.next(a)})("@transform.done",function(a){return o._animationEnd.next(a)}),2&i&&(et("align",null),Vh("@transform",o._animationState),Xe("mat-drawer-end","end"===o.position)("mat-drawer-over","over"===o.mode)("mat-drawer-push","push"===o.mode)("mat-drawer-side","side"===o.mode)("mat-drawer-opened",o.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Hp,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(i,o){1&i&&(Lt(),d(0,"div",0,1),Ke(2),l())},dependencies:[nu],encapsulation:2,data:{animation:[gO.transformDrawer]},changeDetection:0})}return t})(),bO=(()=>{class t{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ue(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=null==e?null:Ue(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,o,r,a,s=!1,c){this._dir=e,this._element=i,this._ngZone=o,this._changeDetectorRef=r,this._animationMode=c,this._drawers=new Vr,this.backdropClick=new Ne,this._destroyed=new te,this._doCheckSubject=new te,this._contentMargins={left:null,right:null},this._contentMarginChanges=new te,e&&e.change.pipe(nt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe(nt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Hi(this._allDrawers),nt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Hi(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Fm(10),nt(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const o=this._left._getWidth();e+=o,i-=o}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const o=this._right._getWidth();i+=o,e-=o}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Tt(i=>i.fromState!==i.toState),nt(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(nt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(nt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Pt(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(nt(wi(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,o="mat-drawer-container-has-open";e?i.add(o):i.remove(o)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return null!=e&&e.opened}_drawerHasBackdrop(e){return null==this._backdropOverride?!!e&&"side"!==e.mode:this._backdropOverride}static#e=this.\u0275fac=function(i){return new(i||t)(g(Qi,8),g(Le),g(We),g(Nt),g(Zr),g($Z),g(ti,8))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,Up,5),pt(r,_O,5)),2&i){let a;Oe(a=Ae())&&(o._content=a.first),Oe(a=Ae())&&(o._allDrawers=a)}},viewQuery:function(i,o){if(1&i&&xt(Up,5),2&i){let r;Oe(r=Ae())&&(o._userContent=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-drawer-container-explicit-backdrop",o._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ze([{provide:s0,useExisting:t}])],ngContentSelectors:BZ,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,o){1&i&&(Lt(LZ),_(0,FZ,1,2,"div",0),Ke(1),Ke(2,1),_(3,NZ,2,0,"mat-drawer-content",1)),2&i&&(f("ngIf",o.hasBackdrop),m(3),f("ngIf",!o._content))},dependencies:[Et,Up],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return t})(),c0=(()=>{class t extends Up{constructor(e,i,o,r,a){super(e,i,o,r,a)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Ht(()=>yO)),g(Le),g(iu),g(We))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(i,o){2&i&&rn("margin-left",o._container._contentMargins.left,"px")("margin-right",o._container._contentMargins.right,"px")},features:[Ze([{provide:nu,useExisting:t}]),fe],ngContentSelectors:Hp,decls:1,vars:0,template:function(i,o){1&i&&(Lt(),Ke(0))},encapsulation:2,changeDetection:0})}return t})(),vO=(()=>{class t extends _O{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ue(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=ki(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=ki(e)}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(i,o){2&i&&(et("align",null),rn("top",o.fixedInViewport?o.fixedTopGap:null,"px")("bottom",o.fixedInViewport?o.fixedBottomGap:null,"px"),Xe("mat-drawer-end","end"===o.position)("mat-drawer-over","over"===o.mode)("mat-drawer-push","push"===o.mode)("mat-drawer-side","side"===o.mode)("mat-drawer-opened",o.opened)("mat-sidenav-fixed",o.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[fe],ngContentSelectors:Hp,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(i,o){1&i&&(Lt(),d(0,"div",0,1),Ke(2),l())},dependencies:[nu],encapsulation:2,data:{animation:[gO.transformDrawer]},changeDetection:0})}return t})(),yO=(()=>{class t extends bO{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,c0,5),pt(r,vO,5)),2&i){let a;Oe(a=Ae())&&(o._content=a.first),Oe(a=Ae())&&(o._allDrawers=a)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(i,o){2&i&&Xe("mat-drawer-container-explicit-backdrop",o._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ze([{provide:s0,useExisting:t}]),fe],ngContentSelectors:HZ,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,o){1&i&&(Lt(zZ),_(0,VZ,1,2,"div",0),Ke(1),Ke(2,1),_(3,jZ,2,0,"mat-sidenav-content",1)),2&i&&(f("ngIf",o.hasBackdrop),m(3),f("ngIf",!o._content))},dependencies:[Et,c0],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return t})(),xO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt,za,za,wt]})}return t})();const WZ=["panel"];function qZ(t,n){if(1&t){const e=_e();d(0,"div",0,1),L("@panelAnimation.done",function(o){return ae(e),se(w()._animationDone.next(o))}),Ke(2),l()}if(2&t){const e=n.id,i=w();f("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),et("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const KZ=["*"],ZZ=_o("panelAnimation",[Zi("void, hidden",zt({opacity:0,transform:"scaleY(0.8)"})),Ni(":enter, hidden => visible",[Ub([Fi("0.03s linear",zt({opacity:1})),Fi("0.12s cubic-bezier(0, 0, 0.2, 1)",zt({transform:"scaleY(1)"}))])]),Ni(":leave, visible => hidden",[Fi("0.075s linear",zt({opacity:0}))])]);let YZ=0;class QZ{constructor(n,e){this.source=n,this.option=e}}const XZ=Oa(class{}),wO=new oe("mat-autocomplete-default-options",{providedIn:"root",factory:function JZ(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let eY=(()=>{class t extends XZ{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Ue(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=Ue(e)}get requireSelection(){return this._requireSelection}set requireSelection(e){this._requireSelection=Ue(e)}set classList(e){this._classList=e&&e.length?function N7(t,n=/\s+/){const e=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(n);for(const o of i){const r=`${o}`.trim();r&&e.push(r)}}return e}(e).reduce((i,o)=>(i[o]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,o,r){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=T.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new Ne,this.opened=new Ne,this.closed=new Ne,this.optionActivated=new Ne,this._classList={},this.id="mat-autocomplete-"+YZ++,this.inertGroups=r?.SAFARI||!1,this._autoActiveFirstOption=!!o.autoActiveFirstOption,this._autoSelectActiveOption=!!o.autoSelectActiveOption,this._requireSelection=!!o.requireSelection}ngAfterContentInit(){this._keyManager=new ST(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new QZ(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}_skipPredicate(e){return e.disabled}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt),g(Le),g(wO),g(Qt))};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&(xt(si,7),xt(WZ,5)),2&i){let r;Oe(r=Ae())&&(o.template=r.first),Oe(r=Ae())&&(o.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[fe]})}return t})(),tY=(()=>{class t extends eY{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new Ne,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ue(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(e){return!1}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,r){if(1&i&&(pt(r,Nv,5),pt(r,_n,5)),2&i){let a;Oe(a=Ae())&&(o.optionGroups=a),Oe(a=Ae())&&(o.options=a)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Ze([{provide:Fv,useExisting:t}]),fe],ngContentSelectors:KZ,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(i,o){1&i&&(Lt(),_(0,qZ,3,5,"ng-template"))},dependencies:[Qo],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[ZZ]},changeDetection:0})}return t})();const iY={provide:Wn,useExisting:Ht(()=>DO),multi:!0},CO=new oe("mat-autocomplete-scroll-strategy"),oY={provide:CO,deps:[In],useFactory:function nY(t){return()=>t.scrollStrategies.reposition()}};let rY=(()=>{class t{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Ue(e)}constructor(e,i,o,r,a,s,c,u,p,b,y){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=r,this._changeDetectorRef=a,this._dir=c,this._formField=u,this._document=p,this._viewportRuler=b,this._defaults=y,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=T.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new te,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=el(()=>{const C=this.autocomplete?this.autocomplete.options:null;return C?C.changes.pipe(Hi(C),qi(()=>wi(...C.map(A=>A.onSelectionChange)))):this._zone.onStable.pipe(Pt(1),qi(()=>this.optionSelections))}),this._handlePanelKeydown=C=>{(27===C.keyCode&&!dn(C)||38===C.keyCode&&dn(C,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),C.stopPropagation(),C.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&Vm(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&zc(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return wi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Tt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Tt(()=>this._overlayAttached)):qe()).pipe(Ge(e=>e instanceof zT?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return wi(Bo(this._document,"click"),Bo(this._document,"auxclick"),Bo(this._document,"touchend")).pipe(Tt(e=>{const i=Gr(e),o=this._formField?this._formField._elementRef.nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!r||!r.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,o=dn(e);if(27===i&&!o&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const r=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;"number"===i.type&&(o=""==o?null:parseFloat(o)),this._previousValue!==o&&(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),o||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return wi(this._zone.onStable.pipe(Pt(1)),this.autocomplete.options.changes.pipe(Ut(()=>this._positionStrategy.reapplyLastPosition()),My(0))).pipe(qi(()=>(this._zone.run(()=>{const o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),Pt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(Pt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Yr(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&i!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Jc({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}];let a;a="above"===this.position?r:"below"===this.position?i:[...i,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=this.autocomplete.id;this._trackedModal&&zc(this._trackedModal,"aria-owns",i),Vm(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(zc(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(In),g(ui),g(We),g(Nt),g(CO),g(Qi,8),g(Jd,9),g(at,8),g(Zr),g(wO,8))};static#t=this.\u0275dir=X({type:t,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ai]})}return t})(),DO=(()=>{class t extends rY{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){1&i&&L("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),2&i&&et("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||null==o.autocomplete?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Ze([iY]),fe]})}return t})(),kO=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({providers:[oY],imports:[Is,Wm,wt,Mn,za,Wm,wt]})}return t})();const aY=[KT,jv,wI,DI,MI,R2,eu,K2,cE,I2,mE,Ap,SE,Wy,Ap,LE,qE,t0,aO,Kv,uO,fO,xO,kO];let sY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[aY,KT,jv,wI,DI,MI,R2,eu,K2,cE,I2,mE,Ap,SE,Wy,Ap,LE,qE,t0,aO,Kv,uO,fO,xO,kO]})}return t})();const cY=["input"],lY=["*"];let SO=0;class MO{constructor(n,e){this.source=n,this.value=e}}const dY={provide:Wn,useExisting:Ht(()=>$p),multi:!0},TO=new oe("MatRadioGroup"),uY=new oe("mat-radio-default-options",{providedIn:"root",factory:function hY(){return{color:"accent"}}});let mY=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ue(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Ue(e),this._markRadiosForCheck()}constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+SO++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new Ne}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new MO(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Nt))};static#t=this.\u0275dir=X({type:t,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}})}return t})();class pY{constructor(n){this._elementRef=n}}const fY=Oa(Aa(pY));let gY=(()=>{class t extends fY{get checked(){return this._checked}set checked(e){const i=Ue(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Ue(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Ue(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,r,a,s,c,u){super(i),this._changeDetector=o,this._focusMonitor=r,this._radioDispatcher=a,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++SO,this.id=this._uniqueId,this.change=new Ne,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===s,u&&(this.tabIndex=ki(u,0))}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new MO(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){const o=this._inputElement?.nativeElement;o&&(o.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275dir=X({type:t,viewQuery:function(i,o){if(1&i&&xt(cY,5),2&i){let r;Oe(r=Ae())&&(o._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[fe]})}return t})(),$p=(()=>{class t extends mY{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275dir=X({type:t,selectors:[["mat-radio-group"]],contentQueries:function(i,o,r){if(1&i&&pt(r,Gp,5),2&i){let a;Oe(a=Ae())&&(o._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[Ze([dY,{provide:TO,useExisting:t}]),fe]})}return t})(),Gp=(()=>{class t extends gY{constructor(e,i,o,r,a,s,c,u){super(e,i,o,r,a,s,c,u)}static#e=this.\u0275fac=function(i){return new(i||t)(g(TO,8),g(Le),g(Nt),g(yo),g(Qv),g(ti,8),g(uY,8),jn("tabindex"))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(i,o){1&i&&L("focus",function(){return o._inputElement.nativeElement.focus()}),2&i&&(et("id",o.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Xe("mat-primary","primary"===o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color)("mat-mdc-radio-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[fe],ngContentSelectors:lY,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(i,o){if(1&i&&(Lt(),d(0,"div",0,1)(2,"div",2)(3,"div",3),L("click",function(a){return o._onTouchTargetClick(a)}),l(),d(4,"input",4,5),L("change",function(a){return o._onInputInteraction(a)}),l(),d(6,"div",6),D(7,"div",7)(8,"div",8),l(),d(9,"div",9),D(10,"div",10),l()(),d(11,"label",11),Ke(12),l()()),2&i){const r=At(1);Xe("mdc-form-field--align-end","before"==o.labelPosition),m(2),Xe("mdc-radio--disabled",o.disabled),m(2),f("id",o.inputId)("checked",o.checked)("disabled",o.disabled)("required",o.required),et("name",o.name)("value",o.value)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby),m(5),f("matRippleTrigger",r)("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",!0),m(2),f("for",o.inputId)}},dependencies:[Pa],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return t})(),_Y=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[wt,Mn,Ra,wt]})}return t})();class bY{constructor(n,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),o=i.style;o.position="fixed",o.top=o.opacity="0",o.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){const n=this._textarea;let e=!1;try{if(n){const i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){const n=this._textarea;n&&(n.remove(),this._textarea=void 0)}}let vY=(()=>{class t{constructor(e){this._document=e}copy(e){const i=this.beginCopy(e),o=i.copy();return i.destroy(),o}beginCopy(e){return new bY(e,this._document)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(at))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yY=new oe("CDK_COPY_TO_CLIPBOARD_CONFIG");let l0=(()=>{class t{constructor(e,i,o){this._clipboard=e,this._ngZone=i,this.text="",this.attempts=1,this.copied=new Ne,this._pending=new Set,o&&null!=o.attempts&&(this.attempts=o.attempts)}copy(e=this.attempts){if(e>1){let i=e;const o=this._clipboard.beginCopy(this.text);this._pending.add(o);const r=()=>{const a=o.copy();a||! --i||this._destroyed?(this._currentTimeout=null,this._pending.delete(o),o.destroy(),this.copied.emit(a)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(r,1))};r()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}static#e=this.\u0275fac=function(i){return new(i||t)(g(vY),g(We),g(yY,8))};static#t=this.\u0275dir=X({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(i,o){1&i&&L("click",function(){return o.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}})}return t})(),xY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();const Wp=F(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function qp(t){return rt((n,e)=>{let i=!1;n.subscribe(ct(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function IO(t=wY){return rt((n,e)=>{let i=!1;n.subscribe(ct(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function wY(){return new Wp}function Os(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Tt((o,r)=>t(o,r,i)):Te,Pt(1),e?qp(n):IO(()=>new Wp))}function d0(t){return t<=0?()=>so:rt((n,e)=>{let i=[];n.subscribe(ct(e,o=>{i.push(o),t{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}const Rt="primary",lu=Symbol("RouteTitle");class SY{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function sl(t){return new SY(t)}function MY(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[r]===o)}return t===n}function OO(t){return t.length>0?t[t.length-1]:null}function qa(t){return wp(t)?t:cd(t)?Bi(Promise.resolve(t)):qe(t)}const IY={exact:function RO(t,n,e){if(!As(t.segments,n.segments)||!Kp(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!RO(t.children[i],n.children[i],e))return!1;return!0},subset:FO},AO={exact:function EY(t,n){return xr(t,n)},subset:function OY(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>EO(t[e],n[e]))},ignored:()=>!0};function PO(t,n,e){return IY[e.paths](t.root,n.root,e.matrixParams)&&AO[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function FO(t,n,e){return NO(t,n,n.segments,e)}function NO(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!As(o,e)||n.hasChildren()||!Kp(o,e,i))}if(t.segments.length===e.length){if(!As(t.segments,e)||!Kp(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!FO(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!!(As(t.segments,o)&&Kp(t.segments,o,i)&&t.children[Rt])&&NO(t.children[Rt],n,r,i)}}function Kp(t,n,e){return n.every((i,o)=>AO[e](t[o].parameters,i.parameters))}class cl{constructor(n=new ci([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=sl(this.queryParams)),this._queryParamMap}toString(){return RY.serialize(this)}}class ci{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zp(this)}}class du{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=sl(this.parameters)),this._parameterMap}toString(){return VO(this)}}function As(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let uu=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return new u0},providedIn:"root"})}return t})();class u0{parse(n){const e=new GY(n);return new cl(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${hu(n.root,!0)}`,i=function LY(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${Yp(e)}=${Yp(o)}`).join("&"):`${Yp(e)}=${Yp(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function FY(t){return encodeURI(t)}(n.fragment)}`:""}`}}const RY=new u0;function Zp(t){return t.segments.map(n=>VO(n)).join("/")}function hu(t,n){if(!t.hasChildren())return Zp(t);if(n){const e=t.children[Rt]?hu(t.children[Rt],!1):"",i=[];return Object.entries(t.children).forEach(([o,r])=>{o!==Rt&&i.push(`${o}:${hu(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function PY(t,n){let e=[];return Object.entries(t.children).forEach(([i,o])=>{i===Rt&&(e=e.concat(n(o,i)))}),Object.entries(t.children).forEach(([i,o])=>{i!==Rt&&(e=e.concat(n(o,i)))}),e}(t,(i,o)=>o===Rt?[hu(t.children[Rt],!1)]:[`${o}:${hu(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Rt]?`${Zp(t)}/${e[0]}`:`${Zp(t)}/(${e.join("//")})`}}function LO(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yp(t){return LO(t).replace(/%3B/gi,";")}function h0(t){return LO(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qp(t){return decodeURIComponent(t)}function BO(t){return Qp(t.replace(/\+/g,"%20"))}function VO(t){return`${h0(t.path)}${function NY(t){return Object.keys(t).map(n=>`;${h0(n)}=${h0(t[n])}`).join("")}(t.parameters)}`}const BY=/^[^\/()?;#]+/;function m0(t){const n=t.match(BY);return n?n[0]:""}const VY=/^[^\/()?;=#]+/,zY=/^[^=?&#]+/,UY=/^[^&#]+/;class GY{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ci([],{}):new ci([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Rt]=new ci(n,e)),i}parseSegment(){const n=m0(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new de(4009,!1);return this.capture(n),new du(Qp(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function jY(t){const n=t.match(VY);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=m0(this.remaining);o&&(i=o,this.capture(i))}n[Qp(e)]=Qp(i)}parseQueryParam(n){const e=function HY(t){const n=t.match(zY);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function $Y(t){const n=t.match(UY);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const o=BO(e),r=BO(i);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=m0(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new de(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=Rt);const a=this.parseChildren();e[r]=1===Object.keys(a).length?a[Rt]:new ci([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new de(4011,!1)}}function jO(t){return t.segments.length>0?new ci([],{[Rt]:t}):t}function zO(t){const n={};for(const i of Object.keys(t.children)){const r=zO(t.children[i]);if(i===Rt&&0===r.segments.length&&r.hasChildren())for(const[a,s]of Object.entries(r.children))n[a]=s;else(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function WY(t){if(1===t.numberOfChildren&&t.children[Rt]){const n=t.children[Rt];return new ci(t.segments.concat(n.segments),n.children)}return t}(new ci(t.segments,n))}function Ps(t){return t instanceof cl}function HO(t){let n;const o=jO(function e(r){const a={};for(const c of r.children){const u=e(c);a[c.outlet]=u}const s=new ci(r.url,a);return r===t&&(n=s),s}(t.root));return n??o}function UO(t,n,e,i){let o=t;for(;o.parent;)o=o.parent;if(0===n.length)return p0(o,o,o,e,i);const r=function KY(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new GO(!0,0,t);let n=0,e=!1;const i=t.reduce((o,r,a)=>{if("object"==typeof r&&null!=r){if(r.outlets){const s={};return Object.entries(r.outlets).forEach(([c,u])=>{s[c]="string"==typeof u?u.split("/"):u}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===a?(r.split("/").forEach((s,c)=>{0==c&&"."===s||(0==c&&""===s?e=!0:".."===s?n++:""!=s&&o.push(s))}),o):[...o,r]},[]);return new GO(e,n,i)}(n);if(r.toRoot())return p0(o,o,new ci([],{}),e,i);const a=function ZY(t,n,e){if(t.isAbsolute)return new Jp(n,!0,0);if(!e)return new Jp(n,!1,NaN);if(null===e.parent)return new Jp(e,!0,0);const i=Xp(t.commands[0])?0:1;return function YY(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new de(4005,!1);o=i.segments.length}return new Jp(i,!1,o-r)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(r,o,t),s=a.processChildren?pu(a.segmentGroup,a.index,r.commands):WO(a.segmentGroup,a.index,r.commands);return p0(o,a.segmentGroup,s,e,i)}function Xp(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function mu(t){return"object"==typeof t&&null!=t&&t.outlets}function p0(t,n,e,i,o){let a,r={};i&&Object.entries(i).forEach(([c,u])=>{r[c]=Array.isArray(u)?u.map(p=>`${p}`):`${u}`}),a=t===n?e:$O(t,n,e);const s=jO(zO(a));return new cl(s,r,o)}function $O(t,n,e){const i={};return Object.entries(t.children).forEach(([o,r])=>{i[o]=r===n?e:$O(r,n,e)}),new ci(t.segments,i)}class GO{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Xp(i[0]))throw new de(4003,!1);const o=i.find(mu);if(o&&o!==OO(i))throw new de(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jp{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function WO(t,n,e){if(t||(t=new ci([],{})),0===t.segments.length&&t.hasChildren())return pu(t,n,e);const i=function XY(t,n,e){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;const a=t.segments[o],s=e[i];if(mu(s))break;const c=`${s}`,u=i0&&void 0===c)break;if(c&&u&&"object"==typeof u&&void 0===u.outlets){if(!KO(c,u,a))return r;i+=2}else{if(!KO(c,{},a))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndexr!==Rt)&&t.children[Rt]&&1===t.numberOfChildren&&0===t.children[Rt].segments.length){const r=pu(t.children[Rt],n,e);return new ci(t.segments,r.children)}return Object.entries(i).forEach(([r,a])=>{"string"==typeof a&&(a=[a]),null!==a&&(o[r]=WO(t.children[r],n,a))}),Object.entries(t.children).forEach(([r,a])=>{void 0===i[r]&&(o[r]=a)}),new ci(t.segments,o)}}function f0(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=f0(new ci([],{}),0,i))}),n}function qO(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function KO(t,n,e){return t==e.path&&xr(n,e.parameters)}const fu="imperative";class wr{constructor(n,e){this.id=n,this.url=e}}class ef extends wr{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ka extends wr{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gu extends wr{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ll extends wr{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class tf extends wr{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ZO extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eQ extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tQ extends wr{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,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 iQ extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nQ extends wr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oQ{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rQ{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class aQ{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sQ{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cQ{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lQ{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class YO{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class g0{}class _0{constructor(n){this.url=n}}class dQ{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new _u,this.attachRef=null}}let _u=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new dQ,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class QO{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=b0(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=b0(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=v0(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return v0(n,this._root).map(e=>e.value)}}function b0(t,n){if(t===n.value)return n;for(const e of n.children){const i=b0(t,e);if(i)return i}return null}function v0(t,n){if(t===n.value)return[n];for(const e of n.children){const i=v0(t,e);if(i.length)return i.unshift(n),i}return[]}class sa{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function dl(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class XO extends QO{constructor(n,e){super(n),this.snapshot=e,y0(this,n)}toString(){return this.snapshot.toString()}}function JO(t,n){const e=function uQ(t,n){const a=new nf([],{},{},"",{},Rt,n,null,{});return new tA("",new sa(a,[]))}(0,n),i=new bt([new du("",{})]),o=new bt({}),r=new bt({}),a=new bt({}),s=new bt(""),c=new ul(i,o,a,s,r,Rt,n,e.root);return c.snapshot=e.root,new XO(new sa(c,[]),e)}class ul{constructor(n,e,i,o,r,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Ge(u=>u[lu]))??qe(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=o,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(Ge(n=>sl(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ge(n=>sl(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function eA(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],r=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(r.component)break;i--}}return function hQ(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class nf{get title(){return this.data?.[lu]}constructor(n,e,i,o,r,a,s,c,u){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,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=sl(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=sl(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class tA extends QO{constructor(n,e){super(e),this.url=n,y0(this,e)}toString(){return iA(this._root)}}function y0(t,n){n.value._routerState=t,n.children.forEach(e=>y0(t,e))}function iA(t){const n=t.children.length>0?` { ${t.children.map(iA).join(", ")} } `:"";return`${t.value}${n}`}function x0(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,xr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),xr(n.params,e.params)||t.paramsSubject.next(e.params),function TY(t,n){if(t.length!==n.length)return!1;for(let e=0;exr(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||w0(t.parent,n.parent))}let rf=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=Rt,this.activateEvents=new Ne,this.deactivateEvents=new Ne,this.attachEvents=new Ne,this.detachEvents=new Ne,this.parentContexts=Fe(_u),this.location=Fe(ui),this.changeDetector=Fe(Nt),this.environmentInjector=Fe(po),this.inputBinder=Fe(af,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 de(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new de(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new de(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,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,i){if(this.isActivated)throw new de(4013,!1);this._activatedRoute=e;const o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new mQ(e,s,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=X({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ai]})}return t})();class mQ{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===ul?this.route:n===_u?this.childContexts:this.parent.get(n,e)}}const af=new oe("");let nA=(()=>{class t{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:i}=e,o=Bm([i.queryParams,i.params,i.data]).pipe(qi(([r,a,s],c)=>(s={...r,...a,...s},0===c?qe(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const a=function nB(t){const n=$t(t);if(!n)return null;const e=new nd(n);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 n.standalone},get isSignal(){return n.signals}}}(i.component);if(a)for(const{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,o)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function bu(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function fQ(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return bu(t,i,o);return bu(t,i)})}(t,n,e);return new sa(i,o)}{if(t.shouldAttach(n.value)){const r=t.retrieve(n.value);if(null!==r){const a=r.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>bu(t,s)),a}}const i=function gQ(t){return new ul(new bt(t.url),new bt(t.params),new bt(t.queryParams),new bt(t.fragment),new bt(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(r=>bu(t,r));return new sa(i,o)}}const C0="ngNavigationCancelingError";function oA(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Ps(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=rA(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function rA(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[C0]=!0,i.cancellationCode=n,e&&(i.url=e),i}function aA(t){return t&&t[C0]}let sA=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["ng-component"]],standalone:!0,features:[sk],decls:1,vars:0,template:function(i,o){1&i&&D(0,"router-outlet")},dependencies:[rf],encapsulation:2})}return t})();function D0(t){const n=t.children&&t.children.map(D0),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Rt&&(e.component=sA),e}function tr(t){return t.outlet||Rt}function vu(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class DQ{constructor(n,e,i,o,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),x0(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=dl(e);n.children.forEach(r=>{const a=r.value.outlet;this.deactivateRoutes(r,o[a],i),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const a=i.getContext(o.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=dl(n);for(const a of Object.keys(r))this.deactivateRouteAndItsChildren(r[a],o);if(i&&i.outlet){const a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=dl(n);for(const a of Object.keys(r))this.deactivateRouteAndItsChildren(r[a],o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const o=dl(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new lQ(r.value.snapshot))}),n.children.length&&this.forwardEvent(new sQ(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(x0(o),o===r)if(o.component){const a=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const a=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),x0(s.route.value),this.activateChildRoutes(n,null,a.children)}else{const s=vu(o.snapshot);a.attachRef=null,a.route=o,a.injector=s,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class cA{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class sf{constructor(n,e){this.component=n,this.route=e}}function kQ(t,n,e){const i=t._root;return yu(i,n?n._root:null,e,[i.value])}function hl(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function bP(t){return null!==Ou(t)}(t)?n.get(t):t:i}function yu(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=dl(n);return t.children.forEach(a=>{(function MQ(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){const c=function TQ(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!As(t.url,n.url);case"pathParamsOrQueryParamsChange":return!As(t.url,n.url)||!xr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!w0(t,n)||!xr(t.queryParams,n.queryParams);default:return!w0(t,n)}}(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new cA(i)):(r.data=a.data,r._resolvedData=a._resolvedData),yu(t,n,r.component?s?s.children:null:e,i,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new sf(s.outlet.component,a))}else a&&xu(n,s,o),o.canActivateChecks.push(new cA(i)),yu(t,null,r.component?s?s.children:null:e,i,o)})(a,r[a.value.outlet],e,i.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>xu(s,e.getContext(a),o)),o}function xu(t,n,e){const i=dl(t),o=t.value;Object.entries(i).forEach(([r,a])=>{xu(a,o.component?n?n.children.getContext(r):null:n,e)}),e.canDeactivateChecks.push(new sf(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function wu(t){return"function"==typeof t}function lA(t){return t instanceof Wp||"EmptyError"===t?.name}const cf=Symbol("INITIAL_VALUE");function ml(){return qi(t=>Bm(t.map(n=>n.pipe(Pt(1),Hi(cf)))).pipe(Ge(n=>{for(const e of n)if(!0!==e){if(e===cf)return cf;if(!1===e||e instanceof cl)return e}return!0}),Tt(n=>n!==cf),Pt(1)))}function dA(t){return function Ft(...t){return Ve(t)}(Ut(n=>{if(Ps(n))throw oA(0,n)}),Ge(n=>!0===n))}class lf{constructor(n){this.segmentGroup=n||null}}class uA{constructor(n){this.urlTree=n}}function pl(t){return $c(new lf(t))}function hA(t){return $c(new uA(t))}class KQ{constructor(n,e){this.urlSerializer=n,this.urlTree=e}noMatchError(n){return new de(4002,!1)}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return qe(i);if(o.numberOfChildren>1||!o.children[Rt])return $c(new de(4e3,!1));o=o.children[Rt]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const r=this.createSegmentGroup(n,e.root,i,o);return new cl(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([o,r])=>{if("string"==typeof r&&r.startsWith(":")){const s=r.substring(1);i[o]=e[s]}else i[o]=r}),i}createSegmentGroup(n,e,i,o){const r=this.createSegments(n,e.segments,i,o);let a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,i,o)}),new ci(r,a)}createSegments(n,e,i,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new de(4001,!1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}const k0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ZQ(t,n,e,i,o){const r=S0(t,n,e);return r.matched?(i=function bQ(t,n){return t.providers&&!t._injector&&(t._injector=z_(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function GQ(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?qe(o.map(a=>{const s=hl(a,t);return qa(function RQ(t){return t&&wu(t.canMatch)}(s)?s.canMatch(n,e):t.runInContext(()=>s(n,e)))})).pipe(ml(),dA()):qe(!0)}(i,n,e).pipe(Ge(a=>!0===a?r:{...k0}))):qe(r)}function S0(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...k0}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||MY)(e,t,n);if(!o)return{...k0};const r={};Object.entries(o.posParams??{}).forEach(([s,c])=>{r[s]=c.path});const a=o.consumed.length>0?{...r,...o.consumed[o.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function mA(t,n,e,i){return e.length>0&&function XQ(t,n,e){return e.some(i=>df(t,n,i)&&tr(i)!==Rt)}(t,e,i)?{segmentGroup:new ci(n,QQ(i,new ci(e,t.children))),slicedSegments:[]}:0===e.length&&function JQ(t,n,e){return e.some(i=>df(t,n,i))}(t,e,i)?{segmentGroup:new ci(t.segments,YQ(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new ci(t.segments,t.children),slicedSegments:e}}function YQ(t,n,e,i,o){const r={};for(const a of i)if(df(t,e,a)&&!o[tr(a)]){const s=new ci([],{});r[tr(a)]=s}return{...o,...r}}function QQ(t,n){const e={};e[Rt]=n;for(const i of t)if(""===i.path&&tr(i)!==Rt){const o=new ci([],{});e[tr(i)]=o}return e}function df(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class nX{constructor(n,e,i,o,r,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new KQ(this.urlSerializer,this.urlTree)}noMatchError(n){return new de(4002,!1)}recognize(){const n=mA(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,Rt).pipe(Si(e=>{if(e instanceof uA)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof lf?this.noMatchError(e):e}),Ge(e=>{const i=new nf([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Rt,this.rootComponentType,null,{}),o=new sa(i,e),r=new tA("",o),a=function qY(t,n,e=null,i=null){return UO(HO(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(r._root),{state:r,tree:a}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,Rt).pipe(Si(i=>{throw i instanceof lf?this.noMatchError(i):i}))}inheritParamsAndData(n){const e=n.value,i=eA(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o,!0)}processChildren(n,e,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return Bi(o).pipe(Gc(r=>{const a=i.children[r],s=function wQ(t,n){const e=t.filter(i=>tr(i)===n);return e.push(...t.filter(i=>tr(i)!==n)),e}(e,r);return this.processSegmentGroup(n,s,a,r)}),function DY(t,n){return rt(function CY(t,n,e,i,o){return(r,a)=>{let s=e,c=n,u=0;r.subscribe(ct(a,p=>{const b=u++;c=s?t(c,p,b):(s=!0,p),i&&a.next(c)},o&&(()=>{s&&a.next(c),a.complete()})))}}(t,n,arguments.length>=2,!0))}((r,a)=>(r.push(...a),r)),qp(null),function kY(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Tt((o,r)=>t(o,r,i)):Te,d0(1),e?qp(n):IO(()=>new Wp))}(),en(r=>{if(null===r)return pl(i);const a=pA(r);return function oX(t){t.sort((n,e)=>n.value.outlet===Rt?-1:e.value.outlet===Rt?1:n.value.outlet.localeCompare(e.value.outlet))}(a),qe(a)}))}processSegment(n,e,i,o,r,a){return Bi(e).pipe(Gc(s=>this.processSegmentAgainstRoute(s._injector??n,e,s,i,o,r,a).pipe(Si(c=>{if(c instanceof lf)return qe(null);throw c}))),Os(s=>!!s),Si(s=>{if(lA(s))return function tX(t,n,e){return 0===n.length&&!t.children[e]}(i,o,r)?qe([]):pl(i);throw s}))}processSegmentAgainstRoute(n,e,i,o,r,a,s){return function eX(t,n,e,i){return!!(tr(t)===i||i!==Rt&&df(n,e,t))&&("**"===t.path||S0(n,t,e).matched)}(i,o,r,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,o,i,r,a,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,i,r,a):pl(o):pl(o)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,a){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const r=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?hA(r):this.applyRedirects.lineralizeSegments(i,r).pipe(en(a=>{const s=new ci(a,{});return this.processSegment(n,e,s,a,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,a){const{matched:s,consumedSegments:c,remainingSegments:u,positionalParamSegments:p}=S0(e,o,r);if(!s)return pl(e);const b=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,p);return o.redirectTo.startsWith("/")?hA(b):this.applyRedirects.lineralizeSegments(o,b).pipe(en(y=>this.processSegment(n,i,e,y.concat(u),a,!1)))}matchSegmentAgainstRoute(n,e,i,o,r,a){let s;if("**"===i.path){const c=o.length>0?OO(o).parameters:{};s=qe({snapshot:new nf(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fA(i),tr(i),i.component??i._loadedComponent??null,i,gA(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else s=ZQ(e,i,o,n).pipe(Ge(({matched:c,consumedSegments:u,remainingSegments:p,parameters:b})=>c?{snapshot:new nf(u,b,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fA(i),tr(i),i.component??i._loadedComponent??null,i,gA(i)),consumedSegments:u,remainingSegments:p}:null));return s.pipe(qi(c=>null===c?pl(e):this.getChildConfig(n=i._injector??n,i,o).pipe(qi(({routes:u})=>{const p=i._loadedInjector??n,{snapshot:b,consumedSegments:y,remainingSegments:C}=c,{segmentGroup:A,slicedSegments:O}=mA(e,y,C,u);if(0===O.length&&A.hasChildren())return this.processChildren(p,u,A).pipe(Ge(ce=>null===ce?null:[new sa(b,ce)]));if(0===u.length&&0===O.length)return qe([new sa(b,[])]);const W=tr(i)===r;return this.processSegment(p,u,A,O,W?Rt:r,!0).pipe(Ge(ce=>[new sa(b,ce)]))}))))}getChildConfig(n,e,i){return e.children?qe({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?qe({routes:e._loadedRoutes,injector:e._loadedInjector}):function $Q(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?qe(!0):qe(o.map(a=>{const s=hl(a,t);return qa(function EQ(t){return t&&wu(t.canLoad)}(s)?s.canLoad(n,e):t.runInContext(()=>s(n,e)))})).pipe(ml(),dA())}(n,e,i).pipe(en(o=>o?this.configLoader.loadChildren(n,e).pipe(Ut(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function qQ(t){return $c(rA(!1,3))}())):qe({routes:[],injector:n})}}function rX(t){const n=t.value.routeConfig;return n&&""===n.path}function pA(t){const n=[],e=new Set;for(const i of t){if(!rX(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=pA(i.children);n.push(new sa(i.value,o))}return n.filter(i=>!e.has(i))}function fA(t){return t.data||{}}function gA(t){return t.resolve||{}}function _A(t){return"string"==typeof t.title||null===t.title}function M0(t){return qi(n=>{const e=t(n);return e?Bi(e).pipe(Ge(()=>n)):qe(n)})}const fl=new oe("ROUTES");let T0=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Fe(eS)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return qe(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=qa(e.loadComponent()).pipe(Ge(bA),Ut(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),xs(()=>{this.componentLoaders.delete(e)})),o=new Yv(i,()=>new te).pipe(Zv());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return qe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=function hX(t,n,e,i){return qa(t.loadChildren()).pipe(Ge(bA),en(o=>o instanceof rk||Array.isArray(o)?qe(o):Bi(n.compileModuleAsync(o))),Ge(o=>{i&&i(t);let r,a,s=!1;return Array.isArray(o)?(a=o,!0):(r=o.create(e).injector,a=r.get(fl,[],{optional:!0,self:!0}).flat()),{routes:a.map(D0),injector:r}}))}(i,this.compiler,e,this.onLoadEndListener).pipe(xs(()=>{this.childrenLoaders.delete(i)})),a=new Yv(r,()=>new te).pipe(Zv());return this.childrenLoaders.set(i,a),a}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bA(t){return function mX(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let uf=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new te,this.transitionAbortSubject=new te,this.configLoader=Fe(T0),this.environmentInjector=Fe(po),this.urlSerializer=Fe(uu),this.rootContexts=Fe(_u),this.inputBindingEnabled=null!==Fe(af,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>qe(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new rQ(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new oQ(o))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e,i,o){return this.transitions=new bt({id:0,currentUrlTree:i,currentRawUrl:i,currentBrowserUrl:i,extractedUrl:e.urlHandlingStrategy.extract(i),urlAfterRedirects:e.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:fu,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Tt(r=>0!==r.id),Ge(r=>({...r,extractedUrl:e.urlHandlingStrategy.extract(r.rawUrl)})),qi(r=>{this.currentTransition=r;let a=!1,s=!1;return qe(r).pipe(Ut(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),qi(c=>{const u=c.currentBrowserUrl.toString(),p=!e.navigated||c.extractedUrl.toString()!==u||u!==c.currentUrlTree.toString();if(!p&&"reload"!==(c.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const y="";return this.events.next(new ll(c.id,this.urlSerializer.serialize(c.rawUrl),y,0)),c.resolve(null),so}if(e.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return qe(c).pipe(qi(y=>{const C=this.transitions?.getValue();return this.events.next(new ef(y.id,this.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState)),C!==this.transitions?.getValue()?so:Promise.resolve(y)}),function aX(t,n,e,i,o,r){return en(a=>function iX(t,n,e,i,o,r,a="emptyOnly"){return new nX(t,n,e,i,o,a,r).recognize()}(t,n,e,i,a.extractedUrl,o,r).pipe(Ge(({state:s,tree:c})=>({...a,targetSnapshot:s,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Ut(y=>{r.targetSnapshot=y.targetSnapshot,r.urlAfterRedirects=y.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:y.urlAfterRedirects};const C=new ZO(y.id,this.urlSerializer.serialize(y.extractedUrl),this.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);this.events.next(C)}));if(p&&e.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:y,extractedUrl:C,source:A,restoredState:O,extras:W}=c,ce=new ef(y,this.urlSerializer.serialize(C),A,O);this.events.next(ce);const ie=JO(0,this.rootComponentType).snapshot;return this.currentTransition=r={...c,targetSnapshot:ie,urlAfterRedirects:C,extras:{...W,skipLocationChange:!1,replaceUrl:!1}},qe(r)}{const y="";return this.events.next(new ll(c.id,this.urlSerializer.serialize(c.extractedUrl),y,1)),c.resolve(null),so}}),Ut(c=>{const u=new eQ(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Ge(c=>(this.currentTransition=r={...c,guards:kQ(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},r)),function NQ(t,n){return en(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return 0===a.length&&0===r.length?qe({...e,guardsResult:!0}):function LQ(t,n,e,i){return Bi(t).pipe(en(o=>function UQ(t,n,e,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?qe(r.map(s=>{const c=vu(n)??o,u=hl(s,c);return qa(function PQ(t){return t&&wu(t.canDeactivate)}(u)?u.canDeactivate(t,n,e,i):c.runInContext(()=>u(t,n,e,i))).pipe(Os())})).pipe(ml()):qe(!0)}(o.component,o.route,e,n,i)),Os(o=>!0!==o,!0))}(a,i,o,t).pipe(en(s=>s&&function IQ(t){return"boolean"==typeof t}(s)?function BQ(t,n,e,i){return Bi(n).pipe(Gc(o=>Fd(function jQ(t,n){return null!==t&&n&&n(new aQ(t)),qe(!0)}(o.route.parent,i),function VQ(t,n){return null!==t&&n&&n(new cQ(t)),qe(!0)}(o.route,i),function HQ(t,n,e){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(a=>function SQ(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>el(()=>qe(a.guards.map(c=>{const u=vu(a.node)??e,p=hl(c,u);return qa(function AQ(t){return t&&wu(t.canActivateChild)}(p)?p.canActivateChild(i,t):u.runInContext(()=>p(i,t))).pipe(Os())})).pipe(ml())));return qe(r).pipe(ml())}(t,o.path,e),function zQ(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return qe(!0);const o=i.map(r=>el(()=>{const a=vu(n)??e,s=hl(r,a);return qa(function OQ(t){return t&&wu(t.canActivate)}(s)?s.canActivate(n,t):a.runInContext(()=>s(n,t))).pipe(Os())}));return qe(o).pipe(ml())}(t,o.route,e))),Os(o=>!0!==o,!0))}(i,r,t,n):qe(s)),Ge(s=>({...e,guardsResult:s})))})}(this.environmentInjector,c=>this.events.next(c)),Ut(c=>{if(r.guardsResult=c.guardsResult,Ps(c.guardsResult))throw oA(0,c.guardsResult);const u=new tQ(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Tt(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),M0(c=>{if(c.guards.canActivateChecks.length)return qe(c).pipe(Ut(u=>{const p=new iQ(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),qi(u=>{let p=!1;return qe(u).pipe(function sX(t,n){return en(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return qe(e);let r=0;return Bi(o).pipe(Gc(a=>function cX(t,n,e,i){const o=t.routeConfig,r=t._resolve;return void 0!==o?.title&&!_A(o)&&(r[lu]=o.title),function lX(t,n,e,i){const o=function dX(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return qe({});const r={};return Bi(o).pipe(en(a=>function uX(t,n,e,i){const o=vu(n)??i,r=hl(t,o);return qa(r.resolve?r.resolve(n,e):o.runInContext(()=>r(n,e)))}(t[a],n,e,i).pipe(Os(),Ut(s=>{r[a]=s}))),d0(1),yp(r),Si(a=>lA(a)?so:$c(a)))}(r,t,n,i).pipe(Ge(a=>(t._resolvedData=a,t.data=eA(t,e).resolve,o&&_A(o)&&(t.data[lu]=o.title),null)))}(a.route,i,t,n)),Ut(()=>r++),d0(1),en(a=>r===o.length?qe(e):so))})}(e.paramsInheritanceStrategy,this.environmentInjector),Ut({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(u,"",2)}}))}),Ut(u=>{const p=new nQ(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}))}),M0(c=>{const u=p=>{const b=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&b.push(this.configLoader.loadComponent(p.routeConfig).pipe(Ut(y=>{p.component=y}),Ge(()=>{})));for(const y of p.children)b.push(...u(y));return b};return Bm(u(c.targetSnapshot.root)).pipe(qp(),Pt(1))}),M0(()=>this.afterPreactivation()),Ge(c=>{const u=function pQ(t,n,e){const i=bu(t,n._root,e?e._root:void 0);return new XO(i,n)}(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r={...c,targetRouterState:u},r}),Ut(()=>{this.events.next(new g0)}),((t,n,e,i)=>Ge(o=>(new DQ(n,o.targetRouterState,o.currentRouterState,e,i).activate(t),o)))(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Pt(1),Ut({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ka(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),e.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),nt(this.transitionAbortSubject.pipe(Ut(c=>{throw c}))),xs(()=>{a||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Si(c=>{if(s=!0,aA(c))this.events.next(new gu(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),function _Q(t){return aA(t)&&Ps(t.url)}(c)?this.events.next(new _0(c.url)):r.resolve(!1);else{this.events.next(new tf(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0));try{r.resolve(e.errorHandler(c))}catch(u){r.reject(u)}}return so}))}))}cancelNavigationTransition(e,i,o){const r=new gu(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(r),e.resolve(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vA(t){return t!==fu}let yA=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===Rt);return i}getResolvedTitleForRoute(e){return e.data[lu]}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(pX)},providedIn:"root"})}return t})(),pX=(()=>{class t extends yA{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(kM))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fX=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(_X)},providedIn:"root"})}return t})();class gX{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let _X=(()=>{class t extends gX{static#e=this.\u0275fac=function(){let e;return function(o){return(e||(e=ht(t)))(o||t)}}();static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hf=new oe("",{providedIn:"root",factory:()=>({})});let bX=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:function(){return Fe(vX)},providedIn:"root"})}return t})(),vX=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Cu=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Cu||{});function xA(t,n){t.events.pipe(Tt(e=>e instanceof Ka||e instanceof gu||e instanceof tf||e instanceof ll),Ge(e=>e instanceof Ka||e instanceof ll?Cu.COMPLETE:e instanceof gu&&(0===e.code||1===e.code)?Cu.REDIRECTING:Cu.FAILED),Tt(e=>e!==Cu.REDIRECTING),Pt(1)).subscribe(()=>{n()})}function yX(t){throw t}function xX(t,n,e){return n.parse("/")}const wX={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},CX={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let cn=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Fe(Jk),this.isNgZoneEnabled=!1,this._events=new te,this.options=Fe(hf,{optional:!0})||{},this.pendingTasks=Fe(qh),this.errorHandler=this.options.errorHandler||yX,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||xX,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Fe(bX),this.routeReuseStrategy=Fe(fX),this.titleStrategy=Fe(yA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Fe(fl,{optional:!0})?.flat()??[],this.navigationTransitions=Fe(uf),this.urlSerializer=Fe(uu),this.location=Fe(yd),this.componentInputBindingEnabled=!!Fe(af,{optional:!0}),this.eventsSubscription=new T,this.isNgZoneEnabled=Fe(We)instanceof We&&We.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new cl,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=JO(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(i=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(wA(i)&&this._events.next(i));if(i instanceof ef)vA(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(i instanceof ll)this.rawUrlTree=o.rawUrl;else if(i instanceof ZO){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(r,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(i instanceof g0)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(i instanceof gu)0!==i.code&&1!==i.code&&(this.navigated=!0),(3===i.code||2===i.code)&&this.restoreHistory(o);else if(i instanceof _0){const r=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vA(o.source)};this.scheduleNavigation(r,fu,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}i instanceof tf&&this.restoreHistory(o,!0),i instanceof Ka&&(this.navigated=!0),wA(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),fu,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,o){const r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const c={...o};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(r.state=c)}const s=this.parseUrl(e);this.scheduleNavigation(s,i,a,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(D0),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){const{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:a;let b,p=null;switch(s){case"merge":p={...this.currentUrlTree.queryParams,...r};break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}null!==p&&(p=this.removeEmptyProps(p));try{b=HO(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),b=this.currentUrlTree.root}return UO(b,e,p,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=Ps(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,fu,null,i)}navigate(e,i={skipLocationChange:!1}){return function DX(t){for(let n=0;n{const r=e[o];return null!=r&&(i[o]=r),i},{})}scheduleNavigation(e,i,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,c,u;a?(s=a.resolve,c=a.reject,u=a.promise):u=new Promise((b,y)=>{s=b,c=y});const p=this.pendingTasks.add();return xA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:e,extras:r,resolve:s,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(b=>Promise.reject(b))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const r={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(o,"",r)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-this.browserPageId;0!==r?this.location.historyGo(r):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wA(t){return!(t instanceof g0||t instanceof _0)}let Cr=(()=>{class t{constructor(e,i,o,r,a,s){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s,this.href=null,this.commands=null,this.onChanges=new te,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof Ka&&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,i,o,r,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||r||a||"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 fC(t,n,e){return function kN(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?pC:kn}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,r=this.el.nativeElement;null!==i?o.setAttribute(r,e,i):o.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(i){return new(i||t)(g(cn),g(ul),jn("tabindex"),g(Fr),g(Le),g(fs))};static#t=this.\u0275dir=X({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){1&i&&L("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&i&&et("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Fc],skipLocationChange:["skipLocationChange","skipLocationChange",Fc],replaceUrl:["replaceUrl","replaceUrl",Fc],routerLink:"routerLink"},standalone:!0,features:[S1,ai]})}return t})();class CA{}let MX=(()=>{class t{constructor(e,i,o,r,a){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Tt(e=>e instanceof Ka),Gc(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const r of i){r.providers&&!r._injector&&(r._injector=z_(r.providers,e,`Route: ${r.path}`));const a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Bi(o).pipe(js())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):qe(null);const r=o.pipe(en(a=>null===a?qe(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?Bi([r,this.loader.loadComponent(i)]).pipe(js()):r})}static#e=this.\u0275fac=function(i){return new(i||t)(Z(cn),Z(eS),Z(po),Z(CA),Z(T0))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const I0=new oe("");let DA=(()=>{class t{constructor(e,i,o,r,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=r,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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 ef?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ka?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ll&&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 YO&&(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,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new YO(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){Lr()};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac})}return t})();function ca(t,n){return{\u0275kind:t,\u0275providers:n}}function SA(){const t=Fe(Di);return n=>{const e=t.get(wa);if(n!==e.components[0])return;const i=t.get(cn),o=t.get(MA);1===t.get(E0)&&i.initialNavigation(),t.get(TA,null,Vt.Optional)?.setUpPreloading(),t.get(I0,null,Vt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const MA=new oe("",{factory:()=>new te}),E0=new oe("",{providedIn:"root",factory:()=>1}),TA=new oe("");function OX(t){return ca(0,[{provide:TA,useExisting:MX},{provide:CA,useExisting:t}])}const IA=new oe("ROUTER_FORROOT_GUARD"),PX=[yd,{provide:uu,useClass:u0},cn,_u,{provide:ul,useFactory:function kA(t){return t.routerState.root},deps:[cn]},T0,[]];function RX(){return new sS("Router",cn)}let EA=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[PX,[],{provide:fl,multi:!0,useValue:e},{provide:IA,useFactory:BX,deps:[[cn,new os,new jl]]},{provide:hf,useValue:i||{}},i?.useHash?{provide:fs,useClass:cB}:{provide:fs,useClass:LS},{provide:I0,useFactory:()=>{const t=Fe(wV),n=Fe(We),e=Fe(hf),i=Fe(uf),o=Fe(uu);return e.scrollOffset&&t.setOffset(e.scrollOffset),new DA(o,i,t,n,e)}},i?.preloadingStrategy?OX(i.preloadingStrategy).\u0275providers:[],{provide:sS,multi:!0,useFactory:RX},i?.initialNavigation?VX(i):[],i?.bindToComponentInputs?ca(8,[nA,{provide:af,useExisting:nA}]).\u0275providers:[],[{provide:OA,useFactory:SA},{provide:cb,multi:!0,useExisting:OA}]]}}static forChild(e){return{ngModule:t,providers:[{provide:fl,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(i){return new(i||t)(Z(IA,8))};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({})}return t})();function BX(t){return"guarded"}function VX(t){return["disabled"===t.initialNavigation?ca(3,[{provide:eb,multi:!0,useFactory:()=>{const n=Fe(cn);return()=>{n.setUpLocationChangeListener()}}},{provide:E0,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?ca(2,[{provide:E0,useValue:0},{provide:eb,multi:!0,deps:[Di],useFactory:n=>{const e=n.get(aB,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(cn),r=n.get(MA);xA(o,()=>{i(!0)}),n.get(uf).afterPreactivation=()=>(i(!0),r.closed?qe(void 0):r),o.initialNavigation()}))}}]).\u0275providers:[]]}const OA=new oe("");var An=function(t){return t.DirectConnect="directConnect",t.DumpFile="dumpFile",t.SessionFile="sessionFile",t.ResumeSession="resumeSession",t}(An||{}),$i=function(t){return t.Type="inputType",t.Config="config",t.SourceDbName="sourceDbName",t}($i||{}),Za=function(t){return t.MySQL="MySQL",t.Postgres="Postgres",t.SQLServer="SQL Server",t.Oracle="Oracle",t}(Za||{}),oi=function(t){return t.DbName="databaseName",t.Tables="tables",t.Table="tableName",t.Indexes="indexes",t.Index="indexName",t}(oi||{}),Dr=function(t){return t.schemaOnly="Schema",t.dataOnly="Data",t.schemaAndData="Schema And Data",t}(Dr||{}),gl=function(t){return t.Table="table",t.Index="index",t}(gl||{}),vn=function(t){return t.bulkMigration="bulk",t.lowDowntimeMigration="lowdt",t}(vn||{}),ue=function(t){return t.MigrationMode="migrationMode",t.MigrationType="migrationType",t.IsTargetDetailSet="isTargetDetailSet",t.IsSourceConnectionProfileSet="isSourceConnectionProfileSet",t.IsSourceDetailsSet="isSourceDetailsSet",t.IsTargetConnectionProfileSet="isTargetConnectionProfileSet",t.IsMigrationDetailSet="isMigrationDetailSet",t.IsMigrationInProgress="isMigrationInProgress",t.HasDataMigrationStarted="hasDataMigrationStarted",t.HasSchemaMigrationStarted="hasSchemaMigrationStarted",t.SchemaProgressMessage="schemaProgressMessage",t.DataProgressMessage="dataProgressMessage",t.DataMigrationProgress="dataMigrationProgress",t.SchemaMigrationProgress="schemaMigrationProgress",t.HasForeignKeyUpdateStarted="hasForeignKeyUpdateStarted",t.ForeignKeyProgressMessage="foreignKeyProgressMessage",t.ForeignKeyUpdateProgress="foreignKeyUpdateProgress",t.GeneratingResources="generatingResources",t.NumberOfShards="numberOfShards",t.NumberOfInstances="numberOfInstances",t.isForeignKeySkipped="isForeignKeySkipped",t}(ue||{}),Xt=function(t){return t.TargetDB="targetDb",t.Dialect="dialect",t.SourceConnProfile="sourceConnProfile",t.TargetConnProfile="targetConnProfile",t.ReplicationSlot="replicationSlot",t.Publication="publication",t}(Xt||{});var _l=function(t){return t[t.SchemaMigrationComplete=1]="SchemaMigrationComplete",t[t.SchemaCreationInProgress=2]="SchemaCreationInProgress",t[t.DataMigrationComplete=3]="DataMigrationComplete",t[t.DataWriteInProgress=4]="DataWriteInProgress",t[t.ForeignKeyUpdateInProgress=5]="ForeignKeyUpdateInProgress",t[t.ForeignKeyUpdateComplete=6]="ForeignKeyUpdateComplete",t}(_l||{});const AA=[{value:"google_standard_sql",displayName:"Google Standard SQL Dialect"},{value:"postgresql",displayName:"PostgreSQL Dialect"}],ln={StorageMaxLength:0x8000000000000000,StringMaxLength:2621440,ByteMaxLength:10485760,DataTypes:["STRING","BYTES","VARCHAR"]},PA_GoogleStandardSQL=["BOOL","BYTES","DATE","FLOAT64","INT64","STRING","TIMESTAMP","NUMERIC","JSON"],PA_PostgreSQL=["BOOL","BYTEA","DATE","FLOAT8","INT8","VARCHAR","TIMESTAMPTZ","NUMERIC","JSONB"];var kr=function(t){return t.DirectConnectForm="directConnectForm",t.IsConnectionSuccessful="isConnectionSuccessful",t}(kr||{});function mf(t){return"mysql"==t||"mysqldump"==t?Za.MySQL:"postgres"===t||"pgdump"===t||"pg_dump"===t?Za.Postgres:"oracle"===t?Za.Oracle:"sqlserver"===t?Za.SQLServer:t}function RA(t){var n=document.createElement("a");let e=JSON.stringify(t).replace(/9223372036854776000/g,"9223372036854775807");n.href="data:text/json;charset=utf-8,"+encodeURIComponent(e),n.download=`${t.SessionName}_${t.DatabaseType}_${t.DatabaseName}.json`,n.click()}let yn=(()=>{class t{constructor(e){this.http=e,this.url="http://localhost:8080"}connectTodb(e,i){const{dbEngine:o,isSharded:r,hostName:a,port:s,dbName:c,userName:u,password:p}=e;return this.http.post(`${this.url}/connect`,{Driver:o,IsSharded:r,Host:a,Port:s,Database:c,User:u,Password:p,Dialect:i},{observe:"response"})}getLastSessionDetails(){return this.http.get(`${this.url}/GetLatestSessionDetails`)}getSchemaConversionFromDirectConnect(){return this.http.get(`${this.url}/convert/infoschema`)}getSchemaConversionFromDump(e){return this.http.post(`${this.url}/convert/dump`,e)}setSourceDBDetailsForDump(e){return this.http.post(`${this.url}/SetSourceDBDetailsForDump`,e)}setSourceDBDetailsForDirectConnect(e){const{dbEngine:i,hostName:o,port:r,dbName:a,userName:s,password:c}=e;return this.http.post(`${this.url}/SetSourceDBDetailsForDirectConnect`,{Driver:i,Host:o,Port:r,Database:a,User:s,Password:c})}setShardsSourceDBDetailsForBulk(e){const{dbConfigs:i,isRestoredSession:o}=e;let r=[];return i.forEach(a=>{r.push({Driver:a.dbEngine,Host:a.hostName,Port:a.port,Database:a.dbName,User:a.userName,Password:a.password,DataShardId:a.shardId})}),this.http.post(`${this.url}/SetShardsSourceDBDetailsForBulk`,{DbConfigs:r,IsRestoredSession:o})}setShardsSourceDBDetailsForDataflow(e){return this.http.post(`${this.url}/SetShardsSourceDBDetailsForDataflow`,{MigrationProfile:e})}setDataflowDetailsForShardedMigrations(e){return this.http.post(`${this.url}/SetDataflowDetailsForShardedMigrations`,{DataflowConfig:e})}getSourceProfile(){return this.http.get(`${this.url}/GetSourceProfileConfig`)}getSchemaConversionFromSessionFile(e){return this.http.post(`${this.url}/convert/session`,e)}getDStructuredReport(){return this.http.get(`${this.url}/downloadStructuredReport`)}getDTextReport(){return this.http.get(`${this.url}/downloadTextReport`)}getDSpannerDDL(){return this.http.get(`${this.url}/downloadDDL`)}getIssueDescription(){return this.http.get(`${this.url}/issueDescription`)}getConversionRate(){return this.http.get(`${this.url}/conversion`)}getConnectionProfiles(e){return this.http.get(`${this.url}/GetConnectionProfiles?source=${e}`)}getGeneratedResources(){return this.http.get(`${this.url}/GetGeneratedResources`)}getStaticIps(){return this.http.get(`${this.url}/GetStaticIps`)}createConnectionProfile(e){return this.http.post(`${this.url}/CreateConnectionProfile`,e)}getSummary(){return this.http.get(`${this.url}/summary`)}getDdl(){return this.http.get(`${this.url}/ddl`)}getTypeMap(){return this.http.get(`${this.url}/typemap`)}getSpannerDefaultTypeMap(){return this.http.get(`${this.url}/spannerDefaultTypeMap`)}reviewTableUpdate(e,i){return this.http.post(`${this.url}/typemap/reviewTableSchema?table=${e}`,i)}updateTable(e,i){return this.http.post(`${this.url}/typemap/table?table=${e}`,i)}removeInterleave(e){return this.http.post(`${this.url}/removeParent?tableId=${e}`,{})}restoreTables(e){return this.http.post(`${this.url}/restore/tables`,e)}restoreTable(e){return this.http.post(`${this.url}/restore/table?table=${e}`,{})}dropTable(e){return this.http.post(`${this.url}/drop/table?table=${e}`,{})}dropTables(e){return this.http.post(`${this.url}/drop/tables`,e)}updatePk(e){return this.http.post(`${this.url}/primaryKey`,e)}updateFk(e,i){return this.http.post(`${this.url}/update/fks?table=${e}`,i)}addColumn(e,i){return this.http.post(`${this.url}/AddColumn?table=${e}`,i)}removeFk(e,i){return this.http.post(`${this.url}/drop/fk?table=${e}`,{Id:i})}getTableWithErrors(){return this.http.get(`${this.url}/GetTableWithErrors`)}getSessions(){return this.http.get(`${this.url}/GetSessions`)}getConvForSession(e){return this.http.get(`${this.url}/GetSession/${e}`,{responseType:"blob"})}resumeSession(e){return this.http.post(`${this.url}/ResumeSession/${e}`,{})}saveSession(e){return this.http.post(`${this.url}/SaveRemoteSession`,e)}getSpannerConfig(){return this.http.get(`${this.url}/GetConfig`)}setSpannerConfig(e){return this.http.post(`${this.url}/SetSpannerConfig`,e)}getIsOffline(){return this.http.get(`${this.url}/IsOffline`)}updateIndex(e,i){return this.http.post(`${this.url}/update/indexes?table=${e}`,i)}dropIndex(e,i){return this.http.post(`${this.url}/drop/secondaryindex?table=${e}`,{Id:i})}restoreIndex(e,i){return this.http.post(`${this.url}/restore/secondaryIndex?tableId=${e}&indexId=${i}`,{})}getInterleaveStatus(e){return this.http.get(`${this.url}/setparent?table=${e}&update=false`)}setInterleave(e){return this.http.get(`${this.url}/setparent?table=${e}&update=true`)}getSourceDestinationSummary(){return this.http.get(`${this.url}/GetSourceDestinationSummary`)}migrate(e){return this.http.post(`${this.url}/Migrate`,e)}getProgress(){return this.http.get(`${this.url}/GetProgress`)}uploadFile(e){return this.http.post(`${this.url}/uploadFile`,e)}cleanUpStreamingJobs(){return this.http.post(`${this.url}/CleanUpStreamingJobs`,{})}applyRule(e){return this.http.post(`${this.url}/applyrule`,e)}dropRule(e){return this.http.post(`${this.url}/dropRule?id=${e}`,{})}getStandardTypeToPGSQLTypemap(){return this.http.get(`${this.url}/typemap/GetStandardTypeToPGSQLTypemap`)}getPGSQLToStandardTypeTypemap(){return this.http.get(`${this.url}/typemap/GetPGSQLToStandardTypeTypemap`)}checkBackendHealth(){return this.http.get(`${this.url}/ping`)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(Qm))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vo=(()=>{class t{constructor(e){this.snackBar=e}openSnackBar(e,i,o){o||(o=10),this.snackBar.open(e,i,{duration:1e3*o})}openSnackBarWithoutTimeout(e,i){this.snackBar.open(e,i)}static#e=this.\u0275fac=function(i){return new(i||t)(Z(UK))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jo=(()=>{class t{constructor(){this.spannerConfigSub=new bt(!1),this.datebaseLoaderSub=new bt({type:"",databaseName:""}),this.viewAssesmentSub=new bt({srcDbType:"",connectionDetail:"",conversionRates:{good:0,ok:0,bad:0}}),this.tabToSpannerSub=new bt(!1),this.cancelDbLoadSub=new bt(!1),this.spannerConfig=this.spannerConfigSub.asObservable(),this.databaseLoader=this.datebaseLoaderSub.asObservable(),this.viewAssesment=this.viewAssesmentSub.asObservable(),this.tabToSpanner=this.tabToSpannerSub.asObservable(),this.cancelDbLoad=this.cancelDbLoadSub.asObservable()}openSpannerConfig(){this.spannerConfigSub.next(!0)}openDatabaseLoader(e,i){this.datebaseLoaderSub.next({type:e,databaseName:i})}closeDatabaseLoader(){this.datebaseLoaderSub.next({type:"",databaseName:""})}setViewAssesmentData(e){this.viewAssesmentSub.next(e)}setTabToSpanner(){this.tabToSpannerSub.next(!0)}cancelDbLoading(){this.cancelDbLoadSub.next(!0)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),O0=(()=>{class t{constructor(){this.reviewTableChangesSub=new bt({Changes:[],DDL:""}),this.tableUpdateDetailSub=new bt({tableName:"",tableId:"",updateDetail:{UpdateCols:{}}}),this.reviewTableChanges=this.reviewTableChangesSub.asObservable(),this.tableUpdateDetail=this.tableUpdateDetailSub.asObservable()}setTableReviewChanges(e){this.reviewTableChangesSub.next(e)}setTableUpdateDetail(e){this.tableUpdateDetailSub.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rs=(()=>{class t{constructor(e){this.fetch=e,this.standardTypeToPGSQLTypeMapSub=new bt(new Map),this.pgSQLToStandardTypeTypeMapSub=new bt(new Map),this.standardTypeToPGSQLTypeMap=this.standardTypeToPGSQLTypeMapSub.asObservable(),this.pgSQLToStandardTypeTypeMap=this.pgSQLToStandardTypeTypeMapSub.asObservable()}getStandardTypeToPGSQLTypemap(){return this.fetch.getStandardTypeToPGSQLTypemap().subscribe({next:e=>{this.standardTypeToPGSQLTypeMapSub.next(new Map(Object.entries(e)))}})}getPGSQLToStandardTypeTypemap(){return this.fetch.getPGSQLToStandardTypeTypemap().subscribe({next:e=>{this.pgSQLToStandardTypeTypeMapSub.next(new Map(Object.entries(e)))}})}createTreeNode(e,i,o="",r=""){let a=Object.keys(e.SpSchema).filter(p=>e.SpSchema[p].Name.toLocaleLowerCase().includes(o.toLocaleLowerCase())),s=Object.keys(e.SrcSchema).filter(p=>-1==a.indexOf(p)&&e.SrcSchema[p].Name.replace(/[^A-Za-z0-9_]/g,"_").includes(o.toLocaleLowerCase())),c=this.getDeletedIndexes(e),u={name:`Tables (${a.length})`,type:oi.Tables,parent:"",pos:-1,isSpannerNode:!0,id:"",parentId:"",children:a.map(p=>{let b=e.SpSchema[p];return{name:b.Name,status:i[p],type:oi.Table,parent:""!=b.ParentId?e.SpSchema[b.ParentId]?.Name:"",pos:-1,isSpannerNode:!0,id:p,parentId:b.ParentId,children:[{name:`Indexes (${b.Indexes?b.Indexes.length:0})`,status:"",type:oi.Indexes,parent:e.SpSchema[p].Name,pos:-1,isSpannerNode:!0,id:"",parentId:p,children:b.Indexes?b.Indexes.map((y,C)=>({name:y.Name,type:oi.Index,parent:e.SpSchema[p].Name,pos:C,isSpannerNode:!0,id:y.Id,parentId:p})):[]}]}})};return"asc"===r||""===r?u.children?.sort((p,b)=>p.name>b.name?1:b.name>p.name?-1:0):"desc"===r&&u.children?.sort((p,b)=>b.name>p.name?1:p.name>b.name?-1:0),s.forEach(p=>{u.children?.push({name:e.SrcSchema[p].Name.replace(/[^A-Za-z0-9_]/g,"_"),status:"DARK",type:oi.Table,pos:-1,isSpannerNode:!0,children:[],isDeleted:!0,id:p,parent:"",parentId:""})}),u.children?.forEach((p,b)=>{c[p.id]&&c[p.id].forEach(y=>{u.children[b].children[0].children?.push({name:y.Name.replace(/[^A-Za-z0-9_]/g,"_"),type:oi.Index,parent:e.SpSchema[p.name]?.Name,pos:b,isSpannerNode:!0,isDeleted:!0,id:y.Id,parentId:p.id})})}),[{name:e.DatabaseName,children:[u],type:oi.DbName,parent:"",pos:-1,isSpannerNode:!0,id:"",parentId:""}]}createTreeNodeForSource(e,i,o="",r=""){let a=Object.keys(e.SrcSchema).filter(c=>e.SrcSchema[c].Name.toLocaleLowerCase().includes(o.toLocaleLowerCase())),s={name:`Tables (${a.length})`,type:oi.Tables,pos:-1,isSpannerNode:!1,id:"",parent:"",parentId:"",children:a.map(c=>{let u=e.SrcSchema[c];return{name:u.Name,status:i[c]?i[c]:"NONE",type:oi.Table,parent:"",pos:-1,isSpannerNode:!1,id:c,parentId:"",children:[{name:`Indexes (${u.Indexes?.length||"0"})`,status:"",type:oi.Indexes,parent:"",pos:-1,isSpannerNode:!1,id:"",parentId:"",children:u.Indexes?u.Indexes.map((p,b)=>({name:p.Name,type:oi.Index,parent:e.SrcSchema[c].Name,isSpannerNode:!1,pos:b,id:p.Id,parentId:c})):[]}]}})};return"asc"===r||""===r?s.children?.sort((c,u)=>c.name>u.name?1:u.name>c.name?-1:0):"desc"===r&&s.children?.sort((c,u)=>u.name>c.name?1:c.name>u.name?-1:0),[{name:e.DatabaseName,children:[s],type:oi.DbName,isSpannerNode:!1,parent:"",pos:-1,id:"",parentId:""}]}getColumnMapping(e,i){let u,o=this.getSpannerTableNameFromId(e,i),r=i.SrcSchema[e].ColIds,a=i.SpSchema[e]?i.SpSchema[e].ColIds:null,s=i.SrcSchema[e].PrimaryKeys,c=a?i.SpSchema[e].PrimaryKeys:null;this.standardTypeToPGSQLTypeMap.subscribe(y=>{u=y});const p=ln.StorageMaxLength,b=i.SrcSchema[e].ColIds.map((y,C)=>{let A;o&&i.SpSchema[e].PrimaryKeys.forEach(ce=>{ce.ColId==y&&(A=ce.Order)});let O=o?i.SpSchema[e]?.ColDefs[y]:null,W=O?u.get(O.T.Name):"";return{spOrder:O?C+1:"",srcOrder:C+1,spColName:O?O.Name:"",spDataType:O?"postgresql"===i.SpDialect?void 0===W?O.T.Name:W:O.T.Name:"",srcColName:i.SrcSchema[e].ColDefs[y].Name,srcDataType:i.SrcSchema[e].ColDefs[y].Type.Name,spIsPk:!(!O||!o)&&-1!==i.SpSchema[e].PrimaryKeys?.map(ce=>ce.ColId).indexOf(y),srcIsPk:!!s&&-1!==s.map(ce=>ce.ColId).indexOf(y),spIsNotNull:!(!O||!o)&&O.NotNull,srcIsNotNull:i.SrcSchema[e].ColDefs[y].NotNull,srcId:y,spId:O?y:"",spColMaxLength:0!=O?.T.Len?O?.T.Len!=p?O?.T.Len:"MAX":"",srcColMaxLength:null!=i.SrcSchema[e].ColDefs[y].Type.Mods?i.SrcSchema[e].ColDefs[y].Type.Mods[0]:""}});return a&&a.forEach((y,C)=>{if(r.indexOf(y)<0){let A=i.SpSchema[e].ColDefs[y],O=o?i.SpSchema[e]?.ColDefs[y]:null,W=O?u.get(O.T.Name):"";b.push({spOrder:C+1,srcOrder:"",spColName:A.Name,spDataType:O?"postgresql"===i.SpDialect?void 0===W?O.T.Name:W:O.T.Name:"",srcColName:"",srcDataType:"",spIsPk:!!c&&-1!==c.map(ce=>ce.ColId).indexOf(y),srcIsPk:!1,spIsNotNull:A.NotNull,srcIsNotNull:!1,srcId:"",spId:y,srcColMaxLength:"",spColMaxLength:O?.T.Len})}}),b}getPkMapping(e){let i=e.filter(o=>o.spIsPk||o.srcIsPk);return JSON.parse(JSON.stringify(i))}getFkMapping(e,i){let o=i.SrcSchema[e]?.ForeignKeys;return o?o.map(r=>{let a=this.getSpannerFkFromId(i,e,r.Id),s=a?a.ColIds.map(C=>i.SpSchema[e].ColDefs[C].Name):[],c=a?a.ColIds:[],u=r.ColIds.map(C=>i.SrcSchema[e].ColDefs[C].Name),p=a?a.ReferColumnIds.map(C=>i.SpSchema[r.ReferTableId].ColDefs[C].Name):[],b=a?a.ReferColumnIds:[],y=r.ReferColumnIds.map(C=>i.SrcSchema[r.ReferTableId].ColDefs[C].Name);return{srcFkId:r.Id,spFkId:a?.Id,spName:a?a.Name:"",srcName:r.Name,spColumns:s,srcColumns:u,spReferTable:a?i.SpSchema[a.ReferTableId].Name:"",srcReferTable:i.SrcSchema[r.ReferTableId].Name,spReferColumns:p,srcReferColumns:y,spColIds:c,spReferColumnIds:b,spReferTableId:a?a.ReferTableId:""}}):[]}getIndexMapping(e,i,o){let r=this.getSourceIndexFromId(i,e,o),a=this.getSpannerIndexFromId(i,e,o),s=r?r.Keys.map(p=>p.ColId):[],c=a?a.Keys.map(p=>p.ColId):[],u=r?r.Keys.map(p=>{let b=this.getSpannerIndexKeyFromColId(i,e,o,p.ColId);return{srcColId:p.ColId,spColId:b?b.ColId:void 0,srcColName:i.SrcSchema[e].ColDefs[p.ColId].Name,srcOrder:p.Order,srcDesc:p.Desc,spColName:b?i.SpSchema[e].ColDefs[b.ColId].Name:"",spOrder:b?b.Order:void 0,spDesc:b?b.Desc:void 0}}):[];return c.forEach(p=>{if(-1==s.indexOf(p)){let b=this.getSpannerIndexKeyFromColId(i,e,o,p);u.push({srcColName:"",srcOrder:"",srcColId:void 0,srcDesc:void 0,spColName:i.SpSchema[e].ColDefs[p].Name,spOrder:b?b.Order:void 0,spDesc:b?b.Desc:void 0,spColId:b?b.ColId:void 0})}}),u}getSpannerFkFromId(e,i,o){let r=null;return e.SpSchema[i]?.ForeignKeys?.forEach(a=>{a.Id==o&&(r=a)}),r}getSourceIndexFromId(e,i,o){let r=null;return e.SrcSchema[i]?.Indexes?.forEach(a=>{a.Id==o&&(r=a)}),r}getSpannerIndexFromId(e,i,o){let r=null;return e.SpSchema[i]?.Indexes?.forEach(a=>{a.Id==o&&(r=a)}),r}getSpannerIndexKeyFromColId(e,i,o,r){let a=null,s=e.SpSchema[i]?.Indexes?e.SpSchema[i].Indexes.filter(c=>c.Id==o):null;if(s&&s.length>0){let c=s[0].Keys.filter(u=>u.ColId==r);a=c.length>0?c[0]:null}return a}getSourceIndexKeyFromColId(e,i,o,r){let a=null,s=e.SrcSchema[i]?.Indexes?e.SrcSchema[i].Indexes.filter(c=>c.Id==o):null;if(s&&s.length>0){let c=s[0].Keys.filter(u=>u.ColId==r);a=c.length>0?c[0]:null}return a}getSpannerColDefFromId(e,i,o){let r=null;return Object.keys(o.SpSchema[e].ColDefs).forEach(a=>{o.SpSchema[e].ColDefs[a].Id==i&&(r=o.SpSchema[e].ColDefs[a])}),r}getSourceTableNameFromId(e,i){let o="";return Object.keys(i.SrcSchema).forEach(r=>{i.SrcSchema[r].Id===e&&(o=i.SrcSchema[r].Name)}),o}getSpannerTableNameFromId(e,i){let o=null;return Object.keys(i.SpSchema).forEach(r=>{i.SpSchema[r].Id===e&&(o=i.SpSchema[r].Name)}),o}getTableIdFromSpName(e,i){let o="";return Object.keys(i.SpSchema).forEach(r=>{i.SpSchema[r].Name===e&&(o=i.SpSchema[r].Id)}),o}getColIdFromSpannerColName(e,i,o){let r="";return Object.keys(o.SpSchema[i].ColDefs).forEach(a=>{o.SpSchema[i].ColDefs[a].Name===e&&(r=o.SpSchema[i].ColDefs[a].Id)}),r}getDeletedIndexes(e){let i={};return Object.keys(e.SpSchema).forEach(o=>{let r=e.SpSchema[o],a=e.SrcSchema[o],s=r&&r.Indexes?r.Indexes.map(u=>u.Id):[],c=a&&a.Indexes?a.Indexes?.filter(u=>!s.includes(u.Id)):null;r&&a&&c&&c.length>0&&(i[o]=c)}),i}static#e=this.\u0275fac=function(i){return new(i||t)(Z(yn))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Li=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snackbar=i,this.clickEvent=o,this.tableUpdatePubSub=r,this.conversion=a,this.convSubject=new bt({}),this.conversionRateSub=new bt({}),this.typeMapSub=new bt({}),this.defaultTypeMapSub=new bt({}),this.summarySub=new bt(new Map),this.ddlSub=new bt({}),this.tableInterleaveStatusSub=new bt({}),this.sessionsSub=new bt({}),this.configSub=new bt({}),this.currentSessionSub=new bt({}),this.isOfflineSub=new bt(!1),this.ruleMapSub=new bt([]),this.rule=this.ruleMapSub.asObservable(),this.conv=this.convSubject.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.conversionRate=this.conversionRateSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.typeMap=this.typeMapSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.defaultTypeMap=this.defaultTypeMapSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.summary=this.summarySub.asObservable(),this.ddl=this.ddlSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.tableInterleaveStatus=this.tableInterleaveStatusSub.asObservable(),this.sessions=this.sessionsSub.asObservable(),this.config=this.configSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.isOffline=this.isOfflineSub.asObservable(),this.currentSession=this.currentSessionSub.asObservable().pipe(Tt(s=>0!==Object.keys(s).length)),this.getLastSessionDetails(),this.getConfig(),this.updateIsOffline()}resetStore(){this.convSubject.next({}),this.conversionRateSub.next({}),this.typeMapSub.next({}),this.defaultTypeMapSub.next({}),this.summarySub.next(new Map),this.ddlSub.next({}),this.tableInterleaveStatusSub.next({})}getDdl(){this.fetch.getDdl().subscribe(e=>{this.ddlSub.next(e)})}getSchemaConversionFromDb(){this.fetch.getSchemaConversionFromDirectConnect().subscribe({next:e=>{this.convSubject.next(e),this.ruleMapSub.next(e?.Rules)},error:e=>{this.clickEvent.closeDatabaseLoader(),this.snackbar.openSnackBar(e.error,"Close")}})}getAllSessions(){this.fetch.getSessions().subscribe({next:e=>{this.sessionsSub.next(e)},error:e=>{this.snackbar.openSnackBar("Unable to fetch sessions.","Close")}})}getLastSessionDetails(){this.fetch.getLastSessionDetails().subscribe({next:e=>{this.convSubject.next(e),this.ruleMapSub.next(e?.Rules)},error:e=>{this.snackbar.openSnackBar(e.error,"Close")}})}getSchemaConversionFromDump(e){return this.fetch.getSchemaConversionFromDump(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules)},error:i=>{this.clickEvent.closeDatabaseLoader(),this.snackbar.openSnackBar(i.error,"Close")}})}getSchemaConversionFromSession(e){return this.fetch.getSchemaConversionFromSessionFile(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules)},error:i=>{this.snackbar.openSnackBar(i.error,"Close"),this.clickEvent.closeDatabaseLoader()}})}getSchemaConversionFromResumeSession(e){this.fetch.resumeSession(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules)},error:i=>{this.snackbar.openSnackBar(i.error,"Close")}})}getConversionRate(){this.fetch.getConversionRate().subscribe(e=>{this.conversionRateSub.next(e)})}getRateTypemapAndSummary(){return zv({rates:this.fetch.getConversionRate(),typeMap:this.fetch.getTypeMap(),defaultTypeMap:this.fetch.getSpannerDefaultTypeMap(),summary:this.fetch.getSummary(),ddl:this.fetch.getDdl()}).pipe(Si(e=>qe(e))).subscribe(({rates:e,typeMap:i,defaultTypeMap:o,summary:r,ddl:a})=>{this.conversionRateSub.next(e),this.typeMapSub.next(i),this.defaultTypeMapSub.next(o),this.summarySub.next(new Map(Object.entries(r))),this.ddlSub.next(a)})}getSummary(){return this.fetch.getSummary().subscribe({next:e=>{this.summarySub.next(new Map(Object.entries(e)))}})}reviewTableUpdate(e,i){return this.fetch.reviewTableUpdate(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>{if(o.error)return o.error;{let r;return this.conversion.standardTypeToPGSQLTypeMap.subscribe(a=>{r=a}),this.conv.subscribe(a=>{o.Changes.forEach(s=>{s.InterleaveColumnChanges.forEach(c=>{if("postgresql"===a.SpDialect){let u=r.get(c.Type),p=r.get(c.UpdateType);c.Type=void 0===u?c.Type:u,c.UpdateType=void 0===p?c.UpdateType:p}ln.DataTypes.indexOf(c.Type.toString())>-1&&(c.Type+=this.updateColumnSize(c.Size)),ln.DataTypes.indexOf(c.UpdateType.toString())>-1&&(c.UpdateType+=this.updateColumnSize(c.UpdateSize))})})}),this.tableUpdatePubSub.setTableReviewChanges(o),""}}))}updateColumnSize(e){return e===ln.StorageMaxLength?"(MAX)":"("+e+")"}updateTable(e,i){return this.fetch.updateTable(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}removeInterleave(e){return this.fetch.removeInterleave(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>(this.getDdl(),i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),""))))}restoreTables(e){return this.fetch.restoreTables(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Selected tables restored successfully","Close",5),"")))}restoreTable(e){return this.fetch.restoreTable(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Table restored successfully","Close",5),"")))}dropTable(e){return this.fetch.dropTable(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Table skipped successfully","Close",5),"")))}dropTables(e){return this.fetch.dropTables(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar(i.error,"Close"),i.error):(this.convSubject.next(i),this.snackbar.openSnackBar("Selected tables skipped successfully","Close",5),"")))}updatePk(e){return this.fetch.updatePk(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?i.error:(this.convSubject.next(i),this.getDdl(),"")))}updateFkNames(e,i){return this.fetch.updateFk(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}dropFk(e,i){return this.fetch.removeFk(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}getConfig(){this.fetch.getSpannerConfig().subscribe(e=>{this.configSub.next(e)})}updateConfig(e){this.configSub.next(e)}updateIsOffline(){this.fetch.getIsOffline().subscribe(e=>{this.isOfflineSub.next(e)})}addColumn(e,i){this.fetch.addColumn(e,i).subscribe({next:o=>{this.convSubject.next(o),this.getDdl(),this.snackbar.openSnackBar("Added new column.","Close",5)},error:o=>{this.snackbar.openSnackBar(o.error,"Close")}})}applyRule(e){this.fetch.applyRule(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules),this.getDdl(),this.snackbar.openSnackBar("Added new rule.","Close",5)},error:i=>{this.snackbar.openSnackBar(i.error,"Close")}})}updateIndex(e,i){return this.fetch.updateIndex(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?o.error:(this.convSubject.next(o),this.getDdl(),"")))}dropIndex(e,i){return this.fetch.dropIndex(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?(this.snackbar.openSnackBar(o.error,"Close"),o.error):(this.convSubject.next(o),this.getDdl(),this.ruleMapSub.next(o?.Rules),this.snackbar.openSnackBar("Index skipped successfully","Close",5),"")))}restoreIndex(e,i){return this.fetch.restoreIndex(e,i).pipe(Si(o=>qe({error:o.error})),Ut(console.log),Ge(o=>o.error?(this.snackbar.openSnackBar(o.error,"Close"),o.error):(this.convSubject.next(o),this.snackbar.openSnackBar("Index restored successfully","Close",5),"")))}getInterleaveConversionForATable(e){this.fetch.getInterleaveStatus(e).subscribe(i=>{this.tableInterleaveStatusSub.next(i)})}setInterleave(e){this.fetch.setInterleave(e).subscribe(i=>{this.convSubject.next(i.sessionState),this.getDdl(),i.sessionState&&this.convSubject.next(i.sessionState)})}uploadFile(e){return this.fetch.uploadFile(e).pipe(Si(i=>qe({error:i.error})),Ut(console.log),Ge(i=>i.error?(this.snackbar.openSnackBar("File upload failed","Close"),i.error):(this.snackbar.openSnackBar("File uploaded successfully","Close",5),"")))}dropRule(e){return this.fetch.dropRule(e).subscribe({next:i=>{this.convSubject.next(i),this.ruleMapSub.next(i?.Rules),this.getDdl(),this.snackbar.openSnackBar("Rule deleted successfully","Close",5)},error:i=>{this.snackbar.openSnackBar(i.error,"Close")}})}static#e=this.\u0275fac=function(i){return new(i||t)(Z(yn),Z(Vo),Z(jo),Z(O0),Z(Rs))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pf=(()=>{class t{constructor(){this.isLoadingSub=new bt(!1),this.isLoading=this.isLoadingSub.asObservable()}startLoader(){this.isLoadingSub.next(!0)}stopLoader(){this.isLoadingSub.next(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function HX(t,n){if(1&t&&(d(0,"mat-option",18),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function UX(t,n){if(1&t&&(d(0,"mat-option",18),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function $X(t,n){1&t&&(d(0,"b"),h(1,"Note: For sharded migrations, please enter below the details of the shard you want Spanner migration tool to read the schema from. The complete connection configuration of all the shards will be taken in later, during data migration."),l())}function GX(t,n){if(1&t&&(d(0,"div",19)(1,"div",20)(2,"mat-form-field",21)(3,"mat-label"),h(4,"Sharded Migration"),l(),d(5,"mat-select",22),_(6,UX,2,2,"mat-option",6),l()(),d(7,"mat-icon",23),h(8,"info"),l(),d(9,"mat-chip",24),h(10," Preview "),l()(),D(11,"br"),_(12,$X,2,0,"b",25),l()),2&t){const e=w();m(6),f("ngForOf",e.shardedResponseList),m(3),f("removable",!1),m(3),f("ngIf",e.connectForm.value.isSharded)}}function WX(t,n){if(1&t&&(d(0,"mat-option",18),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function qX(t,n){1&t&&(d(0,"mat-icon",26),h(1," check_circle "),l())}let KX=(()=>{class t{constructor(e,i,o,r,a,s){this.router=e,this.fetch=i,this.data=o,this.loader=r,this.snackbarService=a,this.clickEvent=s,this.connectForm=new ni({dbEngine:new Q("",[me.required]),isSharded:new Q(!1),hostName:new Q("",[me.required]),port:new Q("",[me.required,me.pattern("^[0-9]+$")]),userName:new Q("",[me.required]),password:new Q(""),dbName:new Q("",[me.required]),dialect:new Q("",[me.required])}),this.dbEngineList=[{value:"mysql",displayName:"MySQL"},{value:"sqlserver",displayName:"SQL Server"},{value:"oracle",displayName:"Oracle"},{value:"postgres",displayName:"PostgreSQL"}],this.isTestConnectionSuccessful=!1,this.connectRequest=null,this.getSchemaRequest=null,this.shardedResponseList=[{value:!1,displayName:"No"},{value:!0,displayName:"Yes"}],this.dialect=AA}ngOnInit(){null!=localStorage.getItem(kr.DirectConnectForm)&&this.connectForm.setValue(JSON.parse(localStorage.getItem(kr.DirectConnectForm))),null!=localStorage.getItem(kr.IsConnectionSuccessful)&&(this.isTestConnectionSuccessful="true"===localStorage.getItem(kr.IsConnectionSuccessful)),this.clickEvent.cancelDbLoad.subscribe({next:e=>{e&&this.connectRequest&&(this.connectRequest.unsubscribe(),this.getSchemaRequest&&this.getSchemaRequest.unsubscribe())}})}testConn(){this.clickEvent.openDatabaseLoader("test-connection",this.connectForm.value.dbName);const{dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c,dialect:u}=this.connectForm.value;localStorage.setItem(kr.DirectConnectForm,JSON.stringify(this.connectForm.value)),this.connectRequest=this.fetch.connectTodb({dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c},u).subscribe({next:()=>{this.snackbarService.openSnackBar("SUCCESS! Spanner migration tool was able to successfully ping source database","Close",3),localStorage.setItem(kr.IsConnectionSuccessful,"true"),this.clickEvent.closeDatabaseLoader()},error:b=>{this.isTestConnectionSuccessful=!1,this.snackbarService.openSnackBar(b.error,"Close"),localStorage.setItem(kr.IsConnectionSuccessful,"false"),this.clickEvent.closeDatabaseLoader()}})}connectToDb(){this.clickEvent.openDatabaseLoader("direct",this.connectForm.value.dbName),window.scroll(0,0),this.data.resetStore(),localStorage.clear();const{dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c,dialect:u}=this.connectForm.value;localStorage.setItem(kr.DirectConnectForm,JSON.stringify(this.connectForm.value)),this.connectRequest=this.fetch.connectTodb({dbEngine:e,isSharded:i,hostName:o,port:r,userName:a,password:s,dbName:c},u).subscribe({next:()=>{this.getSchemaRequest=this.data.getSchemaConversionFromDb(),this.data.conv.subscribe(b=>{localStorage.setItem($i.Config,JSON.stringify({dbEngine:e,hostName:o,port:r,userName:a,password:s,dbName:c})),localStorage.setItem($i.Type,An.DirectConnect),localStorage.setItem($i.SourceDbName,mf(e)),this.clickEvent.closeDatabaseLoader(),localStorage.removeItem(kr.DirectConnectForm),this.router.navigate(["/workspace"])})},error:b=>{this.snackbarService.openSnackBar(b.error,"Close"),this.clickEvent.closeDatabaseLoader()}})}refreshDbSpecifcConnectionOptions(){this.connectForm.value.isSharded=!1}static#e=this.\u0275fac=function(i){return new(i||t)(g(cn),g(yn),g(Li),g(pf),g(Vo),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-direct-connection"]],decls:54,vars:8,consts:[["id","direct-connection-component",1,"connect-load-database-container"],[1,"form-container"],[3,"formGroup"],[1,"primary-header"],["appearance","outline",1,"full-width"],["formControlName","dbEngine","id","dbengine-input",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["class","shardingConfig",4,"ngIf"],["matInput","","placeholder","127.0.0.1","name","hostName","type","text","formControlName","hostName","id","hostname-input"],["matInput","","placeholder","3306","name","port","type","text","formControlName","port","id","port-input"],["matInput","","placeholder","root","name","userName","type","text","formControlName","userName","id","username-input"],["matInput","","name","password","type","password","formControlName","password","id","password-input"],["matInput","","name","dbname","type","text","formControlName","dbName","id","dbname-input"],["matSelect","","name","dialect","formControlName","dialect","appearance","outline","id","spanner-dialect-input"],["class","success","matTooltip","Source Connection Successful","matTooltipPosition","above",4,"ngIf"],["mat-raised-button","","id","test-connect-btn","type","submit","color","accent",3,"disabled","click"],["mat-raised-button","","id","connect-btn","type","submit","color","primary",3,"disabled","click"],["mat-raised-button","",3,"routerLink"],[3,"value"],[1,"shardingConfig"],[1,"flex-container"],["appearance","outline",1,"flex-item"],["formControlName","isSharded"],["matTooltip","Configure multiple source database instances (shards) and consolidate them by migrating to a single Cloud Spanner instance to take advantage of Spanner's horizontal scalability and consistency semantics.",1,"flex-item","configure"],[1,"flex-item","rounded-chip",3,"removable"],[4,"ngIf"],["matTooltip","Source Connection Successful","matTooltipPosition","above",1,"success"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"form",2)(3,"h3",3),h(4,"Connect to Source Database"),l(),d(5,"mat-form-field",4)(6,"mat-label"),h(7,"Database Engine"),l(),d(8,"mat-select",5),L("selectionChange",function(){return o.refreshDbSpecifcConnectionOptions()}),_(9,HX,2,2,"mat-option",6),l()(),_(10,GX,13,3,"div",7),D(11,"br"),d(12,"h3",3),h(13,"Connection Detail"),l(),d(14,"mat-form-field",4)(15,"mat-label"),h(16,"Hostname"),l(),D(17,"input",8),l(),d(18,"mat-form-field",4)(19,"mat-label"),h(20,"Port"),l(),D(21,"input",9),d(22,"mat-error"),h(23," Only numbers are allowed. "),l()(),D(24,"br"),d(25,"mat-form-field",4)(26,"mat-label"),h(27,"User name"),l(),D(28,"input",10),l(),d(29,"mat-form-field",4)(30,"mat-label"),h(31,"Password"),l(),D(32,"input",11),l(),D(33,"br"),d(34,"mat-form-field",4)(35,"mat-label"),h(36,"Database Name"),l(),D(37,"input",12),l(),D(38,"br"),d(39,"h3",3),h(40,"Spanner Dialect"),l(),d(41,"mat-form-field",4)(42,"mat-label"),h(43,"Select a spanner dialect"),l(),d(44,"mat-select",13),_(45,WX,2,2,"mat-option",6),l()(),D(46,"br"),_(47,qX,2,0,"mat-icon",14),d(48,"button",15),L("click",function(){return o.testConn()}),h(49," Test Connection "),l(),d(50,"button",16),L("click",function(){return o.connectToDb()}),h(51," Connect "),l(),d(52,"button",17),h(53,"Cancel"),l()()()()),2&i&&(m(2),f("formGroup",o.connectForm),m(7),f("ngForOf",o.dbEngineList),m(1),f("ngIf","mysql"===o.connectForm.value.dbEngine),m(35),f("ngForOf",o.dialect),m(2),f("ngIf",o.isTestConnectionSuccessful),m(1),f("disabled",!o.connectForm.valid),m(2),f("disabled",!o.connectForm.valid||!o.isTestConnectionSuccessful),m(2),f("routerLink","/"))},dependencies:[an,Et,Cr,Kt,_i,Oi,Ii,by,sn,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,Es,On],styles:[".connect-load-database-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}.configure[_ngcontent-%COMP%]{color:#1967d2}.flex-container[_ngcontent-%COMP%]{display:flex;align-items:center}.flex-item[_ngcontent-%COMP%]{margin-right:8px;align-self:baseline}.rounded-chip[_ngcontent-%COMP%]{background-color:#fff!important;color:#0f33ab!important;border-radius:16px;padding:6px 12px;border:1px solid black;cursor:not-allowed;pointer-events:none}"]})}return t})();function ZX(t,n){if(1&t){const e=_e();d(0,"button",7),L("click",function(){return ae(e),se(w().onConfirm())}),h(1," Continue "),l()}}let Co=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,void 0===i.title&&(i.title="Update can not be saved")}ngOnInit(){}onConfirm(){this.dialogRef.close(!0)}onDismiss(){this.dialogRef.close(!1)}getIconFromMessageType(){switch(this.data.type){case"warning":return"warning";case"error":return"error";case"success":return"check_circle";default:return"message"}}static#e=this.\u0275fac=function(i){return new(i||t)(g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-infodialog"]],decls:9,vars:3,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"dialog-message",3,"innerHtml"],["mat-dialog-actions","",1,"dialog-action"],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h1",1),h(2),l(),d(3,"div",2),D(4,"p",3),l(),d(5,"div",4)(6,"button",5),h(7,"CANCEL"),l(),_(8,ZX,2,0,"button",6),l()()),2&i&&(m(2),Re(o.data.title),m(2),f("innerHtml",o.data.message,mC),m(4),f("ngIf","error"!=o.data.type))},dependencies:[Et,Kt,wo,cZ,vr,yr]})}return t})();function FA(t=0,n=Rd){return t<0&&(t=0),fp(t,t,n)}let YX=(()=>{class t{constructor(e,i){this.fetch=e,this.dialog=i,this.healthCheckSubscription=new T,this.unHealthyCheckCount=0,this.MAX_UNHEALTHY_CHECK_ATTEMPTS=5}startHealthCheck(){this.healthCheckSubscription=FA(5e3).subscribe(()=>{this.checkBackendHealth()})}stopHealthCheck(){this.healthCheckSubscription&&this.healthCheckSubscription.unsubscribe()}checkBackendHealth(){this.checkHealth().subscribe(e=>{e?this.unHealthyCheckCount=0:(this.unHealthyCheckCount==this.MAX_UNHEALTHY_CHECK_ATTEMPTS&&this.openHealthDialog(),this.unHealthyCheckCount++)})}openHealthDialog(){let e=this.dialog.open(Co,{width:"500px",data:{message:"Please check terminal logs for more details. In case of a crash please file a github issue with all the details.",type:"error",title:"Spanner migration tool unresponsive"}});this.stopHealthCheck(),e.afterClosed().subscribe(()=>{this.startHealthCheck()})}checkHealth(){return Bi(this.fetch.checkBackendHealth()).pipe(Ge(()=>!0),Si(()=>qe(!1)))}ngOnDestroy(){this.stopHealthCheck()}static#e=this.\u0275fac=function(i){return new(i||t)(Z(yn),Z(br))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function QX(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function XX(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function JX(t,n){if(1&t){const e=_e();d(0,"mat-form-field",24)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.sessionName=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"sessionName"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.sessionName)}}function eJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Session Name"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("sessionName"))}),_(5,QX,2,0,"mat-icon",22),_(6,XX,2,0,"mat-icon",22),l()(),_(7,JX,4,1,"mat-form-field",23),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.sessionName),m(1),f("ngIf",!e.displayFilter.sessionName),m(1),f("ngIf",e.displayFilter.sessionName)}}function tJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.SessionName)}}function iJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function nJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function oJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.editorName=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"editorName"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.editorName)}}function rJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Editor"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("editorName"))}),_(5,iJ,2,0,"mat-icon",22),_(6,nJ,2,0,"mat-icon",22),l()(),_(7,oJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.editorName),m(1),f("ngIf",!e.displayFilter.editorName),m(1),f("ngIf",e.displayFilter.editorName)}}function aJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.EditorName)}}function sJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function cJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function lJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.databaseType=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"databaseType"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.databaseType)}}function dJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Database Type"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("databaseType"))}),_(5,sJ,2,0,"mat-icon",22),_(6,cJ,2,0,"mat-icon",22),l()(),_(7,lJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.databaseType),m(1),f("ngIf",!e.displayFilter.databaseType),m(1),f("ngIf",e.displayFilter.databaseType)}}function uJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.DatabaseType)}}function hJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function mJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function pJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.databaseName=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"databaseName"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.databaseName)}}function fJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Database Name"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("databaseName"))}),_(5,hJ,2,0,"mat-icon",22),_(6,mJ,2,0,"mat-icon",22),l()(),_(7,pJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.databaseName),m(1),f("ngIf",!e.displayFilter.databaseName),m(1),f("ngIf",e.displayFilter.databaseName)}}function gJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.DatabaseName)}}function _J(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function bJ(t,n){1&t&&(d(0,"mat-icon"),h(1,"filter_list"),l())}function vJ(t,n){if(1&t){const e=_e();d(0,"mat-form-field",28)(1,"mat-label"),h(2,"Filter"),l(),d(3,"input",25),L("ngModelChange",function(o){return ae(e),se(w(3).filterColumnsValue.dialect=o)})("keyup",function(o){return ae(e),se(w(3).updateFilterValue(o,"dialect"))}),l()()}if(2&t){const e=w(3);m(3),f("ngModel",e.filterColumnsValue.dialect)}}function yJ(t,n){if(1&t){const e=_e();d(0,"th",19)(1,"div",20)(2,"span"),h(3,"Spanner Dialect"),l(),d(4,"button",21),L("click",function(){return ae(e),se(w(2).toggleFilterDisplay("dialect"))}),_(5,_J,2,0,"mat-icon",22),_(6,bJ,2,0,"mat-icon",22),l()(),_(7,vJ,4,1,"mat-form-field",27),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.displayFilter.dialect),m(1),f("ngIf",!e.displayFilter.dialect),m(1),f("ngIf",e.displayFilter.dialect)}}function xJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.Dialect)}}function wJ(t,n){1&t&&(d(0,"th",19),h(1,"Notes"),l())}function CJ(t,n){if(1&t){const e=_e();d(0,"button",34),L("click",function(){ae(e);const o=w(2).index,r=w(2);return se(r.notesToggle[o]=!r.notesToggle[o])}),h(1," ... "),l()}}function DJ(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e)}}function kJ(t,n){if(1&t&&(d(0,"div"),_(1,DJ,2,1,"p",35),l()),2&t){const e=w(2).$implicit;m(1),f("ngForOf",e.Notes)}}function SJ(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w(2).$implicit;m(1),Re(null==e.Notes||null==e.Notes[0]?null:e.Notes[0].substring(0,20))}}function MJ(t,n){if(1&t&&(d(0,"div",30),_(1,CJ,2,0,"button",31),_(2,kJ,2,1,"div",32),_(3,SJ,2,1,"ng-template",null,33,Zo),l()),2&t){const e=At(4),i=w(),o=i.$implicit,r=i.index,a=w(2);m(1),f("ngIf",(null==o.Notes?null:o.Notes.length)>1||(null==o.Notes[0]?null:o.Notes[0].length)>20),m(1),f("ngIf",a.notesToggle[r])("ngIfElse",e)}}function TJ(t,n){if(1&t&&(d(0,"td",26),_(1,MJ,5,3,"div",29),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.Notes)}}function IJ(t,n){1&t&&(d(0,"th",19),h(1,"Created At"),l())}function EJ(t,n){if(1&t&&(d(0,"td",26),h(1),l()),2&t){const e=n.$implicit,i=w(2);m(1),Re(i.convertDateTime(e.CreateTimestamp))}}function OJ(t,n){1&t&&D(0,"th",19)}function AJ(t,n){if(1&t){const e=_e();d(0,"td",26)(1,"button",36),L("click",function(){const r=ae(e).$implicit;return se(w(2).resumeFromSessionFile(r.VersionId))}),h(2," Resume "),l(),d(3,"button",36),L("click",function(){const r=ae(e).$implicit;return se(w(2).downloadSessionFile(r.VersionId,r.SessionName,r.DatabaseType,r.DatabaseName))}),h(4," Download "),l()()}}function PJ(t,n){1&t&&D(0,"tr",37)}function RJ(t,n){1&t&&D(0,"tr",38)}function FJ(t,n){if(1&t&&(d(0,"div",5)(1,"table",6),xe(2,7),_(3,eJ,8,3,"th",8),_(4,tJ,2,1,"td",9),we(),xe(5,10),_(6,rJ,8,3,"th",8),_(7,aJ,2,1,"td",9),we(),xe(8,11),_(9,dJ,8,3,"th",8),_(10,uJ,2,1,"td",9),we(),xe(11,12),_(12,fJ,8,3,"th",8),_(13,gJ,2,1,"td",9),we(),xe(14,13),_(15,yJ,8,3,"th",8),_(16,xJ,2,1,"td",9),we(),xe(17,14),_(18,wJ,2,0,"th",8),_(19,TJ,2,1,"td",9),we(),xe(20,15),_(21,IJ,2,0,"th",8),_(22,EJ,2,1,"td",9),we(),xe(23,16),_(24,OJ,1,0,"th",8),_(25,AJ,5,0,"td",9),we(),_(26,PJ,1,0,"tr",17),_(27,RJ,1,0,"tr",18),l()()),2&t){const e=w();m(1),f("dataSource",e.filteredDataSource),m(25),f("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),m(1),f("matRowDefColumns",e.displayedColumns)}}function NJ(t,n){if(1&t){const e=_e();d(0,"div",39),di(),d(1,"svg",40),D(2,"rect",41)(3,"path",42),l(),Pr(),d(4,"button",43),L("click",function(){return ae(e),se(w().openSpannerConfigDialog())}),h(5," Configure Spanner Details "),l(),d(6,"span"),h(7,"Do not have any previous session to display. "),d(8,"u"),h(9," OR "),l(),D(10,"br"),h(11," Invalid Spanner configuration. "),l()()}}let LJ=(()=>{class t{constructor(e,i,o,r){this.fetch=e,this.data=i,this.router=o,this.clickEvent=r,this.displayedColumns=["SessionName","EditorName","DatabaseType","DatabaseName","Dialect","Notes","CreateTimestamp","Action"],this.notesToggle=[],this.dataSource=[],this.filteredDataSource=[],this.filterColumnsValue={sessionName:"",editorName:"",databaseType:"",databaseName:"",dialect:""},this.displayFilter={sessionName:!1,editorName:!1,databaseType:!1,databaseName:!1,dialect:!1}}ngOnInit(){this.data.getAllSessions(),this.data.sessions.subscribe({next:e=>{null!=e?(this.filteredDataSource=e,this.dataSource=e):(this.filteredDataSource=[],this.dataSource=[])}})}toggleFilterDisplay(e){this.displayFilter[e]=!this.displayFilter[e]}updateFilterValue(e,i){e.stopPropagation(),this.filterColumnsValue[i]=e.target.value,this.applyFilter()}applyFilter(){this.filteredDataSource=this.dataSource.filter(e=>!!e.SessionName.toLowerCase().includes(this.filterColumnsValue.sessionName.toLowerCase())).filter(e=>!!e.EditorName.toLowerCase().includes(this.filterColumnsValue.editorName.toLowerCase())).filter(e=>!!e.DatabaseType.toLowerCase().includes(this.filterColumnsValue.databaseType.toLowerCase())).filter(e=>!!e.DatabaseName.toLowerCase().includes(this.filterColumnsValue.databaseName.toLowerCase())).filter(e=>!!e.Dialect.toLowerCase().includes(this.filterColumnsValue.dialect.toLowerCase()))}downloadSessionFile(e,i,o,r){this.fetch.getConvForSession(e).subscribe(a=>{var s=document.createElement("a");s.href=URL.createObjectURL(a),s.download=`${i}_${o}_${r}.json`,s.click()})}resumeFromSessionFile(e){this.data.resetStore(),this.data.getSchemaConversionFromResumeSession(e),this.data.conv.subscribe(i=>{localStorage.setItem($i.Config,e),localStorage.setItem($i.Type,An.ResumeSession),this.router.navigate(["/workspace"])})}openSpannerConfigDialog(){this.clickEvent.openSpannerConfig()}convertDateTime(e){return(e=(e=new Date(e).toString()).substring(e.indexOf(" ")+1)).substring(0,e.indexOf("("))}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Li),g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-session-listing"]],decls:8,vars:2,consts:[[1,"sessions-wrapper"],[1,"primary-header"],[1,"summary"],["class","session-container mat-elevation-z3",4,"ngIf"],["class","mat-elevation-z3 warning-container",4,"ngIf"],[1,"session-container","mat-elevation-z3"],["mat-table","",3,"dataSource"],["matColumnDef","SessionName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","EditorName"],["matColumnDef","DatabaseType"],["matColumnDef","DatabaseName"],["matColumnDef","Dialect"],["matColumnDef","Notes"],["matColumnDef","CreateTimestamp"],["matColumnDef","Action"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"table-header-container"],["mat-icon-button","",3,"click"],[4,"ngIf"],["appearance","outline","class","full-width",4,"ngIf"],["appearance","outline",1,"full-width"],["matInput","","autocomplete","off",3,"ngModel","ngModelChange","keyup"],["mat-cell",""],["appearance","outline",4,"ngIf"],["appearance","outline"],["class","notes-wrapper",4,"ngIf"],[1,"notes-wrapper"],["class","notes-toggle-button",3,"click",4,"ngIf"],[4,"ngIf","ngIfElse"],["short",""],[1,"notes-toggle-button",3,"click"],[4,"ngFor","ngForOf"],["mat-button","","color","primary",3,"click"],["mat-header-row",""],["mat-row",""],[1,"mat-elevation-z3","warning-container"],["width","49","height","48","viewBox","0 0 49 48","fill","none","xmlns","http://www.w3.org/2000/svg"],["x","0.907227","width","48","height","48","rx","4","fill","#E6ECFA"],["fill-rule","evenodd","clip-rule","evenodd","d","M17.9072 15C16.8027 15 15.9072 15.8954 15.9072 17V31C15.9072 32.1046 16.8027 33 17.9072 33H31.9072C33.0118 33 33.9072 32.1046 33.9072 31V17C33.9072 15.8954 33.0118 15 31.9072 15H17.9072ZM20.9072 18H18.9072V20H20.9072V18ZM21.9072 18H23.9072V20H21.9072V18ZM20.9072 23H18.9072V25H20.9072V23ZM21.9072 23H23.9072V25H21.9072V23ZM20.9072 28H18.9072V30H20.9072V28ZM21.9072 28H23.9072V30H21.9072V28ZM30.9072 18H24.9072V20H30.9072V18ZM24.9072 23H30.9072V25H24.9072V23ZM30.9072 28H24.9072V30H30.9072V28Z","fill","#3367D6"],["mat-button","","color","primary",1,"spanner-config-button",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h3",1),h(2,"Session history"),l(),d(3,"div",2),h(4," Choose a session to resume an existing migration session, or download the session file. "),l(),D(5,"br"),_(6,FJ,28,4,"div",3),_(7,NJ,12,0,"div",4),l()),2&i&&(m(6),f("ngIf",o.dataSource.length>0),m(1),f("ngIf",0===o.dataSource.length))},dependencies:[an,Et,Kt,Fa,_i,Oi,Ii,sn,Mi,vi,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,Zc],styles:[".session-container[_ngcontent-%COMP%]{max-height:500px;overflow:auto}.session-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:13px}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .table-header-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}.sessions-wrapper[_ngcontent-%COMP%]{margin-top:20px}.sessions-wrapper[_ngcontent-%COMP%] .warning-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:57vh;text-align:center}.sessions-wrapper[_ngcontent-%COMP%] .warning-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-bottom:10px}.sessions-wrapper[_ngcontent-%COMP%] .warning-container[_ngcontent-%COMP%] .spanner-config-button[_ngcontent-%COMP%]{text-decoration:underline}.mat-mdc-column-Notes[_ngcontent-%COMP%]{max-width:200px;padding-right:10px}.notes-toggle-button[_ngcontent-%COMP%]{float:right;margin-right:32px;background-color:#f5f5f5;border:none;border-radius:2px;padding:0 5px 5px}.notes-toggle-button[_ngcontent-%COMP%]:hover{background-color:#ebe7e7;cursor:pointer}.notes-wrapper[_ngcontent-%COMP%]{margin-top:10px}.mat-mdc-column-SessionName[_ngcontent-%COMP%], .mat-mdc-column-EditorName[_ngcontent-%COMP%], .mat-mdc-column-DatabaseType[_ngcontent-%COMP%], .mat-mdc-column-DatabaseName[_ngcontent-%COMP%], .mat-mdc-column-Dialect[_ngcontent-%COMP%]{width:13vw;min-width:150px}.mat-mdc-column-Action[_ngcontent-%COMP%], .mat-mdc-column-Notes[_ngcontent-%COMP%], .mat-mdc-column-CreateTimestamp[_ngcontent-%COMP%]{width:15vw;min-width:150px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:80%}"]})}return t})(),BJ=(()=>{class t{constructor(e,i,o){this.dialog=e,this.router=i,this.healthCheckService=o}ngOnInit(){this.healthCheckService.startHealthCheck(),null!=localStorage.getItem(ue.IsMigrationInProgress)&&"true"===localStorage.getItem(ue.IsMigrationInProgress)&&(this.dialog.open(Co,{data:{title:"Redirecting to prepare migration page",message:"Another migration already in progress",type:"error"},maxWidth:"500px"}),this.router.navigate(["/prepare-migration"]))}static#e=this.\u0275fac=function(i){return new(i||t)(g(br),g(cn),g(YX))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-home"]],decls:21,vars:4,consts:[[1,"container"],[1,"primary-header"],[1,"summary","global-font-color","body-font-size"],["href","https://github.com/GoogleCloudPlatform/spanner-migration-tool#readme","target","_blank"],[1,"btn-source-select"],["mat-raised-button","","color","primary","id","connect-to-database-btn",1,"split-button-left",3,"routerLink"],["mat-raised-button","","color","primary",1,"split-button-right",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","More options"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"routerLink"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"h3",1),h(2,"Get started with Spanner migration tool"),l(),d(3,"div",2),h(4," Spanner migration tool (formerly known as HarbourBridge) is a stand-alone open source tool for Cloud Spanner evaluation and migration, using data from an existing PostgreSQL, MySQL, SQL Server, Oracle or DynamoDB database. "),d(5,"a",3),h(6,"Learn More"),l(),h(7,". "),l(),d(8,"div",4)(9,"button",5),h(10," Connect to database "),l(),d(11,"button",6)(12,"mat-icon",7),h(13,"expand_more"),l()(),d(14,"mat-menu",8,9)(16,"button",10),h(17,"Load database dump"),l(),d(18,"button",10),h(19,"Load session file"),l()()(),D(20,"app-session-listing"),l()),2&i){const r=At(15);m(9),f("routerLink","/source/direct-connection"),m(2),f("matMenuTriggerFor",r),m(5),f("routerLink","/source/load-dump"),m(2),f("routerLink","/source/load-session")}},dependencies:[Cr,Kt,_i,tl,Xr,il,LJ],styles:[".container[_ngcontent-%COMP%]{padding:7px 27px}.container[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{width:500px;font-weight:lighter}.container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 5px}.container[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border-color:#fff;margin-bottom:20px}.container[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%]{margin:20px 0;padding-bottom:5px}.container[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-left[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.container[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-right[_ngcontent-%COMP%]{width:30px!important;min-width:unset!important;padding:0 2px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid #fafafa}"]})}return t})(),Pn=(()=>{class t{constructor(){this.sidenavOpenSub=new bt(!1),this.sidenavComponentSub=new bt(""),this.sidenavRuleTypeSub=new bt(""),this.sidenavAddIndexTableSub=new bt(""),this.setSidenavDatabaseNameSub=new bt(""),this.ruleDataSub=new bt({}),this.displayRuleFlagSub=new bt(!1),this.setMiddleColumn=new bt(!1),this.isSidenav=this.sidenavOpenSub.asObservable(),this.sidenavComponent=this.sidenavComponentSub.asObservable(),this.sidenavRuleType=this.sidenavRuleTypeSub.asObservable(),this.sidenavAddIndexTable=this.sidenavAddIndexTableSub.asObservable(),this.sidenavDatabaseName=this.setSidenavDatabaseNameSub.asObservable(),this.ruleData=this.ruleDataSub.asObservable(),this.displayRuleFlag=this.displayRuleFlagSub.asObservable(),this.setMiddleColumnComponent=this.setMiddleColumn.asObservable()}openSidenav(){this.sidenavOpenSub.next(!0)}closeSidenav(){this.sidenavOpenSub.next(!1)}setSidenavComponent(e){this.sidenavComponentSub.next(e)}setSidenavRuleType(e){this.sidenavRuleTypeSub.next(e)}setSidenavAddIndexTable(e){this.sidenavAddIndexTableSub.next(e)}setSidenavDatabaseName(e){this.setSidenavDatabaseNameSub.next(e)}setRuleData(e){this.ruleDataSub.next(e)}setDisplayRuleFlag(e){this.displayRuleFlagSub.next(e)}setMiddleColComponent(e){this.setMiddleColumn.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),NA=(()=>{class t{constructor(e){this.sidenav=e}ngOnInit(){}closeInstructionSidenav(){this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-instruction"]],decls:150,vars:0,consts:[[1,"instructions-div"],[1,"instruction-header-div"],["mat-icon-button","",3,"click"],["src","../../../assets/icons/google-spanner-logo.png",1,"instructions-icon"],[1,"textCenter"],[1,"instructions-main-heading"],[1,"instructions-sub-heading"],[1,"instructions-command"],["href","https://github.com/GoogleCloudPlatform/spanner-migration-tool",1,"instructionsLink"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"button",2),L("click",function(){return o.closeInstructionSidenav()}),d(3,"mat-icon"),h(4,"close"),l()()(),D(5,"img",3),d(6,"h1",4),h(7,"Spanner migration tool User Manual"),l(),D(8,"br")(9,"br"),d(10,"h3",5),h(11,"1 \xa0 \xa0 \xa0Introduction"),l(),d(12,"p"),h(13," Spanner migration tool (formerly known as HarbourBridge) is a stand-alone open source tool for Cloud Spanner evaluation, using data from an existing PostgreSQL or MySQL database. The tool ingests schema and data from either a pg_dump/mysqldump file or directly from the source database, automatically builds a Spanner schema, and creates a new Spanner database populated with data from the source database. "),D(14,"br")(15,"br")(16,"br"),h(17," Spanner migration tool is designed to simplify Spanner evaluation, and in particular to bootstrap the process by getting moderate-size PostgreSQL/MySQL datasets into Spanner (up to a few tens of GB). Many features of PostgreSQL/MySQL, especially those that don't map directly to Spanner features, are ignored, e.g. (non-primary) indexes, functions, and sequences. Types such as integers, floats, char/text, bools, timestamps, and (some) array types, map fairly directly to Spanner, but many other types do not and instead are mapped to Spanner's STRING(MAX). "),l(),D(18,"br"),d(19,"h4",6),h(20,"1.1 \xa0 \xa0 \xa0Spanner migration tool UI"),l(),d(21,"p"),h(22," Spanner migration tool UI is designed to focus on generating spanner schema from either a pg_dump/mysqldump file or directly from the source database and providing edit functionality to the spanner schema and thereby creating a new spanner database populated with new data. UI gives the provision to edit column name, edit data type, edit constraints, drop foreign key and drop secondary index of spanner schema. "),l(),D(23,"br"),d(24,"h3",5),h(25,"2 \xa0 \xa0 \xa0Key Features of UI"),l(),d(26,"ul")(27,"li"),h(28,"Connecting to a new database"),l(),d(29,"li"),h(30,"Load dump file"),l(),d(31,"li"),h(32,"Load session file"),l(),d(33,"li"),h(34,"Storing session for each conversion"),l(),d(35,"li"),h(36,"Edit data type globally for each table in schema"),l(),d(37,"li"),h(38,"Edit data type, column name, constraint for a particular table"),l(),d(39,"li"),h(40,"Edit foreign key and secondary index name"),l(),d(41,"li"),h(42,"Drop a column from a table"),l(),d(43,"li"),h(44,"Drop foreign key from a table"),l(),d(45,"li"),h(46,"Drop secondary index from a table"),l(),d(47,"li"),h(48,"Convert foreign key into interleave table"),l(),d(49,"li"),h(50,"Search a table"),l(),d(51,"li"),h(52,"Download schema, report and session files"),l()(),D(53,"br"),d(54,"h3",5),h(55,"3 \xa0 \xa0 \xa0UI Setup"),l(),d(56,"ul")(57,"li"),h(58,"Install go in local"),l(),d(59,"li"),h(60," Clone Spanner migration tool project and run following command in the terminal: "),D(61,"br"),d(62,"span",7),h(63,"go run main.go --web"),l()(),d(64,"li"),h(65,"Open "),d(66,"span",7),h(67,"http://localhost:8080"),l(),h(68,"in browser"),l()(),D(69,"br"),d(70,"h3",5),h(71," 4 \xa0 \xa0 \xa0Different modes to select source database "),l(),d(72,"h4",6),h(73,"4.1 \xa0 \xa0 \xa0Connect to Database"),l(),d(74,"ul")(75,"li"),h(76,"Enter database details in connect to database dialog box"),l(),d(77,"li"),h(78," Input Fields: database type, database host, database port, database user, database name, database password "),l()(),d(79,"h4",6),h(80,"4.2 \xa0 \xa0 \xa0Load Database Dump"),l(),d(81,"ul")(82,"li"),h(83,"Enter dump file path in load database dialog box"),l(),d(84,"li"),h(85,"Input Fields: database type, file path"),l()(),d(86,"h4",6),h(87,"4.3 \xa0 \xa0 \xa0Import Schema File"),l(),d(88,"ul")(89,"li"),h(90,"Enter session file path in load session dialog box"),l(),d(91,"li"),h(92,"Input Fields: database type, session file path"),l()(),d(93,"h3",5),h(94,"5 \xa0 \xa0 \xa0Session Table"),l(),d(95,"ul")(96,"li"),h(97,"Session table is used to store the previous sessions of schema conversion"),l()(),d(98,"h3",5),h(99,"6 \xa0 \xa0 \xa0Edit Global Data Type"),l(),d(100,"ul")(101,"li"),h(102,"Click on edit global data type button on the screen"),l(),d(103,"li"),h(104,"Select required spanner data type from the dropdown available for each source data type"),l(),d(105,"li"),h(106,"Click on next button after making all the changes"),l()(),d(107,"h3",5),h(108," 7 \xa0 \xa0 \xa0Edit Spanner Schema for a particular table "),l(),d(109,"ul")(110,"li"),h(111,"Expand any table"),l(),d(112,"li"),h(113,"Click on edit spanner schema button"),l(),d(114,"li"),h(115,"Edit column name/ data type/ constraint of spanner schema"),l(),d(116,"li"),h(117,"Edit name of secondary index or foreign key"),l(),d(118,"li"),h(119,"Select to convert foreign key to interleave or use as is (if option is available)"),l(),d(120,"li"),h(121,"Drop a column by unselecting any checkbox"),l(),d(122,"li"),h(123," Drop a foreign key or secondary index by expanding foreign keys or secondary indexes tab inside table "),l(),d(124,"li"),h(125,"Click on save changes button to save the changes"),l(),d(126,"li"),h(127," If current table is involved in foreign key/secondary indexes relationship with other table then user will be prompt to delete foreign key or secondary indexes and then proceed with save changes "),l()(),d(128,"p"),h(129,"- Warning before deleting secondary index from a table"),l(),d(130,"p"),h(131,"- Error on saving changes"),l(),d(132,"p"),h(133,"- Changes saved successfully after resolving all errors"),l(),d(134,"h3",5),h(135,"8 \xa0 \xa0 \xa0Download Session File"),l(),d(136,"ul")(137,"li"),h(138,"Save all the changes done in spanner schema table wise or globally"),l(),d(139,"li"),h(140,"Click on download session file button on the top right corner"),l(),d(141,"li"),h(142,"Save the generated session file with all the changes in local machine"),l()(),d(143,"h3",5),h(144,"9 \xa0 \xa0 \xa0How to use Session File"),l(),d(145,"p"),h(146," Please refer below link to get more information on how to use session file with Spanner migration tool "),l(),d(147,"a",8),h(148,"Refer this to use Session File"),l(),D(149,"br"),l())},dependencies:[Fa,_i],styles:[".instructions-div[_ngcontent-%COMP%]{padding:5px 20px 20px}.instructions-div[_ngcontent-%COMP%] .instruction-header-div[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.instructions-icon[_ngcontent-%COMP%]{height:200px;display:block;margin-left:auto;margin-right:auto}.textCenter[_ngcontent-%COMP%]{text-align:center}.instructions-main-heading[_ngcontent-%COMP%]{font-size:1.25rem;color:#4285f4;font-weight:700}.instructions-sub-heading[_ngcontent-%COMP%]{font-size:1rem;color:#4285f4;font-weight:700}.instructions-command[_ngcontent-%COMP%]{background-color:#8080806b;border-radius:5px;padding:0 5px}.instructions-img-width[_ngcontent-%COMP%]{width:800px}.instructionsLink[_ngcontent-%COMP%]{color:#4285f4;text-decoration:underline}"]})}return t})();const VJ=["determinateSpinner"];function jJ(t,n){if(1&t&&(di(),d(0,"svg",11),D(1,"circle",12),l()),2&t){const e=w();et("viewBox",e._viewBox()),m(1),rn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),et("r",e._circleRadius())}}const zJ=Ea(class{constructor(t){this._elementRef=t}},"primary"),HJ=new oe("mat-progress-spinner-default-options",{providedIn:"root",factory:function UJ(){return{diameter:LA}}}),LA=100;let bl=(()=>{class t extends zJ{constructor(e,i,o){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=LA,this._noopAnimations="NoopAnimations"===i&&!!o&&!o._forceAnimations,o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,ki(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=ki(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=ki(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(i){return new(i||t)(g(Le),g(ti,8),g(HJ))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,o){if(1&i&&xt(VJ,5),2&i){let r;Oe(r=Ae())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(i,o){2&i&&(et("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===o.mode?o.value:null)("mode",o.mode),rn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),Xe("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===o.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[fe],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,o){if(1&i&&(_(0,jJ,2,8,"ng-template",null,0,Zo),d(2,"div",1,2),di(),d(4,"svg",3),D(5,"circle",4),l()(),Pr(),d(6,"div",5)(7,"div",6)(8,"div",7),zn(9,8),l(),d(10,"div",9),zn(11,8),l(),d(12,"div",10),zn(13,8),l()()()),2&i){const r=At(1);m(4),et("viewBox",o._viewBox()),m(1),rn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),et("r",o._circleRadius()),m(4),f("ngTemplateOutlet",r),m(2),f("ngTemplateOutlet",r),m(2),f("ngTemplateOutlet",r)}},dependencies:[um],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return t})(),GJ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[Mn,wt]})}return t})();function WJ(t,n){if(1&t&&(d(0,"mat-option",17),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function qJ(t,n){1&t&&D(0,"mat-spinner",18),2&t&&f("diameter",25)}function KJ(t,n){1&t&&(d(0,"mat-icon",19),h(1,"check_circle"),l())}function ZJ(t,n){1&t&&(d(0,"mat-icon",20),h(1,"cancel"),l())}function YJ(t,n){if(1&t&&(d(0,"mat-option",17),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}let QJ=(()=>{class t{constructor(e,i,o){this.data=e,this.router=i,this.clickEvent=o,this.connectForm=new ni({dbEngine:new Q("mysqldump",[me.required]),filePath:new Q("",[me.required]),dialect:new Q("",[me.required])}),this.dbEngineList=[{value:"mysqldump",displayName:"MySQL"},{value:"pg_dump",displayName:"PostgreSQL"}],this.dialect=AA,this.fileToUpload=null,this.uploadStart=!1,this.uploadSuccess=!1,this.uploadFail=!1,this.getSchemaRequest=null}ngOnInit(){this.clickEvent.cancelDbLoad.subscribe({next:e=>{e&&this.getSchemaRequest&&this.getSchemaRequest.unsubscribe()}})}convertFromDump(){this.clickEvent.openDatabaseLoader("dump",""),this.data.resetStore(),localStorage.clear();const{dbEngine:e,filePath:i,dialect:o}=this.connectForm.value,s={Config:{Driver:e,Path:i},SpannerDetails:{Dialect:o}};this.getSchemaRequest=this.data.getSchemaConversionFromDump(s),this.data.conv.subscribe(c=>{localStorage.setItem($i.Config,JSON.stringify(s)),localStorage.setItem($i.Type,An.DumpFile),localStorage.setItem($i.SourceDbName,mf(e)),this.clickEvent.closeDatabaseLoader(),this.router.navigate(["/workspace"])})}handleFileInput(e){let i=e.target.files;i&&(this.fileToUpload=i.item(0),this.connectForm.patchValue({filePath:this.fileToUpload?.name}),this.fileToUpload&&this.uploadFile())}uploadFile(){if(this.fileToUpload){this.uploadStart=!0,this.uploadFail=!1,this.uploadSuccess=!1;const e=new FormData;e.append("myFile",this.fileToUpload,this.fileToUpload?.name),this.data.uploadFile(e).subscribe(i=>{""==i?this.uploadSuccess=!0:this.uploadFail=!0})}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-load-dump"]],decls:36,vars:8,consts:[[1,"connect-load-database-container"],[1,"form-container"],[3,"formGroup","ngSubmit"],[1,"primary-header"],["appearance","outline",1,"full-width"],["matSelect","","name","dbEngine","formControlName","dbEngine","appearance","outline"],[3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","File path","name","filePath","type","text","formControlName","filePath","readonly","",3,"click"],["matSuffix","",3,"diameter",4,"ngIf"],["matSuffix","","class","success",4,"ngIf"],["matSuffix","","class","danger",4,"ngIf"],["mat-stroked-button","","type","button",3,"click"],["hidden","","type","file",3,"change"],["file",""],["matSelect","","name","dialect","formControlName","dialect","appearance","outline"],["mat-raised-button","","type","submit","color","primary",3,"disabled"],["mat-raised-button","",3,"routerLink"],[3,"value"],["matSuffix","",3,"diameter"],["matSuffix","",1,"success"],["matSuffix","",1,"danger"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"div",1)(2,"form",2),L("ngSubmit",function(){return o.convertFromDump()}),d(3,"h3",3),h(4,"Load from database dump"),l(),d(5,"mat-form-field",4)(6,"mat-label"),h(7,"Database Engine"),l(),d(8,"mat-select",5),_(9,WJ,2,2,"mat-option",6),l()(),d(10,"h3",3),h(11,"Dump File"),l(),d(12,"mat-form-field",4)(13,"mat-label"),h(14,"File path"),l(),d(15,"input",7),L("click",function(){return ae(r),se(At(22).click())}),l(),_(16,qJ,1,1,"mat-spinner",8),_(17,KJ,2,0,"mat-icon",9),_(18,ZJ,2,0,"mat-icon",10),l(),d(19,"button",11),L("click",function(){return ae(r),se(At(22).click())}),h(20,"Upload File"),l(),d(21,"input",12,13),L("change",function(s){return o.handleFileInput(s)}),l(),D(23,"br"),d(24,"h3",3),h(25,"Spanner Dialect"),l(),d(26,"mat-form-field",4)(27,"mat-label"),h(28,"Select a spanner dialect"),l(),d(29,"mat-select",14),_(30,YJ,2,2,"mat-option",6),l()(),D(31,"br"),d(32,"button",15),h(33," Convert "),l(),d(34,"button",16),h(35,"Cancel"),l()()()()}2&i&&(m(2),f("formGroup",o.connectForm),m(7),f("ngForOf",o.dbEngineList),m(7),f("ngIf",o.uploadStart&&!o.uploadSuccess&&!o.uploadFail),m(1),f("ngIf",o.uploadStart&&o.uploadSuccess),m(1),f("ngIf",o.uploadStart&&o.uploadFail),m(12),f("ngForOf",o.dialect),m(2),f("disabled",!o.connectForm.valid||!o.uploadSuccess),m(2),f("routerLink","/"))},dependencies:[an,Et,Cr,Kt,_i,Oi,Ii,vy,sn,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,bl]})}return t})();function XJ(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function JJ(t,n){1&t&&D(0,"mat-spinner",17),2&t&&f("diameter",25)}function eee(t,n){1&t&&(d(0,"mat-icon",18),h(1,"check_circle"),l())}function tee(t,n){1&t&&(d(0,"mat-icon",19),h(1,"cancel"),l())}let iee=(()=>{class t{constructor(e,i,o){this.data=e,this.router=i,this.clickEvent=o,this.connectForm=new ni({dbEngine:new Q("mysql",[me.required]),filePath:new Q("",[me.required])}),this.dbEngineList=[{value:"mysql",displayName:"MySQL"},{value:"sqlserver",displayName:"SQL Server"},{value:"oracle",displayName:"Oracle"},{value:"postgres",displayName:"PostgreSQL"}],this.fileToUpload=null,this.uploadStart=!1,this.uploadSuccess=!1,this.uploadFail=!1,this.getSchemaRequest=null}ngOnInit(){this.clickEvent.cancelDbLoad.subscribe({next:e=>{e&&this.getSchemaRequest&&this.getSchemaRequest.unsubscribe()}})}convertFromSessionFile(){this.clickEvent.openDatabaseLoader("session",""),this.data.resetStore(),localStorage.clear();const{dbEngine:e,filePath:i}=this.connectForm.value,o={driver:e,filePath:i};this.getSchemaRequest=this.data.getSchemaConversionFromSession(o),this.data.conv.subscribe(r=>{localStorage.setItem($i.Config,JSON.stringify(o)),localStorage.setItem($i.Type,An.SessionFile),localStorage.setItem($i.SourceDbName,mf(e)),this.clickEvent.closeDatabaseLoader(),this.router.navigate(["/workspace"])})}handleFileInput(e){let i=e.target.files;i&&(this.fileToUpload=i.item(0),this.connectForm.patchValue({filePath:this.fileToUpload?.name}),this.fileToUpload&&this.uploadFile())}uploadFile(){if(this.fileToUpload){this.uploadStart=!0,this.uploadFail=!1,this.uploadSuccess=!1;const e=new FormData;e.append("myFile",this.fileToUpload,this.fileToUpload?.name),this.data.uploadFile(e).subscribe(i=>{""==i?this.uploadSuccess=!0:this.uploadFail=!0})}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-load-session"]],decls:28,vars:7,consts:[[1,"connect-load-database-container"],[1,"form-container"],[3,"formGroup","ngSubmit"],[1,"primary-header"],["appearance","outline",1,"full-width"],["matSelect","","name","dbEngine","formControlName","dbEngine","appearance","outline"],[3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","File path","name","filePath","type","text","formControlName","filePath","readonly","",3,"click"],["matSuffix","",3,"diameter",4,"ngIf"],["matSuffix","","class","success",4,"ngIf"],["matSuffix","","class","danger",4,"ngIf"],["mat-stroked-button","","type","button",3,"click"],["hidden","","type","file",3,"change"],["file",""],["mat-raised-button","","type","submit","color","primary",3,"disabled"],["mat-raised-button","",3,"routerLink"],[3,"value"],["matSuffix","",3,"diameter"],["matSuffix","",1,"success"],["matSuffix","",1,"danger"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"div",1)(2,"form",2),L("ngSubmit",function(){return o.convertFromSessionFile()}),d(3,"h3",3),h(4,"Load from session"),l(),d(5,"mat-form-field",4)(6,"mat-label"),h(7,"Database Engine"),l(),d(8,"mat-select",5),_(9,XJ,2,2,"mat-option",6),l()(),d(10,"h3",3),h(11,"Session File"),l(),d(12,"mat-form-field",4)(13,"mat-label"),h(14,"File path"),l(),d(15,"input",7),L("click",function(){return ae(r),se(At(22).click())}),l(),_(16,JJ,1,1,"mat-spinner",8),_(17,eee,2,0,"mat-icon",9),_(18,tee,2,0,"mat-icon",10),l(),d(19,"button",11),L("click",function(){return ae(r),se(At(22).click())}),h(20,"Upload File"),l(),d(21,"input",12,13),L("change",function(s){return o.handleFileInput(s)}),l(),D(23,"br"),d(24,"button",14),h(25," Convert "),l(),d(26,"button",15),h(27,"Cancel"),l()()()()}2&i&&(m(2),f("formGroup",o.connectForm),m(7),f("ngForOf",o.dbEngineList),m(7),f("ngIf",o.uploadStart&&!o.uploadSuccess&&!o.uploadFail),m(1),f("ngIf",o.uploadStart&&o.uploadSuccess),m(1),f("ngIf",o.uploadStart&&o.uploadFail),m(6),f("disabled",!o.connectForm.valid||!o.uploadSuccess),m(2),f("routerLink","/"))},dependencies:[an,Et,Cr,Kt,_i,Oi,Ii,vy,sn,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,bl]})}return t})();function nee(t,n){if(1&t&&(d(0,"h3"),h(1),l()),2&t){const e=w();m(1),Se("Reading schema for ",e.databaseName," database. Please wait...")}}function oee(t,n){1&t&&(d(0,"h4"),h(1,"Tip: Spanner migration tool will read the information schema at source and automatically map it to Cloud Spanner"),l())}function ree(t,n){if(1&t&&(d(0,"h3"),h(1),l()),2&t){const e=w();m(1),Se("Testing connection to ",e.databaseName," database...")}}function aee(t,n){1&t&&(d(0,"h4"),h(1,"Tip: Spanner migration tool is attempting to ping the source database, it will retry a couple of times before timing out."),l())}function see(t,n){1&t&&(d(0,"h3"),h(1,"Loading the dump file..."),l())}function cee(t,n){1&t&&(d(0,"h3"),h(1,"Loading the session file..."),l())}let lee=(()=>{class t{constructor(e,i){this.router=e,this.clickEvent=i,this.loaderType="",this.databaseName="",this.timeElapsed=0,this.timeElapsedInterval=setInterval(()=>{this.timeElapsed+=1},1e3)}ngOnInit(){this.timeElapsed=0}ngOnDestroy(){clearInterval(this.timeElapsedInterval)}cancelDbLoad(){this.clickEvent.cancelDbLoading(),this.clickEvent.closeDatabaseLoader(),this.router.navigate(["/"])}static#e=this.\u0275fac=function(i){return new(i||t)(g(cn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-database-loader"]],inputs:{loaderType:"loaderType",databaseName:"databaseName"},decls:12,vars:7,consts:[[1,"container","content-height"],["src","../../../assets/gifs/database-loader.gif","alt","database-loader-gif",1,"loader-gif"],[4,"ngIf"],["mat-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0),D(1,"img",1),_(2,nee,2,1,"h3",2),_(3,oee,2,0,"h4",2),_(4,ree,2,1,"h3",2),_(5,aee,2,0,"h4",2),_(6,see,2,0,"h3",2),_(7,cee,2,0,"h3",2),d(8,"h5"),h(9),l(),d(10,"button",3),L("click",function(){return o.cancelDbLoad()}),h(11,"Cancel"),l()()),2&i&&(m(2),f("ngIf","direct"===o.loaderType),m(1),f("ngIf","direct"===o.loaderType),m(1),f("ngIf","test-connection"===o.loaderType),m(1),f("ngIf","test-connection"===o.loaderType),m(1),f("ngIf","dump"===o.loaderType),m(1),f("ngIf","session"===o.loaderType),m(2),Se("",o.timeElapsed," seconds have elapsed"))},dependencies:[Et,Kt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}.container[_ngcontent-%COMP%] .loader-gif[_ngcontent-%COMP%]{width:10rem;height:10rem}"]})}return t})();function dee(t,n){1&t&&(d(0,"div"),D(1,"router-outlet"),l())}function uee(t,n){if(1&t&&(d(0,"div"),D(1,"app-database-loader",1),l()),2&t){const e=w();m(1),f("loaderType",e.loaderType)("databaseName",e.databaseName)}}let hee=(()=>{class t{constructor(e){this.clickevent=e,this.isDatabaseLoading=!1,this.loaderType="",this.databaseName=""}ngOnInit(){this.clickevent.databaseLoader.subscribe(e=>{this.loaderType=e.type,this.databaseName=e.databaseName,this.isDatabaseLoading=""!==this.loaderType})}static#e=this.\u0275fac=function(i){return new(i||t)(g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-source-selection"]],decls:2,vars:2,consts:[[4,"ngIf"],[3,"loaderType","databaseName"]],template:function(i,o){1&i&&(_(0,dee,2,0,"div",0),_(1,uee,2,2,"div",0)),2&i&&(f("ngIf",!o.isDatabaseLoading),m(1),f("ngIf",o.isDatabaseLoading))},dependencies:[Et,rf,lee],styles:[".mat-card-class[_ngcontent-%COMP%]{padding:0 20px}"]})}return t})();var BA=Pe(965);function mee(t,n){if(1&t){const e=_e();d(0,"mat-chip-row",16),L("removed",function(){const r=ae(e).$implicit;return se(w().removeFilter(r))}),h(1),d(2,"button",17)(3,"mat-icon"),h(4,"cancel"),l()()()}if(2&t){const e=n.$implicit;m(1),Se(" ",e," ")}}function pee(t,n){if(1&t){const e=_e();d(0,"mat-option",18),L("click",function(){const r=ae(e).$implicit;return se(w().addFilter(r))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e),m(1),Se(" ",e," ")}}function fee(t,n){1&t&&(d(0,"mat-icon",31),h(1," error "),l())}function gee(t,n){1&t&&(d(0,"mat-icon",32),h(1," warning "),l())}function _ee(t,n){1&t&&(d(0,"mat-icon",33),h(1," wb_incandescent "),l())}function bee(t,n){1&t&&(d(0,"mat-icon",34),h(1," check_circle "),l())}function vee(t,n){if(1&t){const e=_e();d(0,"button",35),L("click",function(){ae(e);const o=w().$implicit;return se(w(2).toggleRead(o))}),d(1,"span"),h(2,"Mark as read"),l()()}}function yee(t,n){if(1&t){const e=_e();d(0,"button",35),L("click",function(){ae(e);const o=w().$implicit;return se(w(2).toggleRead(o))}),d(1,"span"),h(2,"Mark as unread"),l()()}}function xee(t,n){if(1&t&&(d(0,"section",21)(1,"div",2)(2,"div",3),_(3,fee,2,0,"mat-icon",22),_(4,gee,2,0,"mat-icon",23),_(5,_ee,2,0,"mat-icon",24),_(6,bee,2,0,"mat-icon",25),l(),d(7,"div",26),h(8),l(),d(9,"div",6)(10,"mat-icon",27),h(11,"more_vert"),l(),d(12,"mat-menu",28,29),_(14,vee,3,0,"button",30),_(15,yee,3,0,"button",30),l()()()()),2&t){const e=n.$implicit,i=At(13);m(3),f("ngIf","error"==e.type),m(1),f("ngIf","warning"==e.type),m(1),f("ngIf","suggestion"==e.type),m(1),f("ngIf","note"==e.type),m(2),Re(e.content),m(2),f("matMenuTriggerFor",i),m(4),f("ngIf",!e.isRead),m(1),f("ngIf",e.isRead)}}function wee(t,n){if(1&t&&(d(0,"div",19),_(1,xee,16,8,"section",20),l()),2&t){const e=w();m(1),f("ngForOf",e.filteredSummaryRows)}}function Cee(t,n){1&t&&(d(0,"div",36)(1,"div",37),di(),d(2,"svg",38),D(3,"path",39),l()(),Pr(),d(4,"div",40),h(5," Woohoo! No issues or suggestions"),D(6,"br"),h(7,"found. "),l()())}let Dee=(()=>{class t{constructor(e,i){this.data=e,this.clickEvent=i,this.changeIssuesLabel=new Ne,this.summaryRows=[],this.summary=new Map,this.filteredSummaryRows=[],this.separatorKeysCodes=[],this.summaryCount=0,this.totalNoteCount=0,this.totalWarningCount=0,this.totalSuggestionCount=0,this.totalErrorCount=0,this.filterInput=new Q,this.options=["read","unread","warning","suggestion","note","error"],this.obsFilteredOptions=new Ye,this.searchFilters=["unread","warning","note","suggestion","error"],this.currentObject=null}ngOnInit(){this.data.summary.subscribe({next:e=>{if(this.summary=e,this.currentObject){let i=this.currentObject.id;"indexName"==this.currentObject.type&&(i=this.currentObject.parentId);let o=this.summary.get(i);o?(this.summaryRows=[],this.initiateSummaryCollection(o),this.applyFilters(),this.summaryCount=o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount,this.changeIssuesLabel.emit(o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount)):(this.summaryCount=0,this.changeIssuesLabel.emit(0))}else this.initialiseSummaryCollectionForAllTables(this.summary),this.summaryCount=this.totalNoteCount+this.totalErrorCount+this.totalSuggestionCount+this.totalWarningCount,this.changeIssuesLabel.emit(this.summaryCount)}}),this.registerAutoCompleteChange()}initialiseSummaryCollectionForAllTables(e){this.summaryRows=[],this.totalErrorCount=0,this.totalNoteCount=0,this.totalSuggestionCount=0,this.totalWarningCount=0;for(const i of e.values())this.initiateSummaryCollection(i);this.applyFilters()}ngOnChanges(e){if(this.currentObject=e?.currentObject?.currentValue||this.currentObject,this.summaryRows=[],this.currentObject){let i=this.currentObject.id;"indexName"==this.currentObject.type&&(i=this.currentObject.parentId);let o=this.summary.get(i);o?(this.summaryRows=[],this.initiateSummaryCollection(o),this.applyFilters(),this.summaryCount=o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount,this.changeIssuesLabel.emit(o.NotesCount+o.WarningsCount+o.ErrorsCount+o.SuggestionsCount)):(this.summaryCount=0,this.changeIssuesLabel.emit(0))}else this.summaryCount=0,this.changeIssuesLabel.emit(0)}initiateSummaryCollection(e){this.totalErrorCount+=e.ErrorsCount,this.totalNoteCount+=e.NotesCount,this.totalWarningCount+=e.WarningsCount,this.totalSuggestionCount+=e.SuggestionsCount,e.Errors.forEach(i=>{this.summaryRows.push({type:"error",content:i.description,isRead:!1})}),e.Warnings.forEach(i=>{this.summaryRows.push({type:"warning",content:i.description,isRead:!1})}),e.Suggestions.forEach(i=>{this.summaryRows.push({type:"suggestion",content:i.description,isRead:!1})}),e.Notes.forEach(i=>{this.summaryRows.push({type:"note",content:i.description,isRead:!1})})}applyFilters(){let e=[],i=[];this.searchFilters.includes("read")&&i.push(o=>o.isRead),this.searchFilters.includes("unread")&&i.push(o=>!o.isRead),this.searchFilters.includes("warning")&&e.push(o=>"warning"==o.type),this.searchFilters.includes("note")&&e.push(o=>"note"==o.type),this.searchFilters.includes("suggestion")&&e.push(o=>"suggestion"==o.type),this.searchFilters.includes("error")&&e.push(o=>"error"==o.type),this.filteredSummaryRows=this.summaryRows.filter(o=>(!i.length||i.some(r=>r(o)))&&(!e.length||e.some(r=>r(o))))}addFilter(e){e&&!this.searchFilters.includes(e)&&this.searchFilters.push(e),this.applyFilters(),this.registerAutoCompleteChange()}removeFilter(e){const i=this.searchFilters.indexOf(e);i>=0&&this.searchFilters.splice(i,1),this.applyFilters()}toggleRead(e){e.isRead=!e.isRead,this.applyFilters()}registerAutoCompleteChange(){this.obsFilteredOptions=this.filterInput.valueChanges.pipe(Hi(""),Ge(e=>this.autoCompleteOnChangeFilter(e)))}autoCompleteOnChangeFilter(e){return this.options.filter(i=>i.toLowerCase().includes(e))}spannerTab(){this.clickEvent.setTabToSpanner()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-summary"]],inputs:{currentObject:"currentObject"},outputs:{changeIssuesLabel:"changeIssuesLabel"},features:[ai],decls:29,vars:11,consts:[[1,"container"],[1,"filter"],[1,"columns"],[1,"left"],[1,"material-icons","filter-icon"],[1,"filter-text"],[1,"right"],[1,"chip-list"],["chipGrid",""],["class","primary",3,"removed",4,"ngFor","ngForOf"],["placeholder","New Filter...",3,"formControl","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matAutocomplete"],["auto","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[1,"header"],["class","content",4,"ngIf"],["class","no-issue-container",4,"ngIf"],[1,"primary",3,"removed"],["matChipRemove",""],[3,"value","click"],[1,"content"],["class","summary-row",4,"ngFor","ngForOf"],[1,"summary-row"],["matTooltip","Error: Please resolve them to proceed with the migration","matTooltipPosition","above","class","danger",4,"ngIf"],["matTooltip","Warning : Changes made because of differences in source and spanner capabilities.","matTooltipPosition","above","class","warning",4,"ngIf"],["matTooltip","Suggestion : We highly recommend you make these changes or else it will impact your DB performance.","matTooltipPosition","above","class","suggestion",4,"ngIf"],["matTooltip","Note : This is informational and you dont need to do anything.","matTooltipPosition","above","class","success",4,"ngIf"],[1,"middle"],[3,"matMenuTriggerFor"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["matTooltip","Error: Please resolve them to proceed with the migration","matTooltipPosition","above",1,"danger"],["matTooltip","Warning : Changes made because of differences in source and spanner capabilities.","matTooltipPosition","above",1,"warning"],["matTooltip","Suggestion : We highly recommend you make these changes or else it will impact your DB performance.","matTooltipPosition","above",1,"suggestion"],["matTooltip","Note : This is informational and you dont need to do anything.","matTooltipPosition","above",1,"success"],["mat-menu-item","",3,"click"],[1,"no-issue-container"],[1,"no-issue-icon-container"],["width","36","height","36","viewBox","0 0 24 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.8332 0.69873C16.0051 7.45842 16.2492 9.44782 10.4672 10.2012C16.1511 11.1242 16.2329 13.2059 16.8332 19.7037C17.6237 13.1681 17.4697 11.2106 23.1986 10.2012C17.4247 9.45963 17.6194 7.4505 16.8332 0.69873ZM4.23739 0.872955C3.79064 4.52078 3.92238 5.59467 0.802246 6.00069C3.86944 6.49885 3.91349 7.62218 4.23739 11.1284C4.66397 7.60153 4.581 6.54497 7.67271 6.00069C4.55696 5.60052 4.66178 4.51623 4.23739 0.872955ZM7.36426 11.1105C7.05096 13.6683 7.14331 14.4212 4.95554 14.7061C7.10612 15.0553 7.13705 15.8431 7.36426 18.3017C7.66333 15.8288 7.60521 15.088 9.77298 14.7061C7.58818 14.4255 7.66177 13.6653 7.36426 11.1105Z","fill","#3367D6"],[1,"no-issue-message"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"span",4),h(6,"filter_list"),l(),d(7,"span",5),h(8,"Filter"),l()(),d(9,"div",6)(10,"mat-form-field",7)(11,"mat-chip-grid",null,8),_(13,mee,5,1,"mat-chip-row",9),l(),D(14,"input",10),d(15,"mat-autocomplete",null,11),_(17,pee,2,2,"mat-option",12),va(18,"async"),l()()()()(),d(19,"div",13)(20,"div",2)(21,"div",3)(22,"span"),h(23," Status "),l()(),d(24,"div",6)(25,"span"),h(26," Summary "),l()()()(),_(27,wee,2,1,"div",14),_(28,Cee,8,0,"div",15),l()()),2&i){const r=At(12),a=At(16);m(13),f("ngForOf",o.searchFilters),m(1),f("formControl",o.filterInput)("matChipInputFor",r)("matChipInputSeparatorKeyCodes",o.separatorKeysCodes)("matChipInputAddOnBlur",!1)("matAutocomplete",a),m(3),f("ngForOf",ya(18,9,o.obsFilteredOptions)),m(10),f("ngIf",0!==o.summaryCount),m(1),f("ngIf",0===o.summaryCount)}},dependencies:[an,Et,_i,Oi,_n,Mi,vi,Yc,tl,Xr,il,RE,FE,OE,$y,On,tY,DO,tM],styles:[".container[_ngcontent-%COMP%]{height:calc(100vh - 271px);position:relative;overflow-y:auto;background-color:#fff}.container[_ngcontent-%COMP%] .no-object-container[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.container[_ngcontent-%COMP%] .no-object-container[_ngcontent-%COMP%] .no-object-icon-container[_ngcontent-%COMP%]{padding:10px;background-color:#3367d61f;border-radius:3px;margin:20px}.container[_ngcontent-%COMP%] .no-object-container[_ngcontent-%COMP%] .no-object-message[_ngcontent-%COMP%]{width:80%;max-width:500px;text-align:center}.container[_ngcontent-%COMP%] .no-issue-container[_ngcontent-%COMP%]{width:100%;position:absolute;top:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.container[_ngcontent-%COMP%] .no-issue-container[_ngcontent-%COMP%] .no-issue-icon-container[_ngcontent-%COMP%]{padding:10px;background-color:#3367d61f;border-radius:3px;margin:20px}.container[_ngcontent-%COMP%] .no-issue-container[_ngcontent-%COMP%] .no-issue-message[_ngcontent-%COMP%]{width:80%;max-width:500px;text-align:center}h3[_ngcontent-%COMP%]{margin-bottom:0;padding-left:15px}.filter[_ngcontent-%COMP%]{display:flex;flex:1;min-height:65px;padding:0 15px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{order:1;position:relative;padding-top:20px;width:100px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .filter-icon[_ngcontent-%COMP%]{position:absolute;font-size:20px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .filter-text[_ngcontent-%COMP%]{position:absolute;margin-left:30px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{order:2;width:100%}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%;min-height:22px}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .mat-mdc-chip-input[_ngcontent-%COMP%]{height:24px;flex:0}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .primary[_ngcontent-%COMP%]{background-color:#3f51b5;color:#fff}.filter[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .primary[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;opacity:.4}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-underline{display:none}.filter[_ngcontent-%COMP%] .mat-mdc-chip[_ngcontent-%COMP%]{min-height:24px;font-weight:lighter}.header[_ngcontent-%COMP%]{display:flex;flex:1;padding:5px 0;background-color:#f5f5f5;text-align:center}.header[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1}.header[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:60px;order:1}.header[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{flex:1;order:2}.summary-row[_ngcontent-%COMP%]{display:flex;flex:1;padding:10px 0;border-bottom:1px solid #ccc}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:60px;order:1;text-align:center;padding-top:5px}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .middle[_ngcontent-%COMP%]{flex:1;order:2}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:30px;order:3;cursor:pointer}.summary-row[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:18px}.chip-list[_ngcontent-%COMP%]{width:100%}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-color: #fff}"]})}return t})();function kee(t,n){if(1&t&&(d(0,"h2"),h(1),l()),2&t){const e=w();m(1),Se("Skip ",e.eligibleTables.length," table(s)?")}}function See(t,n){if(1&t&&(d(0,"h2"),h(1),l()),2&t){const e=w();m(1),Se("Restore ",e.eligibleTables.length," table(s) and all associated indexes?")}}function Mee(t,n){1&t&&(d(0,"span",9),h(1," Confirm skip by typing the following below: "),d(2,"b"),h(3,"SKIP"),l(),D(4,"br"),l())}function Tee(t,n){1&t&&(d(0,"span",9),h(1," Confirm restoration by typing the following below: "),d(2,"b"),h(3,"RESTORE"),l(),D(4,"br"),l())}function Iee(t,n){if(1&t&&(d(0,"div")(1,"b"),h(2,"Note:"),l(),h(3),D(4,"br"),d(5,"b"),h(6,"Already skipped tables:"),l(),h(7),l()),2&t){const e=w();m(3),Ec(" You selected ",e.data.tables.length," tables. ",e.ineligibleTables.length," table(s) will not be skipped since they are already skipped."),m(4),Se(" ",e.ineligibleTables," ")}}function Eee(t,n){if(1&t&&(d(0,"div")(1,"b"),h(2,"Note:"),l(),h(3),D(4,"br"),d(5,"b"),h(6,"Already active tables:"),l(),h(7),l()),2&t){const e=w();m(3),Ec(" You selected ",e.data.tables.length," tables. ",e.ineligibleTables.length," table(s) will not be restored since they are already active."),m(4),Se(" ",e.ineligibleTables," ")}}let VA=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i,this.eligibleTables=[],this.ineligibleTables=[];let o="";"SKIP"==this.data.operation?(o="SKIP",this.data.tables.forEach(r=>{r.isDeleted?this.ineligibleTables.push(r.TableName):this.eligibleTables.push(r.TableName)})):(o="RESTORE",this.data.tables.forEach(r=>{r.isDeleted?this.eligibleTables.push(r.TableName):this.ineligibleTables.push(r.TableName)})),this.confirmationInput=new Q("",[me.required,me.pattern(o)]),i.disableClose=!0}confirm(){this.dialogRef.close(this.data.operation)}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-bulk-drop-restore-table-dialog"]],decls:19,vars:8,consts:[["mat-dialog-content",""],[4,"ngIf"],[1,"form-container"],["class","form-custom-label",4,"ngIf"],["appearance","outline"],["matInput","","type","text",3,"formControl"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[1,"form-custom-label"]],template:function(i,o){1&i&&(d(0,"div",0),_(1,kee,2,1,"h2",1),_(2,See,2,1,"h2",1),d(3,"mat-dialog-content")(4,"div",2)(5,"form"),_(6,Mee,5,0,"span",3),_(7,Tee,5,0,"span",3),d(8,"mat-form-field",4)(9,"mat-label"),h(10,"Confirm"),l(),D(11,"input",5),l(),_(12,Iee,8,3,"div",1),_(13,Eee,8,3,"div",1),l()()(),d(14,"div",6)(15,"button",7),h(16,"Cancel"),l(),d(17,"button",8),L("click",function(){return o.confirm()}),h(18," Confirm "),l()()()),2&i&&(m(1),f("ngIf","SKIP"==o.data.operation),m(1),f("ngIf","RESTORE"==o.data.operation),m(4),f("ngIf","SKIP"==o.data.operation),m(1),f("ngIf","RESTORE"==o.data.operation),m(4),f("formControl",o.confirmationInput),m(1),f("ngIf","SKIP"==o.data.operation&&0!=o.ineligibleTables.length),m(1),f("ngIf","RESTORE"==o.data.operation&&0!=o.ineligibleTables.length),m(4),f("disabled",!o.confirmationInput.valid))},dependencies:[Et,Kt,Oi,Ii,sn,Tn,Mi,vi,Ui,Yc,wo,vr,yr,ja],styles:[".alert-container[_ngcontent-%COMP%]{padding:.5rem;display:flex;align-items:center;margin-bottom:1rem;background-color:#f8f4f4}.alert-container[_ngcontent-%COMP%] mat-mdc-icon[_ngcontent-%COMP%]{color:#f3b300;margin-right:20px}.form-container[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}"]})}return t})();const jA=function(t){return{"blue-font-color":t}};function Oee(t,n){if(1&t&&(d(0,"span",25),h(1),l()),2&t){const e=w();f("ngClass",ii(2,jA,"source"===e.selectedTab)),m(1),Se(" ",e.srcDbName.toUpperCase()," ")}}function Aee(t,n){1&t&&(d(0,"th",26),h(1,"Status"),l())}function Pee(t,n){1&t&&(di(),d(0,"svg",31),D(1,"path",32),l())}function Ree(t,n){1&t&&(d(0,"mat-icon",33),h(1," work "),l())}function Fee(t,n){1&t&&(d(0,"mat-icon",34),h(1," work_history "),l())}function Nee(t,n){if(1&t&&(d(0,"td",27),_(1,Pee,2,0,"svg",28),_(2,Ree,2,0,"mat-icon",29),_(3,Fee,2,0,"mat-icon",30),l()),2&t){const e=n.$implicit;m(1),f("ngIf","EXCELLENT"===e.status||"NONE"===e.status),m(1),f("ngIf","OK"===e.status||"GOOD"===e.status),m(1),f("ngIf","POOR"===e.status)}}function Lee(t,n){1&t&&(d(0,"mat-icon",38),h(1,"arrow_upward"),l())}function Bee(t,n){1&t&&(d(0,"mat-icon",39),h(1,"arrow_upward"),l())}function Vee(t,n){1&t&&(d(0,"mat-icon",39),h(1,"arrow_downward"),l())}function jee(t,n){if(1&t){const e=_e();d(0,"th",35),L("click",function(){return ae(e),se(w().srcTableSort())}),d(1,"div")(2,"span"),h(3," Object Name "),l(),_(4,Lee,2,0,"mat-icon",36),_(5,Bee,2,0,"mat-icon",37),_(6,Vee,2,0,"mat-icon",37),l()()}if(2&t){const e=w();m(4),f("ngIf",""===e.srcSortOrder),m(1),f("ngIf","asc"===e.srcSortOrder),m(1),f("ngIf","desc"===e.srcSortOrder)}}function zee(t,n){1&t&&(di(),d(0,"svg",48),D(1,"path",49),l())}function Hee(t,n){1&t&&(di(),d(0,"svg",50),D(1,"path",51),l())}function Uee(t,n){1&t&&(di(),d(0,"svg",52),D(1,"path",53),l())}function $ee(t,n){1&t&&(di(),d(0,"svg",54),D(1,"path",55),l())}function Gee(t,n){if(1&t&&(d(0,"span",56)(1,"mat-icon",57),h(2,"more_vert"),l(),d(3,"mat-menu",null,58)(5,"button",59)(6,"span"),h(7,"Add Index"),l()()()()),2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}function Wee(t,n){if(1&t){const e=_e();d(0,"td",40)(1,"button",41),L("click",function(){const r=ae(e).$implicit;return se(w().srcTreeControl.toggle(r))}),_(2,zee,2,0,"svg",42),_(3,Hee,2,0,"ng-template",null,43,Zo),l(),d(5,"span",44),L("click",function(){const r=ae(e).$implicit;return se(w().objectSelected(r))}),d(6,"span"),_(7,Uee,2,0,"svg",45),_(8,$ee,2,0,"svg",46),d(9,"span"),h(10),l()(),_(11,Gee,8,1,"span",47),l()()}if(2&t){const e=n.$implicit,i=At(4),o=w();m(1),rn("visibility",e.expandable?"":"hidden")("margin-left",10*e.level,"px"),m(1),f("ngIf",o.srcTreeControl.isExpanded(e))("ngIfElse",i),m(5),f("ngIf",o.isTableNode(e.type)),m(1),f("ngIf",o.isIndexNode(e.type)),m(2),Re(e.name),m(1),f("ngIf",o.isIndexNode(e.type)&&e.isSpannerNode)}}function qee(t,n){1&t&&D(0,"tr",60)}const zA=function(t){return{"selected-row":t}};function Kee(t,n){if(1&t&&D(0,"tr",61),2&t){const e=n.$implicit,i=w();f("ngClass",ii(1,zA,i.shouldHighlight(e)))}}function Zee(t,n){if(1&t&&(d(0,"span",25),h(1," SPANNER DRAFT "),l()),2&t){const e=w();f("ngClass",ii(1,jA,"spanner"===e.selectedTab))}}function Yee(t,n){1&t&&(d(0,"th",26),h(1,"Status"),l())}function Qee(t,n){1&t&&(di(),d(0,"svg",31),D(1,"path",32),l())}function Xee(t,n){1&t&&(d(0,"mat-icon",33),h(1," work "),l())}function Jee(t,n){1&t&&(d(0,"mat-icon",34),h(1," work_history "),l())}function ete(t,n){1&t&&(d(0,"mat-icon",63),h(1," delete "),l())}function tte(t,n){if(1&t&&(d(0,"td",27),_(1,Qee,2,0,"svg",28),_(2,Xee,2,0,"mat-icon",29),_(3,Jee,2,0,"mat-icon",30),_(4,ete,2,0,"mat-icon",62),l()),2&t){const e=n.$implicit;m(1),f("ngIf","EXCELLENT"===e.status||"NONE"===e.status),m(1),f("ngIf","OK"===e.status||"GOOD"===e.status),m(1),f("ngIf","POOR"===e.status),m(1),f("ngIf","DARK"===e.status||1==e.isDeleted)}}function ite(t,n){1&t&&(d(0,"mat-icon",65),h(1,"arrow_upward"),l())}function nte(t,n){1&t&&(d(0,"mat-icon",39),h(1,"arrow_upward"),l())}function ote(t,n){1&t&&(d(0,"mat-icon",39),h(1,"arrow_downward"),l())}function rte(t,n){if(1&t){const e=_e();d(0,"th",35),L("click",function(){return ae(e),se(w().spannerTableSort())}),d(1,"div")(2,"span"),h(3," Object Name "),l(),_(4,ite,2,0,"mat-icon",64),_(5,nte,2,0,"mat-icon",37),_(6,ote,2,0,"mat-icon",37),l()()}if(2&t){const e=w();m(4),f("ngIf",""===e.spannerSortOrder),m(1),f("ngIf","asc"===e.spannerSortOrder),m(1),f("ngIf","desc"===e.spannerSortOrder)}}function ate(t,n){if(1&t){const e=_e();d(0,"mat-checkbox",70),L("change",function(){ae(e);const o=w().$implicit;return se(w().selectionToggle(o))}),l()}if(2&t){const e=w().$implicit;f("checked",w().checklistSelection.isSelected(e))}}function ste(t,n){1&t&&(di(),d(0,"svg",48),D(1,"path",49),l())}function cte(t,n){1&t&&(di(),d(0,"svg",50),D(1,"path",51),l())}function lte(t,n){1&t&&(di(),d(0,"svg",52),D(1,"path",53),l())}function dte(t,n){1&t&&(di(),d(0,"svg",54),D(1,"path",55),l())}function ute(t,n){if(1&t){const e=_e();d(0,"span",56)(1,"mat-icon",71),h(2,"more_vert"),l(),d(3,"mat-menu",72,58)(5,"button",73),L("click",function(){ae(e);const o=w().$implicit;return se(w().openAddIndexForm(o.parent))}),d(6,"span"),h(7,"Add Index"),l()()()()}if(2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}const hte=function(){return{sidebar_link:!0}},mte=function(t){return{"gray-out":t}};function pte(t,n){if(1&t){const e=_e();d(0,"td",66),_(1,ate,1,1,"mat-checkbox",67),d(2,"button",41),L("click",function(){const r=ae(e).$implicit;return se(w().treeControl.toggle(r))}),_(3,ste,2,0,"svg",42),_(4,cte,2,0,"ng-template",null,43,Zo),l(),d(6,"span",68),L("click",function(){const r=ae(e).$implicit;return se(w().objectSelected(r))}),d(7,"span"),_(8,lte,2,0,"svg",45),_(9,dte,2,0,"svg",46),d(10,"span",69),h(11),l()(),_(12,ute,8,1,"span",47),l()()}if(2&t){const e=n.$implicit,i=At(5),o=w();f("ngClass",Ko(13,hte)),m(1),f("ngIf",!o.isIndexLikeNode(e)),m(1),rn("visibility",e.expandable?"":"hidden")("margin-left",10*e.level,"px"),m(1),f("ngIf",o.treeControl.isExpanded(e))("ngIfElse",i),m(3),f("ngClass",ii(14,mte,e.isDeleted)),m(2),f("ngIf",o.isTableNode(e.type)),m(1),f("ngIf",o.isIndexNode(e.type)),m(2),Re(e.name),m(1),f("ngIf",o.isIndexNode(e.type))}}function fte(t,n){1&t&&D(0,"tr",60)}function gte(t,n){if(1&t&&D(0,"tr",61),2&t){const e=n.$implicit,i=w();f("ngClass",ii(1,zA,i.shouldHighlight(e)))}}const A0=function(t){return[t]};let _te=(()=>{class t{constructor(e,i,o,r,a){this.conversion=e,this.dialog=i,this.data=o,this.sidenav=r,this.clickEvent=a,this.isLeftColumnCollapse=!1,this.currentSelectedObject=null,this.srcSortOrder="",this.spannerSortOrder="",this.srcSearchText="",this.spannerSearchText="",this.selectedTab="spanner",this.selectedDatabase=new Ne,this.selectObject=new Ne,this.updateSpannerTable=new Ne,this.updateSrcTable=new Ne,this.leftCollaspe=new Ne,this.updateSidebar=new Ne,this.spannerTree=[],this.srcTree=[],this.srcDbName="",this.selectedIndex=1,this.transformer=(s,c)=>({expandable:!!s.children&&s.children.length>0,name:s.name,status:s.status,type:s.type,parent:s.parent,parentId:s.parentId,pos:s.pos,isSpannerNode:s.isSpannerNode,level:c,isDeleted:!!s.isDeleted,id:s.id}),this.treeControl=new NE(s=>s.level,s=>s.expandable),this.srcTreeControl=new NE(s=>s.level,s=>s.expandable),this.treeFlattener=new $q(this.transformer,s=>s.level,s=>s.expandable,s=>s.children),this.dataSource=new BE(this.treeControl,this.treeFlattener),this.srcDataSource=new BE(this.srcTreeControl,this.treeFlattener),this.checklistSelection=new $d(!0,[]),this.displayedColumns=["status","name"]}ngOnInit(){this.clickEvent.tabToSpanner.subscribe({next:e=>{this.setSpannerTab()}})}ngOnChanges(e){let i=e?.spannerTree?.currentValue,o=e?.srcTree?.currentValue;o&&(this.srcDataSource.data=o,this.srcTreeControl.expand(this.srcTreeControl.dataNodes[0]),this.srcTreeControl.expand(this.srcTreeControl.dataNodes[1])),i&&(this.dataSource.data=i,this.treeControl.expand(this.treeControl.dataNodes[0]),this.treeControl.expand(this.treeControl.dataNodes[1]))}filterSpannerTable(){this.updateSpannerTable.emit({text:this.spannerSearchText,order:this.spannerSortOrder})}filterSrcTable(){this.updateSrcTable.emit({text:this.srcSearchText,order:this.srcSortOrder})}srcTableSort(){this.srcSortOrder=""===this.srcSortOrder?"asc":"asc"===this.srcSortOrder?"desc":"",this.updateSrcTable.emit({text:this.srcSearchText,order:this.srcSortOrder})}spannerTableSort(){this.spannerSortOrder=""===this.spannerSortOrder?"asc":"asc"===this.spannerSortOrder?"desc":"",this.updateSpannerTable.emit({text:this.spannerSearchText,order:this.spannerSortOrder})}objectSelected(e){this.currentSelectedObject=e,(e.type===oi.Index||e.type===oi.Table)&&this.selectObject.emit(e)}leftColumnToggle(){this.isLeftColumnCollapse=!this.isLeftColumnCollapse,this.leftCollaspe.emit()}isTableNode(e){return new RegExp("^tables").test(e)}isIndexNode(e){return new RegExp("^indexes").test(e)}isIndexLikeNode(e){return e.type==oi.Index||e.type==oi.Indexes}openAddIndexForm(e){this.sidenav.setSidenavAddIndexTable(e),this.sidenav.setSidenavRuleType("addIndex"),this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("rule"),this.sidenav.setRuleData([]),this.sidenav.setDisplayRuleFlag(!1)}shouldHighlight(e){return e.name===this.currentSelectedObject?.name&&(e.type===oi.Table||e.type===oi.Index)}onTabChanged(){"spanner"==this.selectedTab?(this.selectedTab="source",this.selectedIndex=0):(this.selectedTab="spanner",this.selectedIndex=1),this.selectedDatabase.emit(this.selectedTab),this.currentSelectedObject=null,this.selectObject.emit(void 0)}setSpannerTab(){this.selectedIndex=1}checkDropSelection(){return 0!=this.countSelectionByCategory().eligibleForDrop}checkRestoreSelection(){return 0!=this.countSelectionByCategory().eligibleForRestore}countSelectionByCategory(){let i=0,o=0;return this.checklistSelection.selected.forEach(r=>{r.isDeleted?o+=1:i+=1}),{eligibleForDrop:i,eligibleForRestore:o}}dropSelected(){var i=[];this.checklistSelection.selected.forEach(a=>{""!=a.id&&a.type==oi.Table&&i.push({TableId:a.id,TableName:a.name,isDeleted:a.isDeleted})});let o=this.dialog.open(VA,{width:"35vw",minWidth:"450px",maxWidth:"600px",maxHeight:"90vh",data:{tables:i,operation:"SKIP"}});var r={TableList:[]};i.forEach(a=>{r.TableList.push(a.TableId)}),o.afterClosed().subscribe(a=>{"SKIP"==a&&(this.data.dropTables(r).pipe(Pt(1)).subscribe(s=>{""===s&&(this.data.getConversionRate(),this.updateSidebar.emit(!0))}),this.checklistSelection.clear())})}restoreSelected(){var i=[];this.checklistSelection.selected.forEach(a=>{""!=a.id&&a.type==oi.Table&&i.push({TableId:a.id,TableName:a.name,isDeleted:a.isDeleted})});let o=this.dialog.open(VA,{width:"35vw",minWidth:"450px",maxWidth:"600px",data:{tables:i,operation:"RESTORE"}});var r={TableList:[]};i.forEach(a=>{r.TableList.push(a.TableId)}),o.afterClosed().subscribe(a=>{"RESTORE"==a&&(this.data.restoreTables(r).pipe(Pt(1)).subscribe(s=>{this.data.getConversionRate(),this.data.getDdl()}),this.checklistSelection.clear())})}selectionToggle(e){this.checklistSelection.toggle(e);const i=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?this.checklistSelection.select(...i):this.checklistSelection.deselect(...i)}static#e=this.\u0275fac=function(i){return new(i||t)(g(Rs),g(br),g(Li),g(Pn),g(jo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-object-explorer"]],inputs:{spannerTree:"spannerTree",srcTree:"srcTree",srcDbName:"srcDbName"},outputs:{selectedDatabase:"selectedDatabase",selectObject:"selectObject",updateSpannerTable:"updateSpannerTable",updateSrcTable:"updateSrcTable",leftCollaspe:"leftCollaspe",updateSidebar:"updateSidebar"},features:[ai],decls:59,vars:20,consts:[[1,"container"],[3,"ngClass","selectedIndex","selectedTabChange"],["mat-tab-label",""],[1,"filter-wrapper"],[1,"left"],[1,"material-icons","filter-icon"],[1,"filter-text"],[1,"right"],["placeholder","Filter by table name",3,"ngModel","ngModelChange"],[1,"explorer-table"],["mat-table","",3,"dataSource"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","","class","mat-header-cell-name cursor-pointer",3,"click",4,"matHeaderCellDef"],["mat-cell","","class","sidebar_link",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["clas","delete-selected-btn"],["mat-button","","color","primary",1,"icon","drop",3,"disabled","click"],["clas","restore-selected-btn"],["mat-table","","id","table-and-index-list",3,"dataSource"],["mat-cell","",3,"ngClass",4,"matCellDef"],["id","left-column-toggle-button",3,"click"],[3,"ngClass"],["mat-header-cell",""],["mat-cell",""],["class","icon success","matTooltip","Can be converted automatically","matTooltipPosition","above","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","black",4,"ngIf"],["class","work","matTooltip","Requires minimal conversion changes","matTooltipPosition","above",4,"ngIf"],["class","work_history","matTooltip","Requires high complexity conversion changes","matTooltipPosition","above",4,"ngIf"],["matTooltip","Can be converted automatically","matTooltipPosition","above","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","black",1,"icon","success"],["d","m10.4 17.6-2-4.4-4.4-2 4.4-2 2-4.4 2 4.4 4.4 2-4.4 2Zm6.4 1.6-1-2.2-2.2-1 2.2-1 1-2.2 1 2.2 2.2 1-2.2 1Z"],["matTooltip","Requires minimal conversion changes","matTooltipPosition","above",1,"work"],["matTooltip","Requires high complexity conversion changes","matTooltipPosition","above",1,"work_history"],["mat-header-cell","",1,"mat-header-cell-name","cursor-pointer",3,"click"],["class","src-unsorted-icon sort-icon",4,"ngIf"],["class","sort-icon",4,"ngIf"],[1,"src-unsorted-icon","sort-icon"],[1,"sort-icon"],["mat-cell","",1,"sidebar_link"],["mat-icon-button","",3,"click"],["width","12","height","6","viewBox","0 0 12 6","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf","ngIfElse"],["collaps",""],[1,"sidebar_link",3,"click"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["width","12","height","14","viewBox","0 0 12 14","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","actions",4,"ngIf"],["width","12","height","6","viewBox","0 0 12 6","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M12 0L0 0L6 6L12 0Z","fill","black","fill-opacity","0.54"],["width","6","height","12","viewBox","0 0 6 12","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M-5.24537e-07 2.62268e-07L0 12L6 6L-5.24537e-07 2.62268e-07Z","fill","black","fill-opacity","0.54"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M0 0V18H18V0H0ZM16 2V6H2V2H16ZM7.33 11V8H10.66V11H7.33ZM10.67 13V16H7.34V13H10.67ZM5.33 11H2V8H5.33V11ZM12.67 8H16V11H12.67V8ZM2 13H5.33V16H2V13ZM12.67 16V13H16V16H12.67Z","fill","black","fill-opacity","0.54"],["width","12","height","14","viewBox","0 0 12 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.005 14C11.555 14 12 13.554 12 13.002V5L10 3V12H2V14H11.005ZM0 0.996C0 0.446 0.438 0 1.003 0H7L9 2.004V10.004C9 10.554 8.554 11 8.002 11H0.998C0.867035 11.0003 0.737304 10.9747 0.616233 10.9248C0.495162 10.8748 0.385128 10.8015 0.292428 10.709C0.199729 10.6165 0.126186 10.5066 0.0760069 10.3856C0.0258282 10.2646 -2.64036e-07 10.135 0 10.004V0.996ZM6 1L5 5.5H2L6 1ZM3 10L4 5.5H7L3 10Z","fill","black","fill-opacity","0.54"],[1,"actions"],[3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-header-row",""],["mat-row","",3,"ngClass"],["class","icon dark","matTooltip","Deleted","matTooltipPosition","above",4,"ngIf"],["matTooltip","Deleted","matTooltipPosition","above",1,"icon","dark"],["class","spanner-unsorted-icon sort-icon",4,"ngIf"],[1,"spanner-unsorted-icon","sort-icon"],["mat-cell","",3,"ngClass"],["class","checklist-node",3,"checked","change",4,"ngIf"],[1,"sidebar_link",3,"ngClass","click"],[1,"object-name"],[1,"checklist-node",3,"checked","change"],[1,"add-index-icon",3,"matMenuTriggerFor"],["xPosition","before"],["mat-menu-item","",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-tab-group",1),L("selectedTabChange",function(){return o.onTabChanged()}),d(2,"mat-tab"),_(3,Oee,2,4,"ng-template",2),d(4,"div",3)(5,"div",4)(6,"span",5),h(7,"filter_list"),l(),d(8,"span",6),h(9,"Filter"),l()(),d(10,"div",7)(11,"input",8),L("ngModelChange",function(a){return o.srcSearchText=a})("ngModelChange",function(){return o.filterSrcTable()}),l()()(),d(12,"div",9)(13,"table",10),xe(14,11),_(15,Aee,2,0,"th",12),_(16,Nee,4,3,"td",13),we(),xe(17,14),_(18,jee,7,3,"th",15),_(19,Wee,12,10,"td",16),we(),_(20,qee,1,0,"tr",17),_(21,Kee,1,3,"tr",18),l()()(),d(22,"mat-tab"),_(23,Zee,2,3,"ng-template",2),d(24,"div",3)(25,"div",4)(26,"span",5),h(27,"filter_list"),l(),d(28,"span",6),h(29,"Filter"),l()(),d(30,"div",7)(31,"input",8),L("ngModelChange",function(a){return o.spannerSearchText=a})("ngModelChange",function(){return o.filterSpannerTable()}),l()(),d(32,"div",19)(33,"button",20),L("click",function(){return o.dropSelected()}),d(34,"mat-icon"),h(35,"delete"),l(),d(36,"span"),h(37,"SKIP"),l()()(),d(38,"div",21)(39,"button",20),L("click",function(){return o.restoreSelected()}),d(40,"mat-icon"),h(41,"undo"),l(),d(42,"span"),h(43,"RESTORE"),l()()()(),d(44,"div",9)(45,"table",22),xe(46,11),_(47,Yee,2,0,"th",12),_(48,tte,5,4,"td",13),we(),xe(49,14),_(50,rte,7,3,"th",15),_(51,pte,13,16,"td",23),we(),_(52,fte,1,0,"tr",17),_(53,gte,1,3,"tr",18),l()()()(),d(54,"button",24),L("click",function(){return o.leftColumnToggle()}),d(55,"mat-icon",25),h(56,"first_page"),l(),d(57,"mat-icon",25),h(58,"last_page"),l()()()),2&i&&(m(1),f("ngClass",ii(14,A0,o.isLeftColumnCollapse?"hidden":"display"))("selectedIndex",o.selectedIndex),m(10),f("ngModel",o.srcSearchText),m(2),f("dataSource",o.srcDataSource),m(7),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns),m(10),f("ngModel",o.spannerSearchText),m(2),f("disabled",!o.checkDropSelection()),m(6),f("disabled",!o.checkRestoreSelection()),m(6),f("dataSource",o.dataSource),m(7),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns),m(2),f("ngClass",ii(16,A0,o.isLeftColumnCollapse?"hidden":"display")),m(2),f("ngClass",ii(18,A0,o.isLeftColumnCollapse?"display":"hidden")))},dependencies:[Qo,Et,Kt,Fa,_i,Mi,vi,tl,Xr,il,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,Qy,Bp,Jy,On,a0,Zc],styles:[".container[_ngcontent-%COMP%]{position:relative;background-color:#fff}.container[_ngcontent-%COMP%] .filter-wrapper[_ngcontent-%COMP%]{padding:0 10px}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%]{height:35px}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%] .spanner-unsorted-icon[_ngcontent-%COMP%]{visibility:hidden}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%]:hover .spanner-unsorted-icon[_ngcontent-%COMP%]{visibility:visible;opacity:.7}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%] .src-unsorted-icon[_ngcontent-%COMP%]{visibility:hidden}.container[_ngcontent-%COMP%] .mat-mdc-header-cell-name[_ngcontent-%COMP%]:hover .src-unsorted-icon[_ngcontent-%COMP%]{visibility:visible;opacity:.7}.container[_ngcontent-%COMP%] .sort-icon[_ngcontent-%COMP%]{font-size:1.1rem;vertical-align:middle}.selected-row[_ngcontent-%COMP%]{background-color:#61b3ff4a}.explorer-table[_ngcontent-%COMP%]{height:calc(100vh - 320px);width:100%;overflow:auto}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__header-cell[_ngcontent-%COMP%]{padding:0 0 0 16px}.mat-mdc-table[_ngcontent-%COMP%]{width:100%;border:inset}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;height:40px}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:10px}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{height:40px;margin-left:14px}.mat-mdc-table[_ngcontent-%COMP%] .sidebar_link[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .add-index-icon[_ngcontent-%COMP%]{margin-top:7px}.mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%], .mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-header-row[_ngcontent-%COMP%]{height:29px}.mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-header-cell[_ngcontent-%COMP%]{font-family:Roboto;font-size:13px;font-style:normal;font-weight:500;line-height:18px;background:#f5f5f5}.mat-mdc-table[_ngcontent-%COMP%] .mat-column-status[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:medium}.mat-mdc-table[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:20px}.filter-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;height:48px}.filter-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:30%;display:flex;align-items:center}.filter-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:5px}.filter-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:70%}.filter-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:70%;border:none;outline:none;background-color:transparent}#left-column-toggle-button[_ngcontent-%COMP%]{z-index:100;position:absolute;right:4px;top:10px;border:none;background-color:inherit}#left-column-toggle-button[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-mdc-column-status[_ngcontent-%COMP%]{width:80px} .column-left .mat-mdc-tab-label-container{margin-right:40px} .column-left .mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-label-container{margin-right:0} .column-left .mat-mdc-tab-header-pagination-after{margin-right:40px}"]})}return t})();function bte(t,n){1&t&&(d(0,"div",9)(1,"mat-icon"),h(2,"warning"),l(),d(3,"span"),h(4,"This operation cannot be undone"),l()())}let HA=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i,this.ObjectDetailNodeType=gl,this.confirmationInput=new Q("",[me.required,me.pattern(`^${e.name}$`)]),i.disableClose=!0}delete(){this.dialogRef.close(this.data.type)}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-drop-index-dialog"]],decls:19,vars:7,consts:[["mat-dialog-content",""],["class","alert-container",4,"ngIf"],[1,"form-container"],[1,"form-custom-label"],["appearance","outline"],["matInput","","type","text",3,"formControl"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[1,"alert-container"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h2"),h(2),l(),_(3,bte,5,0,"div",1),d(4,"div",2)(5,"form")(6,"span",3),h(7," Confirm deletion by typing the following below: "),d(8,"b"),h(9),l()(),d(10,"mat-form-field",4)(11,"mat-label"),h(12),l(),D(13,"input",5),l()()()(),d(14,"div",6)(15,"button",7),h(16,"Cancel"),l(),d(17,"button",8),L("click",function(){return o.delete()}),h(18," Confirm "),l()()),2&i&&(m(2),Ec("Skip ",o.data.type," (",o.data.name,")?"),m(1),f("ngIf","Index"===o.data.type),m(6),Re(o.data.name),m(3),Se("",o.data.type==o.ObjectDetailNodeType.Table?"Table":"Index"," Name"),m(1),f("formControl",o.confirmationInput),m(4),f("disabled",!o.confirmationInput.valid))},dependencies:[Et,Kt,_i,Oi,Ii,sn,Tn,Mi,vi,Ui,Yc,wo,vr,yr,ja],styles:[".alert-container[_ngcontent-%COMP%]{padding:.5rem;display:flex;align-items:center;margin-bottom:1rem;background-color:#f8f4f4}.alert-container[_ngcontent-%COMP%] mat-mdc-icon[_ngcontent-%COMP%]{color:#f3b300;margin-right:20px}.form-container[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}"]})}return t})();function vte(t,n){if(1&t&&(d(0,"mat-option",12),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function yte(t,n){1&t&&(d(0,"div")(1,"mat-form-field",2)(2,"mat-label"),h(3,"Length"),l(),D(4,"input",13),l(),D(5,"br"),l())}function xte(t,n){if(1&t&&(d(0,"mat-option",12),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}let wte=(()=>{class t{constructor(e,i,o,r){this.formBuilder=e,this.dataService=i,this.dialogRef=o,this.data=r,this.dialect="",this.datatypes=[],this.selectedDatatype="",this.tableId="",this.selectedNull=!0,this.dataTypesWithColLen=ln.DataTypes,this.isColumnNullable=[{value:!1,displayName:"No"},{value:!0,displayName:"Yes"}],this.dialect=r.dialect,this.tableId=r.tableId,this.addNewColumnForm=this.formBuilder.group({name:["",[me.required,me.minLength(1),me.maxLength(128),me.pattern("^[a-zA-Z][a-zA-Z0-9_]*$")]],datatype:["",me.required],length:["",me.pattern("^[0-9]+$")],isNullable:[]})}ngOnInit(){this.datatypes="google_standard_sql"==this.dialect?PA_GoogleStandardSQL:PA_PostgreSQL}changeValidator(){this.addNewColumnForm.controls.length.clearValidators(),"BYTES"===this.selectedDatatype?this.addNewColumnForm.get("length")?.addValidators([me.required,me.max(ln.ByteMaxLength)]):("VARCHAR"===this.selectedDatatype||"STRING"===this.selectedDatatype)&&this.addNewColumnForm.get("length")?.addValidators([me.required,me.max(ln.StringMaxLength)]),this.addNewColumnForm.controls.length.updateValueAndValidity()}addNewColumn(){let e=this.addNewColumnForm.value,i={Name:e.name,Datatype:this.selectedDatatype,Length:parseInt(e.length),IsNullable:this.selectedNull};this.dataService.addColumn(this.tableId,i),this.dialogRef.close()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-add-new-column"]],decls:26,vars:7,consts:[["mat-dialog-content",""],[1,"add-new-column-form",3,"formGroup"],["appearance","outline",1,"full-width"],["matInput","","placeholder","Column Name","type","text","formControlName","name"],["appearance","outline"],["formControlName","datatype","required","true",1,"input-field",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["formControlName","isNullable","required","true",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[3,"value"],["matInput","","placeholder","Length","type","text","formControlName","length"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Column Details"),l(),d(4,"mat-form-field",2)(5,"mat-label"),h(6,"Name"),l(),D(7,"input",3),l(),D(8,"br"),d(9,"mat-form-field",4)(10,"mat-label"),h(11,"Datatype"),l(),d(12,"mat-select",5),L("ngModelChange",function(a){return o.selectedDatatype=a})("selectionChange",function(){return o.changeValidator()}),_(13,vte,2,2,"mat-option",6),l()(),D(14,"br"),_(15,yte,6,0,"div",7),d(16,"mat-form-field",4)(17,"mat-label"),h(18,"IsNullable"),l(),d(19,"mat-select",8),L("ngModelChange",function(a){return o.selectedNull=a}),_(20,xte,2,2,"mat-option",6),l()()(),d(21,"div",9)(22,"button",10),h(23,"CANCEL"),l(),d(24,"button",11),L("click",function(){return o.addNewColumn()}),h(25," ADD "),l()()()),2&i&&(m(1),f("formGroup",o.addNewColumnForm),m(11),f("ngModel",o.selectedDatatype),m(1),f("ngForOf",o.datatypes),m(2),f("ngIf",o.dataTypesWithColLen.indexOf(o.selectedDatatype)>-1),m(4),f("ngModel",o.selectedNull),m(1),f("ngForOf",o.isColumnNullable),m(4),f("disabled",!o.addNewColumnForm.valid))},dependencies:[an,Et,Kt,Oi,Ii,sn,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,wo,vr,yr]})}return t})();function Cte(t,n){1&t&&(d(0,"span"),h(1," To view and modify an object details, click on the object name on the Spanner draft panel. "),l())}function Dte(t,n){if(1&t&&(d(0,"span"),h(1),l()),2&t){const e=w(2);m(1),Se(" To view an object details, click on the object name on the ",e.srcDbName," panel. ")}}const ff=function(t){return[t]};function kte(t,n){if(1&t){const e=_e();d(0,"div",2)(1,"div",3)(2,"h3",4),h(3,"OBJECT VIEWER"),l(),d(4,"button",5),L("click",function(){return ae(e),se(w().middleColumnToggle())}),d(5,"mat-icon",6),h(6,"first_page"),l(),d(7,"mat-icon",6),h(8,"last_page"),l()()(),D(9,"mat-divider"),d(10,"div",7)(11,"div",8),di(),d(12,"svg",9),D(13,"path",10),l()(),Pr(),d(14,"div",11),_(15,Cte,2,0,"span",12),_(16,Dte,2,1,"span",12),l()()()}if(2&t){const e=w();m(5),f("ngClass",ii(4,ff,e.isMiddleColumnCollapse?"display":"hidden")),m(2),f("ngClass",ii(6,ff,e.isMiddleColumnCollapse?"hidden":"display")),m(8),f("ngIf","spanner"==e.currentDatabase),m(1),f("ngIf","source"==e.currentDatabase)}}function Ste(t,n){1&t&&(d(0,"mat-icon",23),h(1," table_chart"),l())}function Mte(t,n){1&t&&(di(),d(0,"svg",24),D(1,"path",25),l())}function Tte(t,n){if(1&t&&(d(0,"span"),h(1),va(2,"uppercase"),l()),2&t){const e=w(2);m(1),Se("( TABLE: ",ya(2,1,e.currentObject.parent)," ) ")}}function Ite(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).dropIndex())}),d(1,"mat-icon"),h(2,"delete"),l(),d(3,"span"),h(4,"SKIP INDEX"),l()()}}function Ete(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).restoreIndex())}),d(1,"mat-icon"),h(2,"undo"),l(),d(3,"span"),h(4," RESTORE INDEX"),l()()}}function Ote(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).dropTable())}),d(1,"mat-icon"),h(2,"delete"),l(),d(3,"span"),h(4,"SKIP TABLE"),l()()}}function Ate(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w(2).restoreSpannerTable())}),d(1,"mat-icon"),h(2,"undo"),l(),d(3,"span"),h(4," RESTORE TABLE"),l()()}}function Pte(t,n){if(1&t&&(d(0,"div",27),h(1," Interleaved: "),d(2,"div",28),h(3),l()()),2&t){const e=w(2);m(3),Se(" ",e.interleaveParentName," ")}}function Rte(t,n){1&t&&(d(0,"span"),h(1,"COLUMNS "),l())}function Fte(t,n){if(1&t&&(d(0,"th",74),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function Nte(t,n){1&t&&(d(0,"th",75),h(1,"S No."),l())}function Lte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcOrder").value," ")}}function Bte(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Vte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColName").value," ")}}function jte(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function zte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcDataType").value," ")}}function Hte(t,n){1&t&&(d(0,"th",75),h(1,"Max Length"),l())}function Ute(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColMaxLength").value," ")}}function $te(t,n){1&t&&(d(0,"th",75),h(1,"Pk"),l())}function Gte(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function Wte(t,n){if(1&t&&(d(0,"td",76),_(1,Gte,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("srcIsPk").value)}}function qte(t,n){1&t&&(d(0,"th",75),h(1,"Nullable"),l())}function Kte(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcIsNotNull").value?"Not Null":""," ")}}function Zte(t,n){1&t&&D(0,"tr",79)}function Yte(t,n){1&t&&D(0,"tr",79)}const Qte=function(t){return{"scr-column-data-edit-mode":t}};function Xte(t,n){if(1&t&&D(0,"tr",80),2&t){const e=w(3);f("ngClass",ii(1,Qte,e.isEditMode))}}function Jte(t,n){if(1&t){const e=_e();d(0,"button",84),L("click",function(){return ae(e),se(w(5).toggleEdit())}),d(1,"mat-icon",85),h(2,"edit"),l(),h(3," EDIT "),l()}}function eie(t,n){if(1&t&&(d(0,"div"),_(1,Jte,4,0,"button",83),l()),2&t){const e=w(4);m(1),f("ngIf",e.currentObject.isSpannerNode)}}function tie(t,n){if(1&t){const e=_e();d(0,"button",84),L("click",function(){return ae(e),se(w(5).addNewColumn())}),d(1,"mat-icon",85),h(2,"edit"),l(),h(3," ADD COLUMN "),l()}}function iie(t,n){if(1&t&&(d(0,"div"),_(1,tie,4,0,"button",83),l()),2&t){const e=w(4);m(1),f("ngIf",e.currentObject.isSpannerNode)}}function nie(t,n){if(1&t&&(d(0,"th",81)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,eie,2,1,"div",12),_(5,iie,2,1,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isEditMode&&!e.currentObject.isDeleted),m(1),f("ngIf",!e.isEditMode&&!e.currentObject.isDeleted&&!1)}}function oie(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function rie(t,n){if(1&t&&(d(0,"div"),D(1,"input",86),l()),2&t){const e=w().$implicit;let i;m(1),f("formControl",e.get("spColName"))("matTooltipDisabled",!(null!=(i=e.get("spColName"))&&i.hasError("pattern")))}}function aie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spColName").value)}}function sie(t,n){if(1&t&&(d(0,"td",76),_(1,rie,2,2,"div",12),_(2,aie,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isEditMode&&""!==e.get("spDataType").value&&""!==e.get("srcId").value),m(1),f("ngIf",!i.isEditMode||""===e.get("srcId").value)}}function cie(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function lie(t,n){if(1&t&&(d(0,"span",90),h(1,"warning"),l()),2&t){const e=w().index;f("matTooltip",w(3).spTableSuggestion[e])}}function die(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayT),m(1),Se(" ",e.DisplayT," ")}}function uie(t,n){1&t&&(d(0,"mat-option",98),h(1," STRING "),l())}function hie(t,n){1&t&&(d(0,"mat-option",99),h(1," VARCHAR "),l())}function mie(t,n){if(1&t){const e=_e();d(0,"mat-form-field",91)(1,"mat-select",92,93),L("selectionChange",function(){ae(e);const o=At(2),r=w().index;return se(w(3).spTableEditSuggestionHandler(r,o.value))}),_(3,die,2,2,"mat-option",94),_(4,uie,2,0,"mat-option",95),_(5,hie,2,0,"mat-option",96),l()()}if(2&t){const e=w().$implicit,i=w(3);m(1),f("formControl",e.get("spDataType")),m(2),f("ngForOf",i.typeMap[e.get("srcDataType").value]),m(1),f("ngIf",""==e.get("srcDataType").value&&!i.isPostgreSQLDialect),m(1),f("ngIf",""==e.get("srcDataType").value&&i.isPostgreSQLDialect)}}function pie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spDataType").value)}}function fie(t,n){if(1&t&&(d(0,"td",76)(1,"div",87),_(2,lie,2,1,"span",88),_(3,mie,6,4,"mat-form-field",89),_(4,pie,2,1,"p",12),l()()),2&t){const e=n.$implicit,i=n.index,o=w(3);m(2),f("ngIf",o.isSpTableSuggesstionDisplay[i]&&""!==e.get("spDataType").value),m(1),f("ngIf",o.isEditMode&&""!==e.get("spDataType").value&&""!==e.get("srcId").value),m(1),f("ngIf",!o.isEditMode||""===e.get("srcId").value)}}function gie(t,n){1&t&&(d(0,"th",75),h(1,"Max Length"),l())}function _ie(t,n){if(1&t&&(d(0,"div"),D(1,"input",100),l()),2&t){const e=w(2).$implicit;m(1),f("formControl",e.get("spColMaxLength"))}}function bie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w(2).$implicit;m(1),Se(" ",e.get("spColMaxLength").value," ")}}function vie(t,n){if(1&t&&(d(0,"div"),_(1,_ie,2,1,"div",12),_(2,bie,2,1,"p",12),l()),2&t){const e=w().$implicit,i=w(3);m(1),f("ngIf",i.isEditMode&&""!=e.get("srcDataType").value&&e.get("spId").value!==i.shardIdCol),m(1),f("ngIf",!i.isEditMode||e.get("spId").value===i.shardIdCol)}}function yie(t,n){if(1&t&&(d(0,"td",76),_(1,vie,3,2,"div",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.dataTypesWithColLen.indexOf(e.get("spDataType").value)>-1)}}function xie(t,n){1&t&&(d(0,"th",75),h(1,"Pk"),l())}function wie(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function Cie(t,n){if(1&t&&(d(0,"td",76),_(1,wie,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spIsPk").value)}}function Die(t,n){1&t&&(d(0,"span"),h(1,"Not Null"),l())}function kie(t,n){1&t&&(d(0,"span"),h(1,"Nullable"),l())}function Sie(t,n){if(1&t&&(d(0,"th",75),_(1,Die,2,0,"span",12),_(2,kie,2,0,"span",12),l()),2&t){const e=w(3);m(1),f("ngIf",e.isEditMode),m(1),f("ngIf",!e.isEditMode)}}function Mie(t,n){if(1&t&&(d(0,"div"),D(1,"mat-checkbox",102),l()),2&t){const e=w().$implicit;m(1),f("formControl",e.get("spIsNotNull"))}}function Tie(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Se(" ",e.get("spIsNotNull").value?"Not Null":""," ")}}function Iie(t,n){if(1&t&&(d(0,"td",76)(1,"div",101),_(2,Mie,2,1,"div",12),_(3,Tie,2,1,"p",12),l()()),2&t){const e=n.$implicit,i=w(3);m(2),f("ngIf",i.isEditMode&&""!==e.get("spDataType").value&&e.get("spId").value!==i.shardIdCol),m(1),f("ngIf",!i.isEditMode||e.get("spId").value===i.shardIdCol)}}function Eie(t,n){1&t&&D(0,"th",75)}function Oie(t,n){if(1&t){const e=_e();d(0,"div",105)(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",109),L("click",function(){ae(e);const o=w().$implicit;return se(w(3).dropColumn(o))}),d(6,"span"),h(7,"Drop Column"),l()()()()}if(2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}const gf=function(t){return{"drop-button-left-border":t}};function Aie(t,n){if(1&t&&(d(0,"td",103),_(1,Oie,8,1,"div",104),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isEditMode)),m(1),f("ngIf",i.isEditMode&&i.currentObject.isSpannerNode&&""!==e.get("spDataType").value&&e.get("spId").value!==i.shardIdCol)}}function Pie(t,n){1&t&&D(0,"tr",79)}function Rie(t,n){1&t&&D(0,"tr",79)}function Fie(t,n){1&t&&D(0,"tr",110)}function Nie(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function Lie(t,n){if(1&t){const e=_e();d(0,"div",111)(1,"mat-form-field",112)(2,"mat-label"),h(3,"Column Name"),l(),d(4,"mat-select",113),L("selectionChange",function(o){return ae(e),se(w(3).setColumn(o.value))}),_(5,Nie,2,2,"mat-option",94),l()(),d(6,"button",114),L("click",function(){return ae(e),se(w(3).restoreColumn())}),d(7,"mat-icon"),h(8,"add"),l(),h(9," RESTORE COLUMN "),l()()}if(2&t){const e=w(3);f("formGroup",e.addColumnForm),m(5),f("ngForOf",e.droppedSourceColumns)}}function Bie(t,n){1&t&&(d(0,"span"),h(1,"PRIMARY KEY "),l())}function Vie(t,n){if(1&t&&(d(0,"th",115),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function jie(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",84),L("click",function(){return ae(e),se(w(4).togglePkEdit())}),d(2,"mat-icon",85),h(3,"edit"),l(),h(4," EDIT "),l()()}}function zie(t,n){if(1&t&&(d(0,"th",74)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,jie,5,0,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isPkEditMode&&e.pkDataSource.length>0&&e.currentObject.isSpannerNode&&!e.currentObject.isDeleted)}}function Hie(t,n){1&t&&(d(0,"th",75),h(1,"Order"),l())}function Uie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcOrder").value," ")}}function $ie(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Gie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColName").value," ")}}function Wie(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function qie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcDataType").value," ")}}function Kie(t,n){1&t&&(d(0,"th",75),h(1,"PK"),l())}function Zie(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function Yie(t,n){if(1&t&&(d(0,"td",76),_(1,Zie,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("srcIsPk").value)}}function Qie(t,n){1&t&&(d(0,"th",75),h(1,"Nullable"),l())}function Xie(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcIsNotNull").value?"Not Null":""," ")}}function Jie(t,n){1&t&&(d(0,"th",75),h(1,"Order"),l())}function ene(t,n){if(1&t&&(d(0,"div"),D(1,"input",116),l()),2&t){const e=w().$implicit;let i;m(1),f("formControl",e.get("spOrder"))("matTooltipDisabled",!(null!=(i=e.get("spOrder"))&&i.hasError("pattern")))}}function tne(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spOrder").value)}}function ine(t,n){if(1&t&&(d(0,"td",76),_(1,ene,2,2,"div",12),_(2,tne,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isPkEditMode&&""!==e.get("spColName").value),m(1),f("ngIf",!i.isPkEditMode)}}function nne(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function one(t,n){if(1&t&&(d(0,"td",76)(1,"p"),h(2),l()()),2&t){const e=n.$implicit;m(2),Re(e.get("spColName").value)}}function rne(t,n){1&t&&(d(0,"th",75),h(1,"Type"),l())}function ane(t,n){if(1&t&&(d(0,"span",90),h(1,"warning"),l()),2&t){const e=w().index;f("matTooltip",w(3).spTableSuggestion[e])}}function sne(t,n){if(1&t&&(d(0,"td",76)(1,"div",87),_(2,ane,2,1,"span",88),d(3,"p"),h(4),l()()()),2&t){const e=n.$implicit,i=n.index,o=w(3);m(2),f("ngIf",o.isSpTableSuggesstionDisplay[i]&&""!==e.get("spColName").value),m(2),Re(e.get("spDataType").value)}}function cne(t,n){1&t&&(d(0,"th",75),h(1,"Pk"),l())}function lne(t,n){1&t&&(d(0,"div"),di(),d(1,"svg",77),D(2,"path",78),l()())}function dne(t,n){if(1&t&&(d(0,"td",76),_(1,lne,3,0,"div",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spIsPk").value)}}function une(t,n){1&t&&(d(0,"th",75),h(1,"Nullable"),l())}function hne(t,n){if(1&t&&(d(0,"td",76)(1,"div",101)(2,"p"),h(3),l()()()),2&t){const e=n.$implicit;m(3),Se(" ",e.get("spIsNotNull").value?"Not Null":""," ")}}function mne(t,n){1&t&&D(0,"th",75)}function pne(t,n){if(1&t){const e=_e();d(0,"div",105)(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",117),L("click",function(){ae(e);const o=w().$implicit;return se(w(3).dropPk(o))}),d(6,"span"),h(7,"Remove primary key"),l()()()()}if(2&t){const e=At(4),i=w(4);m(1),f("matMenuTriggerFor",e),m(4),f("disabled",!i.isPkEditMode)}}function fne(t,n){if(1&t&&(d(0,"td",103),_(1,pne,8,2,"div",104),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isPkEditMode)),m(1),f("ngIf",i.isPkEditMode&&i.currentObject.isSpannerNode&&""!==e.get("spColName").value)}}function gne(t,n){1&t&&D(0,"tr",79)}function _ne(t,n){1&t&&D(0,"tr",79)}function bne(t,n){1&t&&D(0,"tr",110)}function vne(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function yne(t,n){if(1&t){const e=_e();d(0,"div",118)(1,"mat-form-field",112)(2,"mat-label"),h(3,"Column Name"),l(),d(4,"mat-select",113),L("selectionChange",function(o){return ae(e),se(w(3).setPkColumn(o.value))}),_(5,vne,2,2,"mat-option",94),l()(),d(6,"button",114),L("click",function(){return ae(e),se(w(3).addPkColumn())}),d(7,"mat-icon"),h(8,"add"),l(),h(9," ADD COLUMN "),l()()}if(2&t){const e=w(3);f("formGroup",e.addPkColumnForm),m(5),f("ngForOf",e.pkColumnNames)}}function xne(t,n){1&t&&(d(0,"span"),h(1,"FOREIGN KEY"),l())}function wne(t,n){if(1&t&&(d(0,"th",119),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function Cne(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",84),L("click",function(){return ae(e),se(w(4).toggleFkEdit())}),d(2,"mat-icon",85),h(3,"edit"),l(),h(4," EDIT "),l()()}}function Dne(t,n){if(1&t&&(d(0,"th",115)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,Cne,5,0,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isFkEditMode&&e.fkDataSource.length>0&&e.currentObject.isSpannerNode&&!e.currentObject.isDeleted)}}function kne(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Sne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcName").value," ")}}function Mne(t,n){1&t&&(d(0,"th",75),h(1,"Columns"),l())}function Tne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColumns").value," ")}}function Ine(t,n){1&t&&(d(0,"th",75),h(1,"Refer Table"),l())}function Ene(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcReferTable").value," ")}}function One(t,n){1&t&&(d(0,"th",75),h(1,"Refer Columns"),l())}function Ane(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcReferColumns").value," ")}}function Pne(t,n){1&t&&(d(0,"th",75),h(1,"Name"),l())}function Rne(t,n){if(1&t&&(d(0,"div"),D(1,"input",86),l()),2&t){const e=w().$implicit;let i;m(1),f("formControl",e.get("spName"))("matTooltipDisabled",!(null!=(i=e.get("spName"))&&i.hasError("pattern")))}}function Fne(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spName").value)}}function Nne(t,n){if(1&t&&(d(0,"td",76),_(1,Rne,2,2,"div",12),_(2,Fne,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isFkEditMode&&""!==e.get("spReferTable").value),m(1),f("ngIf",!i.isFkEditMode)}}function Lne(t,n){1&t&&(d(0,"th",75),h(1,"Columns"),l())}function Bne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("spColumns").value," ")}}function Vne(t,n){1&t&&(d(0,"th",75),h(1,"Refer Table"),l())}function jne(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("spReferTable").value," ")}}function zne(t,n){1&t&&(d(0,"th",75),h(1,"Refer Columns"),l())}function Hne(t,n){if(1&t&&(d(0,"td",76)(1,"div",120),h(2),l()()),2&t){const e=n.$implicit;m(2),Se(" ",e.get("spReferColumns").value," ")}}function Une(t,n){1&t&&D(0,"th",75)}function $ne(t,n){if(1&t){const e=_e();d(0,"button",117),L("click",function(){return ae(e),se(w(5).setInterleave())}),d(1,"span"),h(2,"Convert to interleave"),l()()}2&t&&f("disabled",""===w(2).$implicit.get("spName").value)}function Gne(t,n){if(1&t){const e=_e();d(0,"div",105)(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",117),L("click",function(){ae(e);const o=w().$implicit;return se(w(3).dropFk(o))}),d(6,"span"),h(7,"Drop Foreign Key"),l()(),_(8,$ne,3,1,"button",121),l()()}if(2&t){const e=At(4),i=w().$implicit,o=w(3);m(1),f("matMenuTriggerFor",e),m(4),f("disabled",""===i.get("spName").value),m(3),f("ngIf",o.interleaveStatus.tableInterleaveStatus&&o.interleaveStatus.tableInterleaveStatus.Possible)}}function Wne(t,n){if(1&t&&(d(0,"td",103),_(1,Gne,9,3,"div",104),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isFkEditMode)),m(1),f("ngIf",i.isFkEditMode&&i.currentObject.isSpannerNode&&""!==e.get("spReferTable").value)}}function qne(t,n){1&t&&D(0,"tr",79)}function Kne(t,n){1&t&&D(0,"tr",79)}function Zne(t,n){1&t&&D(0,"tr",110)}function Yne(t,n){if(1&t){const e=_e();d(0,"button",125),L("click",function(){return ae(e),se(w(4).setInterleave())}),h(1," Convert to Interleave "),l()}}function Qne(t,n){if(1&t){const e=_e();d(0,"button",125),L("click",function(){return ae(e),se(w(4).removeInterleave())}),h(1," Convert Back to Foreign Key "),l()}}function Xne(t,n){if(1&t&&(d(0,"div"),h(1," This table is interleaved with "),d(2,"span",126),h(3),l(),h(4,". Click on the above button to convert back to foreign key. "),l()),2&t){const e=w(4);m(3),Re(e.interleaveParentName)}}function Jne(t,n){if(1&t&&(d(0,"mat-tab",122)(1,"div",123),_(2,Yne,2,0,"button",124),_(3,Qne,2,0,"button",124),D(4,"br"),_(5,Xne,5,1,"div",12),l()()),2&t){const e=w(3);m(2),f("ngIf",e.interleaveStatus.tableInterleaveStatus&&e.interleaveStatus.tableInterleaveStatus.Possible&&null===e.interleaveParentName),m(1),f("ngIf",e.interleaveStatus.tableInterleaveStatus&&!e.interleaveStatus.tableInterleaveStatus.Possible||null!==e.interleaveParentName),m(2),f("ngIf",e.interleaveStatus.tableInterleaveStatus&&!e.interleaveStatus.tableInterleaveStatus.Possible||null!==e.interleaveParentName)}}function eoe(t,n){1&t&&(d(0,"span"),h(1,"SQL"),l())}function toe(t,n){if(1&t&&(d(0,"mat-tab"),_(1,eoe,2,0,"ng-template",30),d(2,"div",127)(3,"pre")(4,"code"),h(5),l()()()()),2&t){const e=w(3);m(5),Re(e.ddlStmts[e.currentObject.id])}}const ioe=function(t){return{"height-on-edit":t}},noe=function(){return["srcDatabase"]},ooe=function(){return["spDatabase"]},P0=function(){return["srcDatabase","spDatabase"]};function roe(t,n){if(1&t){const e=_e();d(0,"mat-tab-group",29),L("selectedTabChange",function(o){return ae(e),se(w(2).tabChanged(o))}),d(1,"mat-tab"),_(2,Rte,2,0,"ng-template",30),d(3,"div",31)(4,"div",32)(5,"table",33),xe(6,34),_(7,Fte,2,1,"th",35),we(),xe(8,36),_(9,Nte,2,0,"th",37),_(10,Lte,2,1,"td",38),we(),xe(11,39),_(12,Bte,2,0,"th",37),_(13,Vte,2,1,"td",38),we(),xe(14,40),_(15,jte,2,0,"th",41),_(16,zte,2,1,"td",38),we(),xe(17,42),_(18,Hte,2,0,"th",41),_(19,Ute,2,1,"td",38),we(),xe(20,43),_(21,$te,2,0,"th",37),_(22,Wte,2,1,"td",38),we(),xe(23,44),_(24,qte,2,0,"th",41),_(25,Kte,2,1,"td",38),we(),_(26,Zte,1,0,"tr",45),_(27,Yte,1,0,"tr",45),_(28,Xte,1,3,"tr",46),l(),d(29,"table",33),xe(30,47),_(31,nie,6,2,"th",48),we(),xe(32,49),_(33,oie,2,0,"th",41),_(34,sie,3,2,"td",38),we(),xe(35,50),_(36,cie,2,0,"th",41),_(37,fie,5,3,"td",38),we(),xe(38,51),_(39,gie,2,0,"th",41),_(40,yie,2,1,"td",38),we(),xe(41,52),_(42,xie,2,0,"th",37),_(43,Cie,2,1,"td",38),we(),xe(44,53),_(45,Sie,3,2,"th",41),_(46,Iie,4,2,"td",38),we(),xe(47,54),_(48,Eie,1,0,"th",41),_(49,Aie,2,4,"td",55),we(),_(50,Pie,1,0,"tr",45),_(51,Rie,1,0,"tr",45),_(52,Fie,1,0,"tr",56),l()(),_(53,Lie,10,2,"div",57),l()(),d(54,"mat-tab"),_(55,Bie,2,0,"ng-template",30),d(56,"div",58)(57,"table",33),xe(58,34),_(59,Vie,2,1,"th",59),we(),xe(60,47),_(61,zie,5,1,"th",35),we(),xe(62,36),_(63,Hie,2,0,"th",37),_(64,Uie,2,1,"td",38),we(),xe(65,39),_(66,$ie,2,0,"th",37),_(67,Gie,2,1,"td",38),we(),xe(68,40),_(69,Wie,2,0,"th",41),_(70,qie,2,1,"td",38),we(),xe(71,43),_(72,Kie,2,0,"th",37),_(73,Yie,2,1,"td",38),we(),xe(74,44),_(75,Qie,2,0,"th",41),_(76,Xie,2,1,"td",38),we(),xe(77,60),_(78,Jie,2,0,"th",37),_(79,ine,3,2,"td",38),we(),xe(80,49),_(81,nne,2,0,"th",41),_(82,one,3,1,"td",38),we(),xe(83,50),_(84,rne,2,0,"th",41),_(85,sne,5,2,"td",38),we(),xe(86,52),_(87,cne,2,0,"th",37),_(88,dne,2,1,"td",38),we(),xe(89,53),_(90,une,2,0,"th",41),_(91,hne,4,1,"td",38),we(),xe(92,54),_(93,mne,1,0,"th",41),_(94,fne,2,4,"td",55),we(),_(95,gne,1,0,"tr",45),_(96,_ne,1,0,"tr",45),_(97,bne,1,0,"tr",56),l(),_(98,yne,10,2,"div",61),l()(),d(99,"mat-tab"),_(100,xne,2,0,"ng-template",30),d(101,"div",62)(102,"table",33),xe(103,34),_(104,wne,2,1,"th",63),we(),xe(105,47),_(106,Dne,5,1,"th",59),we(),xe(107,64),_(108,kne,2,0,"th",37),_(109,Sne,2,1,"td",38),we(),xe(110,65),_(111,Mne,2,0,"th",37),_(112,Tne,2,1,"td",38),we(),xe(113,66),_(114,Ine,2,0,"th",37),_(115,Ene,2,1,"td",38),we(),xe(116,67),_(117,One,2,0,"th",37),_(118,Ane,2,1,"td",38),we(),xe(119,68),_(120,Pne,2,0,"th",41),_(121,Nne,3,2,"td",38),we(),xe(122,69),_(123,Lne,2,0,"th",37),_(124,Bne,2,1,"td",38),we(),xe(125,70),_(126,Vne,2,0,"th",37),_(127,jne,2,1,"td",38),we(),xe(128,71),_(129,zne,2,0,"th",37),_(130,Hne,3,1,"td",38),we(),xe(131,72),_(132,Une,1,0,"th",41),_(133,Wne,2,4,"td",55),we(),_(134,qne,1,0,"tr",45),_(135,Kne,1,0,"tr",45),_(136,Zne,1,0,"tr",56),l()()(),_(137,Jne,6,3,"mat-tab",73),_(138,toe,6,1,"mat-tab",12),l()}if(2&t){const e=w(2);f("ngClass",ii(21,ioe,e.isEditMode||e.isPkEditMode||e.isFkEditMode)),m(5),f("dataSource",e.srcDataSource),m(21),f("matHeaderRowDef",Ko(23,noe)),m(1),f("matHeaderRowDef",e.srcDisplayedColumns),m(1),f("matRowDefColumns",e.srcDisplayedColumns),m(1),f("dataSource",e.spDataSource),m(21),f("matHeaderRowDef",Ko(24,ooe)),m(1),f("matHeaderRowDef",e.spDisplayedColumns),m(1),f("matRowDefColumns",e.spDisplayedColumns),m(1),f("ngIf",e.isEditMode&&0!=e.droppedSourceColumns.length),m(4),f("dataSource",e.pkDataSource),m(38),f("matHeaderRowDef",Ko(25,P0)),m(1),f("matHeaderRowDef",e.displayedPkColumns),m(1),f("matRowDefColumns",e.displayedPkColumns),m(1),f("ngIf",e.isPkEditMode),m(4),f("dataSource",e.fkDataSource),m(32),f("matHeaderRowDef",Ko(26,P0)),m(1),f("matHeaderRowDef",e.displayedFkColumns),m(1),f("matRowDefColumns",e.displayedFkColumns),m(1),f("ngIf",(e.interleaveStatus.tableInterleaveStatus&&e.interleaveStatus.tableInterleaveStatus.Possible||null!==e.interleaveParentName)&&e.currentObject.isSpannerNode),m(1),f("ngIf",e.currentObject.isSpannerNode&&!e.currentObject.isDeleted)}}function aoe(t,n){if(1&t&&(d(0,"th",138),h(1),l()),2&t){const e=w(3);m(1),Re(e.srcDbName)}}function soe(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",84),L("click",function(){return ae(e),se(w(4).toggleIndexEdit())}),d(2,"mat-icon",85),h(3,"edit"),l(),h(4," EDIT "),l()()}}function coe(t,n){if(1&t&&(d(0,"th",119)(1,"div",82)(2,"span"),h(3,"Spanner"),l(),_(4,soe,5,0,"div",12),l()()),2&t){const e=w(3);m(4),f("ngIf",!e.isIndexEditMode&&!e.currentObject.isDeleted&&e.currentObject.isSpannerNode)}}function loe(t,n){1&t&&(d(0,"th",75),h(1,"Column"),l())}function doe(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcColName").value," ")}}function uoe(t,n){1&t&&(d(0,"th",75),h(1,"Sort By"),l())}function hoe(t,n){1&t&&(d(0,"p"),h(1,"Desc"),l())}function moe(t,n){1&t&&(d(0,"p"),h(1,"Asc"),l())}function poe(t,n){if(1&t&&(d(0,"td",76),_(1,hoe,2,0,"p",12),_(2,moe,2,0,"p",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("srcDesc").value),m(1),f("ngIf",!1===e.get("srcDesc").value)}}function foe(t,n){1&t&&(d(0,"th",75),h(1,"Column Order"),l())}function goe(t,n){if(1&t&&(d(0,"td",76),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.get("srcOrder").value," ")}}function _oe(t,n){1&t&&(d(0,"th",75),h(1,"Column"),l())}function boe(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spColName").value)}}function voe(t,n){if(1&t&&(d(0,"td",76),_(1,boe,2,1,"p",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spColName").value)}}function yoe(t,n){1&t&&(d(0,"th",75),h(1,"Sort By"),l())}function xoe(t,n){1&t&&(d(0,"p"),h(1,"Desc"),l())}function woe(t,n){1&t&&(d(0,"p"),h(1,"Asc"),l())}function Coe(t,n){if(1&t&&(d(0,"td",76),_(1,xoe,2,0,"p",12),_(2,woe,2,0,"p",12),l()),2&t){const e=n.$implicit;m(1),f("ngIf",e.get("spDesc").value),m(1),f("ngIf",!1===e.get("spDesc").value)}}function Doe(t,n){1&t&&(d(0,"th",75),h(1,"Column Order"),l())}function koe(t,n){if(1&t&&(d(0,"div"),D(1,"input",139),l()),2&t){const e=w().$implicit;m(1),f("formControl",e.get("spOrder"))}}function Soe(t,n){if(1&t&&(d(0,"p"),h(1),l()),2&t){const e=w().$implicit;m(1),Re(e.get("spOrder").value)}}function Moe(t,n){if(1&t&&(d(0,"td",76),_(1,koe,2,1,"div",12),_(2,Soe,2,1,"p",12),l()),2&t){const e=n.$implicit,i=w(3);m(1),f("ngIf",i.isIndexEditMode&&e.get("spColName").value),m(1),f("ngIf",!i.isIndexEditMode)}}function Toe(t,n){1&t&&D(0,"th",75)}function Ioe(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-icon",106),h(2,"more_vert"),l(),d(3,"mat-menu",107,108)(5,"button",109),L("click",function(){ae(e);const o=w().index;return se(w(3).dropIndexKey(o))}),d(6,"span"),h(7,"Drop Index Key"),l()()()()}if(2&t){const e=At(4);m(1),f("matMenuTriggerFor",e)}}function Eoe(t,n){if(1&t&&(d(0,"td",103),_(1,Ioe,8,1,"div",12),l()),2&t){const e=n.$implicit,i=w(3);f("ngClass",ii(2,gf,i.isIndexEditMode)),m(1),f("ngIf",i.isIndexEditMode&&e.get("spColName").value)}}function Ooe(t,n){1&t&&D(0,"tr",79)}function Aoe(t,n){1&t&&D(0,"tr",79)}function Poe(t,n){1&t&&D(0,"tr",140)}function Roe(t,n){if(1&t&&(d(0,"mat-option",97),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function Foe(t,n){if(1&t){const e=_e();d(0,"div",141)(1,"mat-form-field",142)(2,"mat-label"),h(3,"Column Name"),l(),d(4,"mat-select",143),_(5,Roe,2,2,"mat-option",94),l()(),d(6,"mat-form-field",144)(7,"mat-label"),h(8,"Sort By"),l(),d(9,"mat-select",145)(10,"mat-option",146),h(11,"Ascending"),l(),d(12,"mat-option",147),h(13,"Descending"),l()()(),d(14,"button",148),L("click",function(){return ae(e),se(w(3).addIndexKey())}),d(15,"mat-icon"),h(16,"add"),l(),d(17,"span"),h(18," ADD COLUMN"),l()()()}if(2&t){const e=w(3);f("formGroup",e.addIndexKeyForm),m(5),f("ngForOf",e.indexColumnNames),m(9),f("disabled",!e.addIndexKeyForm.valid)}}function Noe(t,n){if(1&t&&(d(0,"div",128)(1,"table",33),xe(2,34),_(3,aoe,2,1,"th",129),we(),xe(4,47),_(5,coe,5,1,"th",63),we(),xe(6,130),_(7,loe,2,0,"th",37),_(8,doe,2,1,"td",38),we(),xe(9,131),_(10,uoe,2,0,"th",41),_(11,poe,3,2,"td",38),we(),xe(12,132),_(13,foe,2,0,"th",37),_(14,goe,2,1,"td",38),we(),xe(15,133),_(16,_oe,2,0,"th",41),_(17,voe,2,1,"td",38),we(),xe(18,134),_(19,yoe,2,0,"th",41),_(20,Coe,3,2,"td",38),we(),xe(21,135),_(22,Doe,2,0,"th",37),_(23,Moe,3,2,"td",38),we(),xe(24,54),_(25,Toe,1,0,"th",41),_(26,Eoe,2,4,"td",55),we(),_(27,Ooe,1,0,"tr",45),_(28,Aoe,1,0,"tr",45),_(29,Poe,1,0,"tr",136),l(),_(30,Foe,19,3,"div",137),l()),2&t){const e=w(2);m(1),f("dataSource",e.spDataSource),m(26),f("matHeaderRowDef",Ko(5,P0)),m(1),f("matHeaderRowDef",e.indexDisplayedColumns),m(1),f("matRowDefColumns",e.indexDisplayedColumns),m(1),f("ngIf",e.isIndexEditMode&&e.indexColumnNames.length>0)}}function Loe(t,n){1&t&&D(0,"mat-divider")}function Boe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).toggleEdit())}),h(1," CANCEL "),l()}}function Voe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",150),L("click",function(){return ae(e),se(w(2).saveColumnTable())}),h(2," SAVE & CONVERT "),l(),_(3,Boe,2,0,"button",151),l()}if(2&t){const e=w(2);m(1),f("disabled",!e.spRowArray.valid),m(2),f("ngIf",e.currentObject.isSpannerNode)}}function joe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).togglePkEdit())}),h(1," CANCEL "),l()}}function zoe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",150),L("click",function(){return ae(e),se(w(2).savePk())}),h(2," SAVE & CONVERT "),l(),_(3,joe,2,0,"button",151),l()}if(2&t){const e=w(2);m(1),f("disabled",!e.pkArray.valid),m(2),f("ngIf",e.currentObject.isSpannerNode)}}function Hoe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).toggleFkEdit())}),h(1," CANCEL "),l()}}function Uoe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",125),L("click",function(){return ae(e),se(w(2).saveFk())}),h(2,"SAVE & CONVERT"),l(),_(3,Hoe,2,0,"button",151),l()}if(2&t){const e=w(2);m(3),f("ngIf",e.currentObject.isSpannerNode)}}function $oe(t,n){if(1&t){const e=_e();d(0,"button",152),L("click",function(){return ae(e),se(w(3).toggleIndexEdit())}),h(1," CANCEL "),l()}}function Goe(t,n){if(1&t){const e=_e();d(0,"div",149)(1,"button",125),L("click",function(){return ae(e),se(w(2).saveIndex())}),h(2,"SAVE & CONVERT"),l(),_(3,$oe,2,0,"button",151),l()}if(2&t){const e=w(2);m(3),f("ngIf",e.currentObject.isSpannerNode)}}function Woe(t,n){if(1&t){const e=_e();d(0,"div",13)(1,"div",3)(2,"span")(3,"h3",4),_(4,Ste,2,0,"mat-icon",14),_(5,Mte,2,0,"svg",15),d(6,"span",16),h(7),l(),_(8,Tte,3,3,"span",12),_(9,Ite,5,0,"button",17),_(10,Ete,5,0,"button",17),_(11,Ote,5,0,"button",17),_(12,Ate,5,0,"button",17),l(),_(13,Pte,4,1,"div",18),l(),d(14,"button",5),L("click",function(){return ae(e),se(w().middleColumnToggle())}),d(15,"mat-icon",6),h(16,"first_page"),l(),d(17,"mat-icon",6),h(18,"last_page"),l()()(),_(19,roe,139,27,"mat-tab-group",19),_(20,Noe,31,6,"div",20),d(21,"div",21),_(22,Loe,1,0,"mat-divider",12),_(23,Voe,4,2,"div",22),_(24,zoe,4,2,"div",22),_(25,Uoe,4,1,"div",22),_(26,Goe,4,1,"div",22),l()()}if(2&t){const e=w();m(4),f("ngIf",e.currentObject.type===e.ObjectExplorerNodeType.Table),m(1),f("ngIf",e.currentObject.type===e.ObjectExplorerNodeType.Index),m(2),Re(" "+e.currentObject.name+" "),m(1),f("ngIf",""!=e.currentObject.parent),m(1),f("ngIf",e.currentObject.isSpannerNode&&!e.currentObject.isDeleted&&"indexName"===e.currentObject.type),m(1),f("ngIf",e.currentObject.isSpannerNode&&e.currentObject.isDeleted&&e.currentObject.type==e.ObjectExplorerNodeType.Index),m(1),f("ngIf",e.currentObject.isSpannerNode&&"indexName"!==e.currentObject.type&&!e.currentObject.isDeleted),m(1),f("ngIf",e.currentObject.isSpannerNode&&e.currentObject.isDeleted&&e.currentObject.type==e.ObjectExplorerNodeType.Table),m(1),f("ngIf",e.interleaveParentName&&e.currentObject.isSpannerNode),m(2),f("ngClass",ii(18,ff,e.isMiddleColumnCollapse?"display":"hidden")),m(2),f("ngClass",ii(20,ff,e.isMiddleColumnCollapse?"hidden":"display")),m(2),f("ngIf","tableName"===e.currentObject.type),m(1),f("ngIf","indexName"===e.currentObject.type),m(2),f("ngIf",e.isEditMode||e.isPkEditMode||e.isFkEditMode),m(1),f("ngIf",e.isEditMode&&0===e.currentTabIndex),m(1),f("ngIf",e.isPkEditMode&&1===e.currentTabIndex),m(1),f("ngIf",e.isFkEditMode&&2===e.currentTabIndex),m(1),f("ngIf",e.isIndexEditMode&&-1===e.currentTabIndex)}}let qoe=(()=>{class t{constructor(e,i,o,r,a,s,c){this.data=e,this.dialog=i,this.snackbar=o,this.conversion=r,this.sidenav=a,this.tableUpdatePubSub=s,this.fb=c,this.currentObject=null,this.typeMap={},this.defaultTypeMap={},this.ddlStmts={},this.fkData=[],this.tableData=[],this.currentDatabase="spanner",this.indexData=[],this.srcDbName=localStorage.getItem($i.SourceDbName),this.updateSidebar=new Ne,this.ObjectExplorerNodeType=oi,this.conv={},this.interleaveParentName=null,this.localTableData=[],this.localIndexData=[],this.isMiddleColumnCollapse=!1,this.isPostgreSQLDialect=!1,this.srcDisplayedColumns=["srcOrder","srcColName","srcDataType","srcColMaxLength","srcIsPk","srcIsNotNull"],this.spDisplayedColumns=["spColName","spDataType","spColMaxLength","spIsPk","spIsNotNull","dropButton"],this.displayedFkColumns=["srcName","srcColumns","srcReferTable","srcReferColumns","spName","spColumns","spReferTable","spReferColumns","dropButton"],this.displayedPkColumns=["srcOrder","srcColName","srcDataType","srcIsPk","srcIsNotNull","spOrder","spColName","spDataType","spIsPk","spIsNotNull","dropButton"],this.indexDisplayedColumns=["srcIndexColName","srcSortBy","srcIndexOrder","spIndexColName","spSortBy","spIndexOrder","dropButton"],this.spDataSource=[],this.srcDataSource=[],this.fkDataSource=[],this.pkDataSource=[],this.pkData=[],this.isPkEditMode=!1,this.isEditMode=!1,this.isFkEditMode=!1,this.isIndexEditMode=!1,this.isObjectSelected=!1,this.srcRowArray=this.fb.array([]),this.spRowArray=this.fb.array([]),this.pkArray=this.fb.array([]),this.fkArray=this.fb.array([]),this.isSpTableSuggesstionDisplay=[],this.spTableSuggestion=[],this.currentTabIndex=0,this.addedColumnName="",this.droppedColumns=[],this.droppedSourceColumns=[],this.pkColumnNames=[],this.indexColumnNames=[],this.shardIdCol="",this.addColumnForm=new ni({columnName:new Q("",[me.required])}),this.addIndexKeyForm=new ni({columnName:new Q("",[me.required]),ascOrDesc:new Q("",[me.required])}),this.addedPkColumnName="",this.addPkColumnForm=new ni({columnName:new Q("",[me.required])}),this.pkObj={},this.dataTypesWithColLen=ln.DataTypes}ngOnInit(){this.data.conv.subscribe({next:e=>{this.conv=e,this.isPostgreSQLDialect="postgresql"===this.conv.SpDialect}})}ngOnChanges(e){this.fkData=e.fkData?.currentValue||this.fkData,this.currentObject=e.currentObject?.currentValue||this.currentObject,this.tableData=e.tableData?.currentValue||this.tableData,this.indexData=e.indexData?.currentValue||this.indexData,this.currentDatabase=e.currentDatabase?.currentValue||this.currentDatabase,this.currentTabIndex=this.currentObject?.type===oi.Table?0:-1,this.isObjectSelected=!!this.currentObject,this.pkData=this.conversion.getPkMapping(this.tableData),this.interleaveParentName=this.getInterleaveParentFromConv(),this.isEditMode=!1,this.isFkEditMode=!1,this.isIndexEditMode=!1,this.isPkEditMode=!1,this.srcRowArray=this.fb.array([]),this.spRowArray=this.fb.array([]),this.droppedColumns=[],this.droppedSourceColumns=[],this.pkColumnNames=[],this.interleaveParentName=this.getInterleaveParentFromConv(),this.localTableData=JSON.parse(JSON.stringify(this.tableData)),this.localIndexData=JSON.parse(JSON.stringify(this.indexData)),this.currentObject?.type===oi.Table?(this.checkIsInterleave(),this.interleaveObj=this.data.tableInterleaveStatus.subscribe(i=>{this.interleaveStatus=i}),this.setSrcTableRows(),this.setSpTableRows(),this.setColumnsToAdd(),this.setAddPkColumnList(),this.setPkOrder(),this.setPkRows(),this.setFkRows(),this.updateSpTableSuggestion(),this.setShardIdColumn()):this.currentObject?.type===oi.Index&&(this.indexOrderValidation(),this.setIndexRows()),this.data.getSummary()}setSpTableRows(){this.spRowArray=this.fb.array([]),this.localTableData.forEach(e=>{if(e.spOrder){let i=new ni({srcOrder:new Q(e.srcOrder),srcColName:new Q(e.srcColName),srcDataType:new Q(e.srcDataType),srcIsPk:new Q(e.srcIsPk),srcIsNotNull:new Q(e.srcIsNotNull),srcColMaxLength:new Q(e.srcColMaxLength),spOrder:new Q(e.srcOrder),spColName:new Q(e.spColName,[me.required,me.pattern("^[a-zA-Z]([a-zA-Z0-9/_]*[a-zA-Z0-9])?")]),spDataType:new Q(e.spDataType),spIsPk:new Q(e.spIsPk),spIsNotNull:new Q(e.spIsNotNull),spId:new Q(e.spId),srcId:new Q(e.srcId),spColMaxLength:new Q(e.spColMaxLength,[me.required])});this.dataTypesWithColLen.indexOf(e.spDataType.toString())>-1?(i.get("spColMaxLength")?.setValidators([me.required,me.pattern("([1-9][0-9]*|MAX)")]),(void 0===e.spColMaxLength||"MAX"!==e.spColMaxLength&&(("STRING"===e.spDataType||"VARCHAR"===e.spDataType)&&"number"==typeof e.spColMaxLength&&e.spColMaxLength>ln.StringMaxLength||"BYTES"===e.spDataType&&"number"==typeof e.spColMaxLength&&e.spColMaxLength>ln.ByteMaxLength))&&i.get("spColMaxLength")?.setValue("MAX")):i.controls.spColMaxLength.clearValidators(),i.controls.spColMaxLength.updateValueAndValidity(),this.spRowArray.push(i)}}),this.spDataSource=this.spRowArray.controls}setSrcTableRows(){this.srcRowArray=this.fb.array([]),this.localTableData.forEach(e=>{this.srcRowArray.push(new ni(""!=e.spColName?{srcOrder:new Q(e.srcOrder),srcColName:new Q(e.srcColName),srcDataType:new Q(e.srcDataType),srcIsPk:new Q(e.srcIsPk),srcIsNotNull:new Q(e.srcIsNotNull),srcColMaxLength:new Q(e.srcColMaxLength),spOrder:new Q(e.spOrder),spColName:new Q(e.spColName),spDataType:new Q(e.spDataType),spIsPk:new Q(e.spIsPk),spIsNotNull:new Q(e.spIsNotNull),spId:new Q(e.spId),srcId:new Q(e.srcId),spColMaxLength:new Q(e.spColMaxLength)}:{srcOrder:new Q(e.srcOrder),srcColName:new Q(e.srcColName),srcDataType:new Q(e.srcDataType),srcIsPk:new Q(e.srcIsPk),srcIsNotNull:new Q(e.srcIsNotNull),srcColMaxLength:new Q(e.srcColMaxLength),spOrder:new Q(e.srcOrder),spColName:new Q(e.srcColName),spDataType:new Q(this.defaultTypeMap[e.srcDataType].Name),spIsPk:new Q(e.srcIsPk),spIsNotNull:new Q(e.srcIsNotNull),spColMaxLength:new Q(e.srcColMaxLength)}))}),this.srcDataSource=this.srcRowArray.controls}setColumnsToAdd(){this.localTableData.forEach(e=>{e.spColName||this.srcRowArray.value.forEach(i=>{e.srcColName==i.srcColName&&""!=i.srcColName&&(this.droppedColumns.push(i),this.droppedSourceColumns.push(i.srcColName))})})}toggleEdit(){this.currentTabIndex=0,this.isEditMode?(this.localTableData=JSON.parse(JSON.stringify(this.tableData)),this.setSpTableRows(),this.isEditMode=!1):this.isEditMode=!0}saveColumnTable(){this.isEditMode=!1;let i,e={UpdateCols:{}};this.conversion.pgSQLToStandardTypeTypeMap.subscribe(o=>{i=o}),this.spRowArray.value.forEach((o,r)=>{for(let a=0;aln.StringMaxLength||"BYTES"===o.spDataType&&"number"==typeof o.spColMaxLength&&o.spColMaxLength>ln.ByteMaxLength)&&(o.spColMaxLength="MAX"),"number"==typeof o.spColMaxLength&&(o.spColMaxLength=o.spColMaxLength.toString()),"STRING"!=o.spDataType&&"BYTES"!=o.spDataType&&"VARCHAR"!=o.spDataType&&(o.spColMaxLength=""),o.srcId==this.tableData[a].srcId&&""!=this.tableData[a].srcId){e.UpdateCols[this.tableData[a].srcId]={Add:""==this.tableData[a].spId,Rename:s.spColName!==o.spColName?o.spColName:"",NotNull:o.spIsNotNull?"ADDED":"REMOVED",Removed:!1,ToType:"postgresql"===this.conv.SpDialect?void 0===c?o.spDataType:c:o.spDataType,MaxColLength:o.spColMaxLength};break}o.spId==this.tableData[a].spId&&(e.UpdateCols[this.tableData[a].spId]={Add:""==this.tableData[a].spId,Rename:s.spColName!==o.spColName?o.spColName:"",NotNull:o.spIsNotNull?"ADDED":"REMOVED",Removed:!1,ToType:"postgresql"===this.conv.SpDialect?void 0===c?o.spDataType:c:o.spDataType,MaxColLength:o.spColMaxLength})}}),this.droppedColumns.forEach(o=>{e.UpdateCols[o.spId]={Add:!1,Rename:"",NotNull:"",Removed:!0,ToType:"",MaxColLength:""}}),this.data.reviewTableUpdate(this.currentObject.id,e).subscribe({next:o=>{""==o?(this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("reviewChanges"),this.tableUpdatePubSub.setTableUpdateDetail({tableName:this.currentObject.name,tableId:this.currentObject.id,updateDetail:e}),this.isEditMode=!0):(this.dialog.open(Co,{data:{message:o,type:"error"},maxWidth:"500px"}),this.isEditMode=!0)}})}addNewColumn(){this.dialog.open(wte,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{dialect:this.conv.SpDialect,tableId:this.currentObject?.id}})}setColumn(e){this.addedColumnName=e}restoreColumn(){let e=this.tableData.map(r=>r.srcColName).indexOf(this.addedColumnName),i=this.droppedColumns.map(r=>r.srcColName).indexOf(this.addedColumnName);this.localTableData[e].spColName=this.droppedColumns[i].spColName,this.localTableData[e].spDataType=this.droppedColumns[i].spDataType,this.localTableData[e].spOrder=-1,this.localTableData[e].spIsPk=this.droppedColumns[i].spIsPk,this.localTableData[e].spIsNotNull=this.droppedColumns[i].spIsNotNull,this.localTableData[e].spColMaxLength=this.droppedColumns[i].spColMaxLength;let o=this.droppedColumns.map(r=>r.spColName).indexOf(this.addedColumnName);o>-1&&(this.droppedColumns.splice(o,1),this.droppedSourceColumns.indexOf(this.addedColumnName)>-1&&this.droppedSourceColumns.splice(this.droppedSourceColumns.indexOf(this.addedColumnName),1)),this.setSpTableRows()}dropColumn(e){let i=e.get("srcColName").value,o=e.get("srcId").value,r=e.get("spId").value,a=""!=o?o:r,s=e.get("spColName").value,c=this.getAssociatedIndexs(a);if(this.checkIfPkColumn(a)||0!=c.length){let u="",p="",b="";this.checkIfPkColumn(a)&&(u=" Primary key"),0!=c.length&&(p=` Index ${c}`),""!=u&&""!=p&&(b=" and"),this.dialog.open(Co,{data:{message:`Column ${s} is a part of${u}${b}${p}. Remove the dependencies from respective tabs before dropping the Column. `,type:"error"},maxWidth:"500px"})}else this.spRowArray.value.forEach((u,p)=>{u.spId===r&&this.droppedColumns.push(u)}),this.dropColumnFromUI(r),""!==i&&this.droppedSourceColumns.push(i)}checkIfPkColumn(e){let i=!1;return null!=this.conv.SpSchema[this.currentObject.id].PrimaryKeys&&this.conv.SpSchema[this.currentObject.id].PrimaryKeys.map(o=>o.ColId).includes(e)&&(i=!0),i}setShardIdColumn(){void 0!==this.conv.SpSchema[this.currentObject.id]&&(this.shardIdCol=this.conv.SpSchema[this.currentObject.id].ShardIdColumn)}getAssociatedIndexs(e){let i=[];return null!=this.conv.SpSchema[this.currentObject.id].Indexes&&this.conv.SpSchema[this.currentObject.id].Indexes.forEach(o=>{o.Keys.map(r=>r.ColId).includes(e)&&i.push(o.Name)}),i}dropColumnFromUI(e){this.localTableData.forEach((i,o)=>{i.spId==e&&(i.spColName="",i.spDataType="",i.spIsNotNull=!1,i.spIsPk=!1,i.spOrder="",i.spColMaxLength="")}),this.setSpTableRows()}updateSpTableSuggestion(){this.isSpTableSuggesstionDisplay=[],this.spTableSuggestion=[],this.localTableData.forEach(e=>{const i=e.srcDataType,o=e.spDataType;let r="";this.typeMap[i]?.forEach(a=>{o==a.DiplayT&&(r=a.Brief)}),this.isSpTableSuggesstionDisplay.push(""!==r),this.spTableSuggestion.push(r)})}spTableEditSuggestionHandler(e,i){let r="";this.typeMap[this.localTableData[e].srcDataType].forEach(a=>{i==a.T&&(r=a.Brief)}),this.isSpTableSuggesstionDisplay[e]=""!==r,this.spTableSuggestion[e]=r}setPkRows(){this.pkArray=this.fb.array([]),this.pkOrderValidation();var e=new Array,i=new Array;this.pkData.forEach(o=>{o.srcIsPk&&e.push({srcColName:o.srcColName,srcDataType:o.srcDataType,srcIsNotNull:o.srcIsNotNull,srcIsPk:o.srcIsPk,srcOrder:o.srcOrder,srcId:o.srcId}),o.spIsPk&&i.push({spColName:o.spColName,spDataType:o.spDataType,spIsNotNull:o.spIsNotNull,spIsPk:o.spIsPk,spOrder:o.spOrder,spId:o.spId})}),i.sort((o,r)=>o.spOrder-r.spOrder);for(let o=0;oMath.min(e.length,i.length))for(let o=Math.min(e.length,i.length);oMath.min(e.length,i.length))for(let o=Math.min(e.length,i.length);or.spColName).indexOf(this.addedPkColumnName),i=this.localTableData[e],o=1;this.localTableData[e].spIsPk=!0,this.pkData=[],this.pkData=this.conversion.getPkMapping(this.localTableData),e=this.pkData.findIndex(r=>r.srcId===i.srcId||r.spId==i.spId),this.pkArray.value.forEach(r=>{r.spIsPk&&(o+=1);for(let a=0;a{i.spIsPk&&e.push(i.spColName)});for(let i=0;i{if(this.pkData[i].spId===this.conv.SpSchema[this.currentObject.id].PrimaryKeys[i].ColId)this.pkData[i].spOrder=this.conv.SpSchema[this.currentObject.id].PrimaryKeys[i].Order;else{let o=this.conv.SpSchema[this.currentObject.id].PrimaryKeys.map(r=>r.ColId).indexOf(e.spId);e.spOrder=this.conv.SpSchema[this.currentObject.id].PrimaryKeys[o]?.Order}}:(e,i)=>{let o=this.conv.SpSchema[this.currentObject.id]?.PrimaryKeys.map(r=>r.ColId).indexOf(e.spId);-1!==o&&(e.spOrder=this.conv.SpSchema[this.currentObject.id]?.PrimaryKeys[o].Order)})}pkOrderValidation(){let e=this.pkData.filter(i=>i.spIsPk).map(i=>Number(i.spOrder));if(e.sort((i,o)=>i-o),e[e.length-1]>e.length&&e.forEach((i,o)=>{this.pkData.forEach(r=>{r.spOrder==i&&(r.spOrder=o+1)})}),0==e[0]&&e[e.length-1]<=e.length){let i;for(let o=0;o{"number"==typeof o.spOrder&&o.spOrder{o.spIsPk&&i.push({ColId:o.spId,Desc:typeof this.conv.SpSchema[this.currentObject.id].PrimaryKeys.find(({ColId:r})=>r===o.spId)<"u"&&this.conv.SpSchema[this.currentObject.id].PrimaryKeys.find(({ColId:r})=>r===o.spId).Desc,Order:parseInt(o.spOrder)})}),this.pkObj.TableId=e,this.pkObj.Columns=i}togglePkEdit(){this.currentTabIndex=1,this.isPkEditMode?(this.localTableData=JSON.parse(JSON.stringify(this.tableData)),this.pkData=this.conversion.getPkMapping(this.tableData),this.setAddPkColumnList(),this.setPkOrder(),this.setPkRows(),this.isPkEditMode=!1):this.isPkEditMode=!0}savePk(){if(this.pkArray.value.forEach(e=>{for(let i=0;i{o&&this.data.removeInterleave(""!=this.conv.SpSchema[this.currentObject.id].ParentId?this.currentObject.id:this.conv.SpSchema[e].Id).pipe(Pt(1)).subscribe(a=>{this.updatePk()})}):this.updatePk()}}updatePk(){this.isPkEditMode=!1,this.data.updatePk(this.pkObj).subscribe({next:e=>{""==e?this.isEditMode=!1:(this.dialog.open(Co,{data:{message:e,type:"error"},maxWidth:"500px"}),this.isPkEditMode=!0)}})}dropPk(e){let i=this.localTableData.map(a=>a.spColName).indexOf(e.value.spColName);this.localTableData[i].spId==(this.conv.SyntheticPKeys[this.currentObject.id]?this.conv.SyntheticPKeys[this.currentObject.id].ColId:"")?this.dialog.open(Co,{data:{message:"Removing this synthetic id column from primary key will drop the column from the table",title:"Confirm removal of synthetic id",type:"warning"},maxWidth:"500px"}).afterClosed().subscribe(s=>{s&&this.dropPkHelper(i,e.value.spOrder)}):this.dropPkHelper(i,e.value.spOrder)}dropPkHelper(e,i){this.localTableData[e].spIsPk=!1,this.pkData=[],this.pkData=this.conversion.getPkMapping(this.localTableData),this.pkArray.value.forEach(o=>{for(let r=0;r{"number"==typeof o.spOrder&&o.spOrder>i&&(o.spOrder=Number(o.spOrder)-1)}),this.setAddPkColumnList(),this.setPkRows()}setFkRows(){this.fkArray=this.fb.array([]);var e=new Array,i=new Array;this.fkData.forEach(o=>{e.push({srcName:o.srcName,srcColumns:o.srcColumns,srcRefTable:o.srcReferTable,srcRefColumns:o.srcReferColumns,Id:o.srcFkId}),""!=o.spName&&i.push({spName:o.spName,spColumns:o.spColumns,spRefTable:o.spReferTable,spRefColumns:o.spReferColumns,Id:o.spFkId,spColIds:o.spColIds,spReferColumnIds:o.spReferColumnIds,spReferTableId:o.spReferTableId})});for(let o=0;oMath.min(e.length,i.length))for(let o=Math.min(e.length,i.length);o{e.push({Name:i.spName,ColIds:i.spColIds,ReferTableId:i.spReferTableId,ReferColumnIds:i.spReferColumnIds,Id:i.spFkId})}),this.data.updateFkNames(this.currentObject.id,e).subscribe({next:i=>{""==i?this.isFkEditMode=!1:this.dialog.open(Co,{data:{message:i,type:"error"},maxWidth:"500px"})}})}dropFk(e){this.fkData.forEach(i=>{i.spName==e.get("spName").value&&(i.spName="",i.spColumns=[],i.spReferTable="",i.spReferColumns=[],i.spColIds=[],i.spReferColumnIds=[],i.spReferTableId="")}),this.setFkRows()}getRemovedFkIndex(e){let i=-1;return this.fkArray.value.forEach((o,r)=>{o.spName===e.get("spName").value&&(i=r)}),i}removeInterleave(){this.data.removeInterleave(this.currentObject.id).pipe(Pt(1)).subscribe(i=>{""===i&&this.snackbar.openSnackBar("Interleave removed and foreign key restored successfully","Close",5)})}checkIsInterleave(){this.currentObject&&!this.currentObject?.isDeleted&&this.currentObject?.isSpannerNode&&this.data.getInterleaveConversionForATable(this.currentObject.id)}setInterleave(){this.data.setInterleave(this.currentObject.id)}getInterleaveParentFromConv(){return this.currentObject?.type===oi.Table&&this.currentObject.isSpannerNode&&!this.currentObject.isDeleted&&""!=this.conv.SpSchema[this.currentObject.id].ParentId?this.conv.SpSchema[this.conv.SpSchema[this.currentObject.id].ParentId]?.Name:null}setIndexRows(){this.spRowArray=this.fb.array([]);const e=this.localIndexData.map(i=>i.spColName?i.spColName:"").filter(i=>""!=i);this.indexColumnNames=this.conv.SpSchema[this.currentObject.parentId]?.ColIds?.filter(i=>!e.includes(this.conv.SpSchema[this.currentObject.parentId]?.ColDefs[i]?.Name)).map(i=>this.conv.SpSchema[this.currentObject.parentId]?.ColDefs[i]?.Name),this.localIndexData.forEach(i=>{this.spRowArray.push(new ni({srcOrder:new Q(i.srcOrder),srcColName:new Q(i.srcColName),srcDesc:new Q(i.srcDesc),spOrder:new Q(i.spOrder),spColName:new Q(i.spColName,[me.required,me.pattern("^[a-zA-Z]([a-zA-Z0-9/_]*[a-zA-Z0-9])?")]),spDesc:new Q(i.spDesc)}))}),this.spDataSource=this.spRowArray.controls}setIndexOrder(){this.spRowArray.value.forEach(e=>{for(let i=0;i""!=i.spColName).map(i=>Number(i.spOrder));if(e.sort((i,o)=>i-o),e[e.length-1]>e.length&&e.forEach((i,o)=>{this.localIndexData.forEach(r=>{""!=r.spColName&&r.spOrder==i&&(r.spOrder=o+1)})}),0==e[0]&&e[e.length-1]<=e.length){let i;for(let o=0;o{o.spOrder!!i.spColId).map(i=>({ColId:i.spColId,Desc:i.spDesc,Order:i.spOrder})),Id:this.currentObject.id}),0==e[0].Keys.length?this.dropIndex():(this.data.updateIndex(this.currentObject?.parentId,e).subscribe({next:i=>{""==i?this.isEditMode=!1:(this.dialog.open(Co,{data:{message:i,type:"error"},maxWidth:"500px"}),this.isIndexEditMode=!0)}}),this.addIndexKeyForm.controls.columnName.setValue(""),this.addIndexKeyForm.controls.ascOrDesc.setValue(""),this.addIndexKeyForm.markAsUntouched(),this.data.getSummary(),this.isIndexEditMode=!1)}dropIndex(){this.dialog.open(HA,{width:"35vw",minWidth:"450px",maxWidth:"600px",data:{name:this.currentObject?.name,type:gl.Index}}).afterClosed().subscribe(i=>{i===gl.Index&&(this.data.dropIndex(this.currentObject.parentId,this.currentObject.id).pipe(Pt(1)).subscribe(o=>{""===o&&(this.isObjectSelected=!1,this.updateSidebar.emit(!0))}),this.currentObject=null)})}restoreIndex(){this.data.restoreIndex(this.currentObject.parentId,this.currentObject.id).pipe(Pt(1)).subscribe(o=>{""===o&&(this.isObjectSelected=!1)}),this.currentObject=null}dropIndexKey(e){this.localIndexData[e].srcColName?(this.localIndexData[e].spColName="",this.localIndexData[e].spColId="",this.localIndexData[e].spDesc="",this.localIndexData[e].spOrder=""):this.localIndexData.splice(e,1),this.setIndexRows()}addIndexKey(){let e=0;this.localIndexData.forEach(i=>{i.spColName&&(e+=1)}),this.localIndexData.push({spColName:this.addIndexKeyForm.value.columnName,spDesc:"desc"===this.addIndexKeyForm.value.ascOrDesc,spOrder:e+1,srcColName:"",srcDesc:void 0,srcOrder:"",srcColId:void 0,spColId:this.currentObject?this.conversion.getColIdFromSpannerColName(this.addIndexKeyForm.value.columnName,this.currentObject.parentId,this.conv):""}),this.setIndexRows()}restoreSpannerTable(){this.data.restoreTable(this.currentObject.id).pipe(Pt(1)).subscribe(e=>{""===e&&(this.isObjectSelected=!1),this.data.getConversionRate(),this.data.getDdl()}),this.currentObject=null}dropTable(){this.dialog.open(HA,{width:"35vw",minWidth:"450px",maxWidth:"600px",data:{name:this.currentObject?.name,type:gl.Table}}).afterClosed().subscribe(i=>{i===gl.Table&&(this.data.dropTable(this.currentObject.id).pipe(Pt(1)).subscribe(r=>{""===r&&(this.isObjectSelected=!1,this.data.getConversionRate(),this.updateSidebar.emit(!0))}),this.currentObject=null)})}tabChanged(e){this.currentTabIndex=e.index}middleColumnToggle(){this.isMiddleColumnCollapse=!this.isMiddleColumnCollapse,this.sidenav.setMiddleColComponent(this.isMiddleColumnCollapse)}tableInterleaveWith(e){if(""!=this.conv.SpSchema[e].ParentId)return this.conv.SpSchema[e].ParentId;let i="";return Object.keys(this.conv.SpSchema).forEach(o=>{""!=this.conv.SpSchema[o].ParentId&&this.conv.SpSchema[o].ParentId==e&&(i=o)}),i}isPKPrefixModified(e,i){let o,r;this.conv.SpSchema[e].ParentId!=i?(o=this.pkObj.Columns,r=this.conv.SpSchema[i].PrimaryKeys):(r=this.pkObj.Columns,o=this.conv.SpSchema[i].PrimaryKeys);for(let a=0;a{class t{constructor(e,i){this.sidenavService=e,this.data=i,this.dataSource=[],this.currentDataSource=[],this.displayedColumns=["order","name","type","objectType","associatedObject","enabled","view"],this.currentObject=null,this.lengthOfRules=new Ne}ngOnInit(){this.dataSource=[],this.data.rule.subscribe({next:e=>{this.currentDataSource=e,this.updateRules()}})}ngOnChanges(){this.updateRules()}updateRules(){if(this.currentDataSource){let e=[],i=[];e=this.currentDataSource.filter(o=>"global_datatype_change"===o?.Type||"add_shard_id_primary_key"===o?.Type||"edit_column_max_length"===o?.Type&&"All table"===o?.AssociatedObjects),this.currentObject&&("tableName"===this.currentObject?.type||"indexName"===this.currentObject?.type)&&(i=this.currentDataSource.filter(o=>o?.AssociatedObjects===this.currentObject?.id||o?.AssociatedObjects===this.currentObject?.parentId||o?.AssociatedObjects===this.currentObject?.name||o?.AssociatedObjects===this.currentObject?.parent).map(o=>{let r="";return"tableName"===this.currentObject?.type?r=this.currentObject.name:"indexName"===this.currentObject?.type&&(r=this.currentObject.parent),o.AssociatedObjects=r,o})),this.dataSource=[...e,...i],this.lengthOfRules.emit(this.dataSource.length)}else this.dataSource=[],this.lengthOfRules.emit(0)}openSidenav(){this.sidenavService.openSidenav(),this.sidenavService.setSidenavComponent("rule"),this.sidenavService.setSidenavRuleType(""),this.sidenavService.setRuleData({}),this.sidenavService.setDisplayRuleFlag(!1)}viewSidenavRule(e){let i=[];for(let o=0;o{class t{constructor(e,i,o,r,a,s,c){this.data=e,this.conversion=i,this.dialog=o,this.sidenav=r,this.router=a,this.clickEvent=s,this.fetch=c,this.fkData=[],this.tableData=[],this.indexData=[],this.typeMap=!1,this.defaultTypeMap=!1,this.conversionRates={},this.isLeftColumnCollapse=!1,this.isRightColumnCollapse=!0,this.isMiddleColumnCollapse=!0,this.isOfflineStatus=!1,this.spannerTree=[],this.srcTree=[],this.issuesAndSuggestionsLabel="ISSUES AND SUGGESTIONS",this.rulesLabel="RULES (0)",this.objectExplorerInitiallyRender=!1,this.srcDbName=localStorage.getItem($i.SourceDbName),this.conversionRateCount={good:0,ok:0,bad:0},this.conversionRatePercentages={good:0,ok:0,bad:0},this.currentDatabase="spanner",this.dialect="",this.currentObject=null}ngOnInit(){this.conversion.getStandardTypeToPGSQLTypemap(),this.conversion.getPGSQLToStandardTypeTypemap(),this.ddlsumconvObj=this.data.getRateTypemapAndSummary(),this.typemapObj=this.data.typeMap.subscribe(e=>{this.typeMap=e}),this.defaultTypemapObj=this.data.defaultTypeMap.subscribe(e=>{this.defaultTypeMap=e}),this.ddlObj=this.data.ddl.subscribe(e=>{this.ddlStmts=e}),this.sidenav.setMiddleColumnComponent.subscribe(e=>{this.isMiddleColumnCollapse=!e}),this.convObj=this.data.conv.subscribe(e=>{Object.keys(e.SrcSchema).length<=0&&this.router.navigate(["/"]);const i=this.isIndexAddedOrRemoved(e);e&&this.conv&&Object.keys(e?.SpSchema).length!=Object.keys(this.conv?.SpSchema).length&&(this.conv=e,this.reRenderObjectExplorerSpanner(),this.reRenderObjectExplorerSrc()),this.conv=e,this.conv.DatabaseType&&(this.srcDbName=mf(this.conv.DatabaseType)),i&&this.conversionRates&&this.reRenderObjectExplorerSpanner(),!this.objectExplorerInitiallyRender&&this.conversionRates&&(this.reRenderObjectExplorerSpanner(),this.reRenderObjectExplorerSrc(),this.objectExplorerInitiallyRender=!0),this.currentObject&&this.currentObject.type===oi.Table&&(this.fkData=this.currentObject?this.conversion.getFkMapping(this.currentObject.id,e):[],this.tableData=this.currentObject?this.conversion.getColumnMapping(this.currentObject.id,e):[]),this.currentObject&&this.currentObject?.type===oi.Index&&!i&&(this.indexData=this.conversion.getIndexMapping(this.currentObject.parentId,this.conv,this.currentObject.id)),this.dialect="postgresql"===this.conv.SpDialect?"PostgreSQL":"Google Standard SQL"}),this.converObj=this.data.conversionRate.subscribe(e=>{this.conversionRates=e,this.updateConversionRatePercentages(),this.conv?(this.reRenderObjectExplorerSpanner(),this.reRenderObjectExplorerSrc(),this.objectExplorerInitiallyRender=!0):this.objectExplorerInitiallyRender=!1}),this.data.isOffline.subscribe({next:e=>{this.isOfflineStatus=e}})}ngOnDestroy(){this.typemapObj.unsubscribe(),this.convObj.unsubscribe(),this.ddlObj.unsubscribe(),this.ddlsumconvObj.unsubscribe()}updateConversionRatePercentages(){let e=Object.keys(this.conversionRates).length;this.conversionRateCount={good:0,ok:0,bad:0},this.conversionRatePercentages={good:0,ok:0,bad:0};for(const i in this.conversionRates)"NONE"===this.conversionRates[i]||"EXCELLENT"===this.conversionRates[i]?this.conversionRateCount.good+=1:"GOOD"===this.conversionRates[i]||"OK"===this.conversionRates[i]?this.conversionRateCount.ok+=1:this.conversionRateCount.bad+=1;if(e>0)for(let i in this.conversionRatePercentages)this.conversionRatePercentages[i]=Number((this.conversionRateCount[i]/e*100).toFixed(2))}reRenderObjectExplorerSpanner(){this.spannerTree=this.conversion.createTreeNode(this.conv,this.conversionRates)}reRenderObjectExplorerSrc(){this.srcTree=this.conversion.createTreeNodeForSource(this.conv,this.conversionRates)}reRenderSidebar(){this.reRenderObjectExplorerSpanner()}changeCurrentObject(e){e?.type===oi.Table?(this.currentObject=e,this.tableData=this.currentObject?this.conversion.getColumnMapping(this.currentObject.id,this.conv):[],this.fkData=[],this.fkData=this.currentObject?this.conversion.getFkMapping(this.currentObject.id,this.conv):[]):e?.type===oi.Index?(this.currentObject=e,this.indexData=this.conversion.getIndexMapping(e.parentId,this.conv,e.id)):this.currentObject=null}changeCurrentDatabase(e){this.currentDatabase=e}updateIssuesLabel(e){setTimeout(()=>{this.issuesAndSuggestionsLabel=`ISSUES AND SUGGESTIONS (${e})`})}updateRulesLabel(e){setTimeout(()=>{this.rulesLabel=`RULES (${e})`})}leftColumnToggle(){this.isLeftColumnCollapse=!this.isLeftColumnCollapse}middleColumnToggle(){this.isMiddleColumnCollapse=!this.isMiddleColumnCollapse}rightColumnToggle(){this.isRightColumnCollapse=!this.isRightColumnCollapse}openAssessment(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("assessment");let e="";if(localStorage.getItem($i.Type)==An.DirectConnect){let r=JSON.parse(localStorage.getItem($i.Config));e=r?.hostName+" : "+r?.port}else e=this.conv.DatabaseName;this.clickEvent.setViewAssesmentData({srcDbType:this.srcDbName,connectionDetail:e,conversionRates:this.conversionRateCount})}openSaveSessionSidenav(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("saveSession"),this.sidenav.setSidenavDatabaseName(this.conv.DatabaseName)}downloadSession(){RA(this.conv)}downloadArtifacts(){let e=new BA,i=`${this.conv.DatabaseName}`;this.fetch.getDStructuredReport().subscribe({next:o=>{let r=JSON.stringify(o).replace(/9223372036854776000/g,"9223372036854775807");e.file(i+"_migration_structuredReport.json",r),this.fetch.getDTextReport().subscribe({next:s=>{e.file(i+"_migration_textReport.txt",s),this.fetch.getDSpannerDDL().subscribe({next:c=>{e.file(i+"_spannerDDL.txt",c);let u=JSON.stringify(this.conv).replace(/9223372036854776000/g,"9223372036854775807");e.file(`${this.conv.SessionName}_${this.conv.DatabaseType}_${i}.json`,u),e.generateAsync({type:"blob"}).then(b=>{var y=document.createElement("a");y.href=URL.createObjectURL(b),y.download=`${i}_artifacts`,y.click()})}})}})}})}downloadStructuredReport(){var e=document.createElement("a");this.fetch.getDStructuredReport().subscribe({next:i=>{let o=JSON.stringify(i).replace(/9223372036854776000/g,"9223372036854775807");e.href="data:text/json;charset=utf-8,"+encodeURIComponent(o),e.download=`${this.conv.DatabaseName}_migration_structuredReport.json`,e.click()}})}downloadTextReport(){var e=document.createElement("a");this.fetch.getDTextReport().subscribe({next:i=>{e.href="data:text;charset=utf-8,"+encodeURIComponent(i),e.download=`${this.conv.DatabaseName}_migration_textReport.txt`,e.click()}})}downloadDDL(){var e=document.createElement("a");this.fetch.getDSpannerDDL().subscribe({next:i=>{e.href="data:text;charset=utf-8,"+encodeURIComponent(i),e.download=`${this.conv.DatabaseName}_spannerDDL.txt`,e.click()}})}updateSpannerTable(e){this.spannerTree=this.conversion.createTreeNode(this.conv,this.conversionRates,e.text,e.order)}updateSrcTable(e){this.srcTree=this.conversion.createTreeNodeForSource(this.conv,this.conversionRates,e.text,e.order)}isIndexAddedOrRemoved(e){if(this.conv){let i=0,o=0;return Object.entries(this.conv.SpSchema).forEach(r=>{i+=r[1].Indexes?r[1].Indexes.length:0}),Object.entries(e.SpSchema).forEach(r=>{o+=r[1].Indexes?r[1].Indexes.length:0}),i!==o}return!1}prepareMigration(){this.fetch.getTableWithErrors().subscribe({next:e=>{if(null!=e&&0!=e.length){console.log(e.map(o=>o.Name).join(", "));let i="Please fix the errors for the following tables to move ahead: "+e.map(o=>o.Name).join(", ");this.dialog.open(Co,{data:{message:i,type:"error",title:"Error in Spanner Draft"},maxWidth:"500px"})}else this.isOfflineStatus?this.dialog.open(Co,{data:{message:"Please configure spanner project id and instance id to proceed",type:"error",title:"Configure Spanner"},maxWidth:"500px"}):0==Object.keys(this.conv.SpSchema).length?this.dialog.open(Co,{data:{message:"Please restore some table(s) to proceed with the migration",type:"error",title:"All tables skipped"},maxWidth:"500px"}):this.router.navigate(["/prepare-migration"])}})}spannerTab(){this.clickEvent.setTabToSpanner()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(Rs),g(br),g(Pn),g(cn),g(jo),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-workspace"]],decls:57,vars:59,consts:[[1,"header"],[1,"breadcrumb","vertical-center"],["mat-button","",1,"breadcrumb_source",3,"routerLink"],["mat-button","",1,"breadcrumb_workspace",3,"routerLink"],[1,"header_action"],["matTooltip","Connect to a spanner instance to run migration",3,"matTooltipDisabled"],["mat-button","",3,"click"],["mat-button","",3,"click",4,"ngIf"],[1,"artifactsButtons"],["mat-raised-button","","color","primary",1,"split-button-left",3,"click"],["mat-raised-button","","color","primary",1,"split-button-right",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","More options"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"click"],[1,"container"],[1,"summary"],[1,"spanner-tab-link",3,"click"],[1,"columns"],[1,"column-left",3,"ngClass"],[3,"spannerTree","srcTree","srcDbName","selectedDatabase","selectObject","updateSpannerTable","updateSrcTable","leftCollaspe","middleCollapse"],[1,"column-middle",3,"ngClass"],[3,"currentObject","tableData","indexData","typeMap","ddlStmts","fkData","currentDatabase","defaultTypeMap","updateSidebar"],[1,"column-right",3,"ngClass"],[3,"ngClass","label"],[3,"currentObject","changeIssuesLabel"],[3,"currentObject","lengthOfRules"],["id","right-column-toggle-button",3,"click"],[3,"ngClass"]],template:function(i,o){if(1&i&&(d(0,"div")(1,"div",0)(2,"div",1)(3,"a",2),h(4,"Select Source"),l(),d(5,"span"),h(6,">"),l(),d(7,"a",3)(8,"b"),h(9),l()()(),d(10,"div",4)(11,"span",5)(12,"button",6),L("click",function(){return o.prepareMigration()}),h(13," PREPARE MIGRATION "),l()(),d(14,"button",6),L("click",function(){return o.openAssessment()}),h(15,"VIEW ASSESSMENT"),l(),_(16,gre,2,0,"button",7),d(17,"span",8)(18,"button",9),L("click",function(){return o.downloadArtifacts()}),h(19," DOWNLOAD ARTIFACTS "),l(),d(20,"button",10)(21,"mat-icon",11),h(22,"expand_more"),l()(),d(23,"mat-menu",12,13)(25,"button",14),L("click",function(){return o.downloadTextReport()}),h(26,"Download Text Report"),l(),d(27,"button",14),L("click",function(){return o.downloadStructuredReport()}),h(28,"Download Structured Report"),l(),d(29,"button",14),L("click",function(){return o.downloadSession()}),h(30,"Download Session File"),l(),d(31,"button",14),L("click",function(){return o.downloadDDL()}),h(32,"Download Spanner DDL"),l()()()()(),d(33,"div",15)(34,"div",16),h(35),D(36,"br"),h(37," To make schema changes go to "),d(38,"a",17),L("click",function(){return o.spannerTab()}),h(39,"Spanner Draft"),l(),h(40," pane. "),l()(),d(41,"div",18)(42,"div",19)(43,"app-object-explorer",20),L("selectedDatabase",function(a){return o.changeCurrentDatabase(a)})("selectObject",function(a){return o.changeCurrentObject(a)})("updateSpannerTable",function(a){return o.updateSpannerTable(a)})("updateSrcTable",function(a){return o.updateSrcTable(a)})("leftCollaspe",function(){return o.leftColumnToggle()})("middleCollapse",function(){return o.middleColumnToggle()}),l()(),d(44,"div",21)(45,"app-object-detail",22),L("updateSidebar",function(){return o.reRenderSidebar()}),l()(),d(46,"div",23)(47,"mat-tab-group")(48,"mat-tab",24)(49,"app-summary",25),L("changeIssuesLabel",function(a){return o.updateIssuesLabel(a)}),l()(),d(50,"mat-tab",24)(51,"app-rule",26),L("lengthOfRules",function(a){return o.updateRulesLabel(a)}),l()()(),d(52,"button",27),L("click",function(){return o.rightColumnToggle()}),d(53,"mat-icon",28),h(54,"first_page"),l(),d(55,"mat-icon",28),h(56,"last_page"),l()()()()()),2&i){const r=At(24);m(3),f("routerLink","/"),m(4),f("routerLink","/workspace"),m(2),Se("Configure Schema (",o.dialect," Dialect)"),m(2),f("matTooltipDisabled",!o.isOfflineStatus),m(5),f("ngIf",!o.isOfflineStatus),m(4),f("matMenuTriggerFor",r),m(15),A_(" Estimation for ",o.srcDbName.toUpperCase()," to Spanner conversion: ",o.conversionRatePercentages.good,"% of tables can be converted automatically, ",o.conversionRatePercentages.ok,"% requires minimal conversion changes and ",o.conversionRatePercentages.bad,"% requires high complexity conversion changes. "),m(7),f("ngClass",ii(32,Du,o.isLeftColumnCollapse?"left-column-collapse":"left-column-expand")),m(1),f("spannerTree",o.spannerTree)("srcTree",o.srcTree)("srcDbName",o.srcDbName),m(1),f("ngClass",function gk(t,n,e,i,o,r,a,s){const c=Ln()+t,u=Ce(),p=Ao(u,c,e,i,o,r);return Sn(u,c+4,a)||p?ur(u,c+5,s?n.call(s,e,i,o,r,a):n(e,i,o,r,a)):od(u,c+5)}(34,_re,o.isLeftColumnCollapse,!o.isLeftColumnCollapse,!o.isMiddleColumnCollapse,o.isRightColumnCollapse,!o.isRightColumnCollapse)),m(1),f("currentObject",o.currentObject)("tableData",o.tableData)("indexData",o.indexData)("typeMap",o.typeMap)("ddlStmts",o.ddlStmts)("fkData",o.fkData)("currentDatabase",o.currentDatabase)("defaultTypeMap",o.defaultTypeMap),m(1),f("ngClass",function _k(t,n,e,i,o,r,a,s,c){const u=Ln()+t,p=Ce(),b=Ao(p,u,e,i,o,r);return ds(p,u+4,a,s)||b?ur(p,u+6,c?n.call(c,e,i,o,r,a,s):n(e,i,o,r,a,s)):od(p,u+6)}(40,bre,!o.isRightColumnCollapse&&!o.isLeftColumnCollapse,!o.isRightColumnCollapse&&o.isLeftColumnCollapse,o.isRightColumnCollapse,!o.isMiddleColumnCollapse,o.isMiddleColumnCollapse,!o.isMiddleColumnCollapse)),m(2),f("ngClass",ii(49,UA,ii(47,Du,o.updateIssuesLabel)))("label",o.issuesAndSuggestionsLabel),m(1),f("currentObject",o.currentObject),m(1),f("ngClass",ii(53,UA,ii(51,Du,o.updateRulesLabel)))("label",o.rulesLabel),m(1),f("currentObject",o.currentObject),m(2),f("ngClass",ii(55,Du,o.isRightColumnCollapse?"display":"hidden")),m(2),f("ngClass",ii(57,Du,o.isRightColumnCollapse?"hidden":"display"))}},dependencies:[Qo,Et,Cr,JT,Kt,_i,tl,Xr,il,Bp,Jy,On,Dee,_te,qoe,fre],styles:["app-object-detail[_ngcontent-%COMP%]{height:100%}.vertical-center[_ngcontent-%COMP%]{display:flex;align-items:center}.columns[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3;height:calc(100vh - 222px)}.artifactsButtons[_ngcontent-%COMP%]{white-space:nowrap}.container[_ngcontent-%COMP%]{padding:7px 20px;margin-bottom:20px}.container[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{font-weight:lighter}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 5px}.column-left[_ngcontent-%COMP%]{overflow:auto}.column-middle[_ngcontent-%COMP%]{width:48%;border-left:1px solid #d3d3d3;border-right:1px solid #d3d3d3;overflow:auto}.column-right[_ngcontent-%COMP%]{width:26%;position:relative;overflow:auto}.left-column-collapse[_ngcontent-%COMP%]{width:3%}.left-column-expand[_ngcontent-%COMP%]{width:26%}.middle-column-collapse[_ngcontent-%COMP%]{width:48%}.middle-column-expand[_ngcontent-%COMP%]{width:71%}.right-column-half-expand[_ngcontent-%COMP%]{width:80%}.right-column-collapse[_ngcontent-%COMP%]{width:26%}.right-column-full-expand[_ngcontent-%COMP%]{width:97%}.middle-column-hide[_ngcontent-%COMP%]{width:0%}.middle-column-full[_ngcontent-%COMP%]{width:100%}#right-column-toggle-button[_ngcontent-%COMP%]{border:none;background-color:inherit;position:absolute;top:10px;right:7px;z-index:100}#right-column-toggle-button[_ngcontent-%COMP%]:hover{cursor:pointer} .column-right .mat-mdc-tab-label .mat-mdc-tab-label-content{font-size:.8rem} .column-right .mat-mdc-tab-label{min-width:25px!important;padding:10px} .column-right .mat-mdc-tab-label.mat-mdc-tab-label-active{min-width:25px!important;padding:7px} .column-right .mat-mdc-tab-label-container{margin-right:40px} .column-right .mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-label-container{margin-right:0} .column-right .mat-mdc-tab-header-pagination-after{margin-right:40px}.split-button-left[_ngcontent-%COMP%]{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:none;padding-right:1px}.split-button-right[_ngcontent-%COMP%]{box-shadow:none;width:30px!important;min-width:unset!important;padding:0 2px;border-top-left-radius:0;border-bottom-left-radius:0;margin-right:7px}"]})}return t})(),yre=(()=>{class t{constructor(e,i,o){this.formBuilder=e,this.dialogRef=i,this.data=o,this.region="",this.spannerInstance="",this.dialect="",this.region=o.Region,this.spannerInstance=o.Instance,this.dialect=o.Dialect,this.targetDetailsForm=this.formBuilder.group({targetDb:["",me.required]}),this.targetDetailsForm.setValue({targetDb:localStorage.getItem(Xt.TargetDB)})}ngOnInit(){}updateTargetDetails(){let e=this.targetDetailsForm.value;localStorage.setItem(Xt.TargetDB,e.targetDb),localStorage.setItem(Xt.Dialect,e.dialect),localStorage.setItem(ue.IsTargetDetailSet,"true"),this.dialogRef.close()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-target-details-form"]],decls:30,vars:5,consts:[["mat-dialog-content",""],[1,"target-detail-form",3,"formGroup"],["matTooltip","Schema & Schema and data migration: Specify new database name or existing database with empty schema. Data migration: Specify existing database with tables already created",1,"configure"],["appearance","outline",1,"full-width"],["matInput","","placeholder","Target Database","type","text","formControlName","targetDb","ng-value","targetDetails.TargetDB"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Spanner Database Details"),d(4,"mat-icon",2),h(5," info"),l()(),d(6,"mat-form-field",3)(7,"mat-label"),h(8,"Spanner Database"),l(),D(9,"input",4),l(),D(10,"br")(11,"br"),d(12,"b"),h(13,"Region:"),l(),h(14),D(15,"br")(16,"br"),d(17,"b"),h(18,"Spanner Instance:"),l(),h(19),D(20,"br")(21,"br"),d(22,"b"),h(23,"Dialect:"),l(),h(24),l(),d(25,"div",5)(26,"button",6),h(27,"Cancel"),l(),d(28,"button",7),L("click",function(){return o.updateTargetDetails()}),h(29," Save "),l()()()),2&i&&(m(1),f("formGroup",o.targetDetailsForm),m(13),Se(" ",o.region," "),m(5),Se(" ",o.spannerInstance," "),m(5),Se(" ",o.dialect," "),m(4),f("disabled",!o.targetDetailsForm.valid))},dependencies:[Kt,_i,Oi,Ii,sn,Tn,Mi,vi,Ui,Ti,Xi,wo,vr,yr,On]})}return t})();function xre(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",10),L("change",function(){const r=ae(e).$implicit;return se(w().onItemChange(r.value))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function wre(t,n){if(1&t&&(d(0,"mat-option",14),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayName),m(1),Se(" ",e.DisplayName," ")}}function Cre(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",11)(2,"mat-label"),h(3,"Select connection profile"),l(),d(4,"mat-select",12),_(5,wre,2,2,"mat-option",13),l()()()),2&t){const e=w();m(5),f("ngForOf",e.profileList)}}function Dre(t,n){1&t&&(d(0,"div")(1,"mat-form-field",15)(2,"mat-label"),h(3,"Connection profile name"),l(),D(4,"input",16),l()())}function kre(t,n){1&t&&(d(0,"div")(1,"mat-form-field",11)(2,"mat-label"),h(3,"Replication slot"),l(),D(4,"input",17),l(),D(5,"br"),d(6,"mat-form-field",11)(7,"mat-label"),h(8,"Publication name"),l(),D(9,"input",18),l()())}function Sre(t,n){if(1&t&&(d(0,"li",24)(1,"span",25),h(2),l(),d(3,"span")(4,"mat-icon",26),h(5,"file_copy"),l()()()),2&t){const e=n.$implicit;m(2),Re(e),m(2),f("cdkCopyToClipboard",e)}}function Mre(t,n){if(1&t&&(d(0,"div",27)(1,"span",25),h(2,"Test connection failed"),l(),d(3,"mat-icon",28),h(4," error "),l()()),2&t){const e=w(3);m(3),f("matTooltip",e.errorMsg)}}function Tre(t,n){1&t&&(d(0,"mat-icon",29),h(1," check_circle "),l())}function Ire(t,n){if(1&t){const e=_e();d(0,"div")(1,"div")(2,"b"),h(3,"Copy the public IPs below, and use them to configure the network firewall to accept connections from them."),l(),d(4,"a",19),h(5,"Learn More"),l()(),D(6,"br"),_(7,Sre,6,2,"li",20),_(8,Mre,5,1,"div",21),D(9,"br"),d(10,"button",22),L("click",function(){return ae(e),se(w(2).testConnection())}),h(11,"Test Connection"),l(),_(12,Tre,2,0,"mat-icon",23),l()}if(2&t){const e=w(2);m(7),f("ngForOf",e.ipList),m(1),f("ngIf",!e.testSuccess&&""!=e.errorMsg),m(2),f("disabled",!e.connectionProfileForm.valid),m(2),f("ngIf",e.testSuccess)}}function Ere(t,n){if(1&t&&(d(0,"div"),_(1,Ire,13,4,"div",6),l()),2&t){const e=w();m(1),f("ngIf",e.isSource)}}let Ore=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.formBuilder=o,this.dialogRef=r,this.data=a,this.selectedProfile="",this.profileType="Source",this.profileList=[],this.ipList=[],this.selectedOption="new",this.profileOptions=[{value:"new",display:"Create a new connection profile"},{value:"existing",display:"Choose an existing connection profile"}],this.profileName="",this.errorMsg="",this.isSource=!1,this.sourceDatabaseType="",this.testSuccess=!1,this.testingSourceConnection=!1,this.isSource=a.IsSource,this.sourceDatabaseType=a.SourceDatabaseType,this.isSource||(this.profileType="Target"),this.connectionProfileForm=this.formBuilder.group({profileOption:["",me.required],newProfile:["",[me.pattern("^[a-z][a-z0-9-]{0,59}$")]],existingProfile:[],replicationSlot:[],publication:[]}),"postgres"==this.sourceDatabaseType&&this.isSource&&(this.connectionProfileForm.get("replicationSlot")?.addValidators([me.required]),this.connectionProfileForm.controls.replicationSlot.updateValueAndValidity(),this.connectionProfileForm.get("publication")?.addValidators([me.required]),this.connectionProfileForm.controls.publication.updateValueAndValidity()),this.getConnectionProfilesAndIps()}onItemChange(e){this.selectedOption=e,"new"==this.selectedOption?(this.connectionProfileForm.get("newProfile")?.setValidators([me.required]),this.connectionProfileForm.controls.existingProfile.clearValidators(),this.connectionProfileForm.controls.newProfile.updateValueAndValidity(),this.connectionProfileForm.controls.existingProfile.updateValueAndValidity()):(this.connectionProfileForm.controls.newProfile.clearValidators(),this.connectionProfileForm.get("existingProfile")?.addValidators([me.required]),this.connectionProfileForm.controls.newProfile.updateValueAndValidity(),this.connectionProfileForm.controls.existingProfile.updateValueAndValidity())}testConnection(){this.testingSourceConnection=!0,this.fetch.createConnectionProfile({Id:this.connectionProfileForm.value.newProfile,IsSource:this.isSource,ValidateOnly:!0}).subscribe({next:()=>{this.testingSourceConnection=!1,this.testSuccess=!0},error:o=>{this.testingSourceConnection=!1,this.testSuccess=!1,this.errorMsg=o.error}})}createConnectionProfile(){let e=this.connectionProfileForm.value;this.isSource&&(localStorage.setItem(Xt.ReplicationSlot,e.replicationSlot),localStorage.setItem(Xt.Publication,e.publication)),"new"===this.selectedOption?this.fetch.createConnectionProfile({Id:e.newProfile,IsSource:this.isSource,ValidateOnly:!1}).subscribe({next:()=>{this.isSource?(localStorage.setItem(ue.IsSourceConnectionProfileSet,"true"),localStorage.setItem(Xt.SourceConnProfile,e.newProfile)):(localStorage.setItem(ue.IsTargetConnectionProfileSet,"true"),localStorage.setItem(Xt.TargetConnProfile,e.newProfile)),this.dialogRef.close()},error:o=>{this.snack.openSnackBar(o.error,"Close"),this.dialogRef.close()}}):(this.isSource?(localStorage.setItem(ue.IsSourceConnectionProfileSet,"true"),localStorage.setItem(Xt.SourceConnProfile,e.existingProfile)):(localStorage.setItem(ue.IsTargetConnectionProfileSet,"true"),localStorage.setItem(Xt.TargetConnProfile,e.existingProfile)),this.dialogRef.close())}ngOnInit(){}getConnectionProfilesAndIps(){this.fetch.getConnectionProfiles(this.isSource).subscribe({next:e=>{this.profileList=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}}),this.isSource&&this.fetch.getStaticIps().subscribe({next:e=>{this.ipList=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Kr),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-connection-profile-form"]],decls:19,vars:9,consts:[["mat-dialog-content",""],[1,"conn-profile-form",3,"formGroup"],[1,"mat-h3","header-title"],[1,"radio-button-container"],["formControlName","profileOption",3,"ngModel","ngModelChange"],[3,"value","change",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"],[3,"value","change"],["appearance","outline"],["formControlName","existingProfile","required","true","ng-value","selectedProfile",1,"input-field"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["appearance","outline","hintLabel","Name can include lower case letters, numbers and hyphens. Must start with a letter.",1,"new-connection-profile-input"],["matInput","","placeholder","Connection profile name","type","text","formControlName","newProfile","required","true"],["matInput","","placeholder","Replication slot","type","text","formControlName","replicationSlot","required","true"],["matInput","","placeholder","Publication name","type","text","formControlName","publication","required","true"],["href","https://cloud.google.com/datastream/docs/network-connectivity-options#ipallowlists"],["class","connection-form-container",4,"ngFor","ngForOf"],["class","failure",4,"ngIf"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["class","success","matTooltip","Test connection successful","matTooltipPosition","above",4,"ngIf"],[1,"connection-form-container"],[1,"left-text"],["matTooltip","Copy",1,"icon","copy",3,"cdkCopyToClipboard"],[1,"failure"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"],["matTooltip","Test connection successful","matTooltipPosition","above",1,"success"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"span",2),h(3),l(),D(4,"br"),d(5,"div",3)(6,"mat-radio-group",4),L("ngModelChange",function(a){return o.selectedOption=a}),_(7,xre,2,2,"mat-radio-button",5),l()(),D(8,"br"),_(9,Cre,6,1,"div",6),_(10,Dre,5,0,"div",6),D(11,"br"),_(12,kre,10,0,"div",6),_(13,Ere,2,1,"div",6),d(14,"div",7)(15,"button",8),h(16,"Cancel"),l(),d(17,"button",9),L("click",function(){return o.createConnectionProfile()}),h(18," Save "),l()()()()),2&i&&(m(1),f("formGroup",o.connectionProfileForm),m(2),Se("",o.profileType," Connection Profile"),m(3),f("ngModel",o.selectedOption),m(1),f("ngForOf",o.profileOptions),m(2),f("ngIf","existing"===o.selectedOption),m(1),f("ngIf","new"===o.selectedOption),m(2),f("ngIf",o.isSource&&"postgres"==o.sourceDatabaseType),m(1),f("ngIf","new"===o.selectedOption),m(4),f("disabled",!o.connectionProfileForm.valid||!o.testSuccess&&"new"===o.selectedOption&&o.isSource))},dependencies:[an,Et,Kt,_i,Oi,Ii,sn,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,wo,vr,yr,On,$p,Gp,l0],styles:[".icon[_ngcontent-%COMP%]{font-size:15px}.connection-form-container[_ngcontent-%COMP%]{display:block}.left-text[_ngcontent-%COMP%]{width:40%;display:inline-block}"]})}return t})();function Are(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",6),L("change",function(){const r=ae(e).$implicit;return se(w().onItemChange(r.value))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function Pre(t,n){1&t&&D(0,"mat-spinner",19),2&t&&f("diameter",25)}function Rre(t,n){1&t&&(d(0,"mat-icon",20),h(1,"check_circle"),l())}function Fre(t,n){1&t&&(d(0,"mat-icon",21),h(1,"cancel"),l())}function Nre(t,n){if(1&t&&(d(0,"div",22)(1,"span",23),h(2,"Source database connection failed"),l(),d(3,"mat-icon",24),h(4," error "),l()()),2&t){const e=w(2);m(3),f("matTooltip",e.errorMsg)}}function Lre(t,n){if(1&t){const e=_e();d(0,"div")(1,"form",7),L("ngSubmit",function(){return ae(e),se(w().setSourceDBDetailsForDump())}),d(2,"h4",8),h(3,"Load from database dump"),l(),h(4," Dump File "),d(5,"mat-form-field",9)(6,"mat-label"),h(7,"File path"),l(),d(8,"input",10),L("click",function(){return ae(e),se(At(13).click())}),l(),_(9,Pre,1,1,"mat-spinner",11),_(10,Rre,2,0,"mat-icon",12),_(11,Fre,2,0,"mat-icon",13),l(),d(12,"input",14,15),L("change",function(o){return ae(e),se(w().handleFileInput(o))}),l(),D(14,"br"),d(15,"button",16),h(16,"CANCEL"),l(),d(17,"button",17),h(18," SAVE "),l(),_(19,Nre,5,1,"div",18),l()()}if(2&t){const e=w();m(1),f("formGroup",e.dumpFileForm),m(8),f("ngIf",e.uploadStart&&!e.uploadSuccess&&!e.uploadFail),m(1),f("ngIf",e.uploadStart&&e.uploadSuccess),m(1),f("ngIf",e.uploadStart&&e.uploadFail),m(6),f("disabled",!e.dumpFileForm.valid||!e.uploadSuccess),m(2),f("ngIf",""!=e.errorMsg)}}function Bre(t,n){if(1&t&&(d(0,"div",22)(1,"span",23),h(2,"Source database connection failed"),l(),d(3,"mat-icon",24),h(4," error "),l()()),2&t){const e=w(2);m(3),f("matTooltip",e.errorMsg)}}function Vre(t,n){if(1&t){const e=_e();d(0,"div")(1,"form",7),L("ngSubmit",function(){return ae(e),se(w().setSourceDBDetailsForDirectConnect())}),d(2,"h4",8),h(3,"Connect to Source Database"),l(),h(4," Connection Detail "),d(5,"mat-form-field",25)(6,"mat-label"),h(7,"Hostname"),l(),D(8,"input",26),l(),d(9,"mat-form-field",25)(10,"mat-label"),h(11,"Port"),l(),D(12,"input",27),d(13,"mat-error"),h(14," Only numbers are allowed. "),l()(),D(15,"br"),d(16,"mat-form-field",25)(17,"mat-label"),h(18,"User name"),l(),D(19,"input",28),l(),d(20,"mat-form-field",25)(21,"mat-label"),h(22,"Password"),l(),D(23,"input",29),l(),D(24,"br"),d(25,"mat-form-field",25)(26,"mat-label"),h(27,"Database Name"),l(),D(28,"input",30),l(),D(29,"br"),d(30,"button",16),h(31,"CANCEL"),l(),d(32,"button",17),h(33," SAVE "),l(),_(34,Bre,5,1,"div",18),l()()}if(2&t){const e=w();m(1),f("formGroup",e.directConnectForm),m(31),f("disabled",!e.directConnectForm.valid),m(2),f("ngIf",""!=e.errorMsg)}}let jre=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.dataService=i,this.snack=o,this.dialogRef=r,this.data=a,this.inputOptions=[{value:An.DumpFile,display:"Connect via dump file"},{value:An.DirectConnect,display:"Connect via direct connection"}],this.selectedOption=An.DirectConnect,this.sourceDatabaseEngine="",this.errorMsg="",this.fileToUpload=null,this.uploadStart=!1,this.uploadSuccess=!1,this.uploadFail=!1,this.dumpFileForm=new ni({filePath:new Q("",[me.required])}),this.directConnectForm=new ni({hostName:new Q("",[me.required]),port:new Q("",[me.required]),userName:new Q("",[me.required]),dbName:new Q("",[me.required]),password:new Q("")}),this.sourceDatabaseEngine=a}ngOnInit(){}setSourceDBDetailsForDump(){const{filePath:e}=this.dumpFileForm.value;this.fetch.setSourceDBDetailsForDump({Driver:this.sourceDatabaseEngine,Path:e}).subscribe({next:()=>{localStorage.setItem(ue.IsSourceDetailsSet,"true"),this.dialogRef.close()},error:o=>{this.errorMsg=o.error}})}setSourceDBDetailsForDirectConnect(){const{hostName:e,port:i,userName:o,password:r,dbName:a}=this.directConnectForm.value;this.fetch.setSourceDBDetailsForDirectConnect({dbEngine:this.sourceDatabaseEngine,isSharded:!1,hostName:e,port:i,userName:o,password:r,dbName:a}).subscribe({next:()=>{localStorage.setItem(ue.IsSourceDetailsSet,"true"),this.dialogRef.close()},error:c=>{this.errorMsg=c.error}})}handleFileInput(e){let i=e.target.files;i&&(this.fileToUpload=i.item(0),this.dumpFileForm.patchValue({filePath:this.fileToUpload?.name}),this.fileToUpload&&this.uploadFile())}uploadFile(){if(this.fileToUpload){this.uploadStart=!0,this.uploadFail=!1,this.uploadSuccess=!1;const e=new FormData;e.append("myFile",this.fileToUpload,this.fileToUpload?.name),this.dataService.uploadFile(e).subscribe(i=>{""==i?this.uploadSuccess=!0:this.uploadFail=!0})}}onItemChange(e){this.selectedOption=e,this.errorMsg=""}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Li),g(Vo),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-source-details-form"]],decls:7,vars:4,consts:[[1,"radio-button-container"],[1,"radio-button-group",3,"ngModel","ngModelChange"],[3,"value","change",4,"ngFor","ngForOf"],[1,"connect-load-database-container"],[1,"form-container"],[4,"ngIf"],[3,"value","change"],[3,"formGroup","ngSubmit"],[1,"primary-header"],["appearance","outline"],["matInput","","placeholder","File path","name","filePath","type","text","formControlName","filePath","readonly","",3,"click"],["matSuffix","",3,"diameter",4,"ngIf"],["matSuffix","","class","success",4,"ngIf"],["matSuffix","","class","danger",4,"ngIf"],["hidden","","type","file",3,"change"],["file",""],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","type","submit","color","primary",3,"disabled"],["class","failure",4,"ngIf"],["matSuffix","",3,"diameter"],["matSuffix","",1,"success"],["matSuffix","",1,"danger"],[1,"failure"],[1,"left-text"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"],["appearance","outline",1,"full-width"],["matInput","","placeholder","127.0.0.1","name","hostName","type","text","formControlName","hostName"],["matInput","","placeholder","3306","name","port","type","text","formControlName","port"],["matInput","","placeholder","root","name","userName","type","text","formControlName","userName"],["matInput","","name","password","type","password","formControlName","password"],["matInput","","name","dbname","type","text","formControlName","dbName"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-radio-group",1),L("ngModelChange",function(a){return o.selectedOption=a}),_(2,Are,2,2,"mat-radio-button",2),l()(),d(3,"div",3)(4,"div",4),_(5,Lre,20,6,"div",5),_(6,Vre,35,3,"div",5),l()()),2&i&&(m(1),f("ngModel",o.selectedOption),m(1),f("ngForOf",o.inputOptions),m(3),f("ngIf","dumpFile"===o.selectedOption),m(1),f("ngIf","directConnect"===o.selectedOption))},dependencies:[an,Et,Kt,_i,Oi,Ii,by,vy,sn,Tn,Mi,vi,Ui,Ti,Xi,wo,On,Zc,$p,Gp,bl]})}return t})();function zre(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",7),D(3,"mat-spinner",8),l(),d(4,"span",9),h(5,"Cleaning up resources"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}let Hre=(()=>{class t{constructor(e,i,o,r){this.data=e,this.fetch=i,this.snack=o,this.dialogRef=r,this.sourceAndTargetDetails={SpannerDatabaseName:"",SpannerDatabaseUrl:"",SourceDatabaseName:"",SourceDatabaseType:""},this.cleaningUp=!1,this.sourceAndTargetDetails={SourceDatabaseName:e.SourceDatabaseName,SourceDatabaseType:e.SourceDatabaseType,SpannerDatabaseName:e.SpannerDatabaseName,SpannerDatabaseUrl:e.SpannerDatabaseUrl}}ngOnInit(){}cleanUpJobs(){this.cleaningUp=!0,this.fetch.cleanUpStreamingJobs().subscribe({next:()=>{this.cleaningUp=!1,this.snack.openSnackBar("Dataflow and datastream jobs will be cleaned up","Close"),this.dialogRef.close()},error:e=>{this.cleaningUp=!1,this.snack.openSnackBar(e.error,"Close")}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(yn),g(Vo),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-end-migration"]],decls:46,vars:7,consts:[[1,"end-migration-dialog"],["target","_blank",3,"href"],["href","https://github.com/GoogleCloudPlatform/professional-services-data-validator","target","_blank"],[4,"ngIf"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close","",3,"disabled"],["mat-raised-button","","color","primary",3,"disabled","click"],[1,"spinner"],[3,"diameter"],[1,"spinner-small-text"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h2"),h(2,"End Migration"),l(),d(3,"div")(4,"b"),h(5,"Source database:"),l(),h(6),D(7,"br"),d(8,"b"),h(9,"Spanner database:"),l(),d(10,"a",1),h(11),l()(),D(12,"br"),d(13,"div")(14,"b"),h(15,"Please follow these steps to complete the migration:"),l(),d(16,"ol")(17,"li"),h(18,"Validate that the schema has been created on Spanner as per the configuration"),l(),d(19,"li"),h(20,"Validate the data has been copied from the Source to Spanner. You can use the "),d(21,"a",2),h(22,"Data Validation Tool"),l(),h(23," to help with this process."),l(),d(24,"li"),h(25,"Stop the writes to the source database. "),d(26,"b"),h(27,"This will initiate a period of downtime."),l()(),d(28,"li"),h(29,"Wait for any incremental writes on source since the validation started on Spanner to catch up with the source. This can be done by periodically checking the Spanner Database for the most recent updates on source."),l(),d(30,"li"),h(31,"Once the Source and Spanner are in sync, start the application with Spanner as the Database."),l(),d(32,"li"),h(33,"Perform smoke tests on your application to ensure it is working properly on Spanner"),l(),d(34,"li"),h(35,"Cutover the traffic to the application with Spanner as the Database. "),d(36,"b"),h(37,"This marks the end of the period of downtime"),l()(),d(38,"li"),h(39,"Cleanup the migration jobs by clicking the button below."),l()()(),_(40,zre,7,1,"div",3),d(41,"div",4)(42,"button",5),h(43,"Cancel"),l(),d(44,"button",6),L("click",function(){return o.cleanUpJobs()}),h(45,"Clean Up"),l()()()),2&i&&(m(6),Ec(" ",o.sourceAndTargetDetails.SourceDatabaseName,"(",o.sourceAndTargetDetails.SourceDatabaseType,") "),m(4),f("href",o.sourceAndTargetDetails.SpannerDatabaseUrl,kn),m(1),Re(o.sourceAndTargetDetails.SpannerDatabaseName),m(29),f("ngIf",o.cleaningUp),m(2),f("disabled",o.cleaningUp),m(2),f("disabled",o.cleaningUp))},dependencies:[Et,Kt,wo,yr,bl]})}return t})(),Ure=(()=>{class t{constructor(e,i,o){this.data=e,this.dialofRef=i,this.fetch=o,this.disablePresetFlags=!0,this.tunableFlagsForm=new ni({network:new Q(""),subnetwork:new Q(""),numWorkers:new Q("1",[me.required,me.pattern("^[1-9][0-9]*$")]),maxWorkers:new Q("50",[me.required,me.pattern("^[1-9][0-9]*$")]),serviceAccountEmail:new Q(""),vpcHostProjectId:new Q(e.GCPProjectID,me.required),machineType:new Q(""),additionalUserLabels:new Q("",[me.pattern('^{("([0-9a-zA-Z_-]+)":"([0-9a-zA-Z_-]+)",?)+}$')]),kmsKeyName:new Q("",[me.pattern("^projects\\/[^\\n\\r]+\\/locations\\/[^\\n\\r]+\\/keyRings\\/[^\\n\\r]+\\/cryptoKeys\\/[^\\n\\r]+$")])}),this.presetFlagsForm=new ni({dataflowProjectId:new Q(e.GCPProjectID),dataflowLocation:new Q(""),gcsTemplatePath:new Q("",[me.pattern("^gs:\\/\\/[^\\n\\r]+$")])}),this.presetFlagsForm.disable()}ngOnInit(){}updateDataflowDetails(){let e=this.tunableFlagsForm.value;localStorage.setItem("network",e.network),localStorage.setItem("subnetwork",e.subnetwork),localStorage.setItem("vpcHostProjectId",e.vpcHostProjectId),localStorage.setItem("maxWorkers",e.maxWorkers),localStorage.setItem("numWorkers",e.numWorkers),localStorage.setItem("serviceAccountEmail",e.serviceAccountEmail),localStorage.setItem("machineType",e.machineType),localStorage.setItem("additionalUserLabels",e.additionalUserLabels),localStorage.setItem("kmsKeyName",e.kmsKeyName),localStorage.setItem("dataflowProjectId",this.presetFlagsForm.value.dataflowProjectId),localStorage.setItem("dataflowLocation",this.presetFlagsForm.value.dataflowLocation),localStorage.setItem("gcsTemplatePath",this.presetFlagsForm.value.gcsTemplatePath),localStorage.setItem("isDataflowConfigSet","true"),this.dialofRef.close()}enablePresetFlags(){this.disablePresetFlags=!1,this.presetFlagsForm.enable()}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-dataflow-form"]],decls:109,vars:16,consts:[["mat-dialog-content",""],[1,"dataflow-form",3,"formGroup"],["matTooltip","Edit to run Dataflow in a VPC",1,"mat-row"],["appearance","outline","matTooltip","Specify the host project Id of the VPC network. For shared VPC, this needs to be edited to the correct host project id.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","VPC Host ProjectID","type","text","formControlName","vpcHostProjectId"],["href","https://cloud.google.com/vpc/docs/create-modify-vpc-networks#create-auto-network","target","_blank"],["appearance","outline","matTooltip","Specify the network name for the VPC",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","VPC Network Name","type","text","formControlName","network"],["appearance","outline","matTooltip","Specify the subnetwork name for the VPC. Provide only the subnetwork name and NOT the full URL for subnetwork.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","VPC Subnetwork Name","type","text","formControlName","subnetwork"],["matTooltip","Set performance parameters of the Dataflow job(s)",1,"mat-row"],["appearance","outline","matTooltip","Set maximum workers for the dataflow job(s). Default value: 50",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","50","type","text","formControlName","maxWorkers"],["appearance","outline","matTooltip","Set initial number of workers for the dataflow job(s). Default value: 1",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","1","type","text","formControlName","numWorkers"],["appearance","outline","matTooltip","The machine type to use for the job, eg: n1-standard-2. Use default machine type if not specified.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Machine Type","type","text","formControlName","machineType"],["href","https://cloud.google.com/compute/docs/machine-resource","target","_blank"],["appearance","outline","matTooltip","Set the service account to run the dataflow job(s) as",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Service Account Email","type","text","formControlName","serviceAccountEmail"],["appearance","outline","matTooltip",'Additional user labels to be specified for the job. Enter a json of "key": "value" pairs. Example: {"name": "wrench", "mass": "1kg", "count": "3" }.',1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Additional User Labels","type","text","formControlName","additionalUserLabels"],["appearance","outline","matTooltip","Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings //cryptoKeys/. Omit this field to use Google Managed Encryption Keys.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","KMS Key Name","type","text","formControlName","kmsKeyName"],["mat-button","",1,"edit-button",3,"disabled","click"],["appearance","outline","matTooltip","Specify the project to run the dataflow job in.",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Dataflow Project Id","type","text","formControlName","dataflowProjectId"],["appearance","outline","matTooltip","Specify the region to run the dataflow job in. It is recommended to keep the region same as Spanner region for performance. Example: us-central1",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","Dataflow Location","type","text","formControlName","dataflowLocation"],["appearance","outline","matTooltip","Cloud Storage path to the template spec. Use this to run launch dataflow with custom templates. Example: gs://my-bucket/path/to/template",1,"full-width",3,"matTooltipPosition"],["matInput","","placeholder","GCS Template Path","type","text","formControlName","gcsTemplatePath"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Tune Dataflow (Optional)"),l(),d(4,"h5"),h(5,"This form is optional and should only be edited to tune runtime environment for Dataflow."),l(),d(6,"mat-expansion-panel")(7,"mat-expansion-panel-header",2)(8,"span"),h(9,"Networking"),l()(),d(10,"div")(11,"mat-form-field",3)(12,"mat-label"),h(13,"VPC Host ProjectID"),l(),D(14,"input",4),l(),D(15,"br"),d(16,"h5"),h(17," - Provide "),d(18,"b"),h(19,"ONLY"),l(),h(20," the VPC subnetwork if unsure about what VPC network to use. Dataflow chooses the network for you. "),D(21,"br"),h(22," - If you are using an "),d(23,"a",5),h(24,"auto mode network"),l(),h(25,", provide ONLY the network name and skip the VPC subnetwork. "),l(),d(26,"mat-form-field",6)(27,"mat-label"),h(28,"VPC Network"),l(),D(29,"input",7),l(),D(30,"br"),d(31,"mat-form-field",8)(32,"mat-label"),h(33,"VPC Subnetwork"),l(),D(34,"input",9),l()()(),D(35,"br"),d(36,"mat-expansion-panel")(37,"mat-expansion-panel-header",10)(38,"span"),h(39,"Performance"),l()(),d(40,"div")(41,"mat-form-field",11)(42,"mat-label"),h(43,"Max Workers"),l(),D(44,"input",12),l(),D(45,"br"),d(46,"mat-form-field",13)(47,"mat-label"),h(48,"Number of Workers"),l(),D(49,"input",14),l(),D(50,"br"),d(51,"mat-form-field",15)(52,"mat-label"),h(53,"Machine Type"),l(),D(54,"input",16),l(),d(55,"h5"),h(56,"Find the list of all machine types "),d(57,"a",17),h(58,"here"),l(),h(59,"."),l()()(),D(60,"br"),d(61,"mat-form-field",18)(62,"mat-label"),h(63,"Service Account Email"),l(),D(64,"input",19),l(),D(65,"br"),d(66,"mat-form-field",20)(67,"mat-label"),h(68,"Additional User Labels"),l(),D(69,"input",21),l(),D(70,"br"),d(71,"mat-form-field",22)(72,"mat-label"),h(73,"KMS Key Name"),l(),D(74,"input",23),l()(),D(75,"hr"),d(76,"form",1)(77,"h2"),h(78," Preset Flags "),d(79,"span")(80,"button",24),L("click",function(){return o.enablePresetFlags()}),d(81,"mat-icon"),h(82,"edit"),l(),h(83," EDIT "),l()()(),d(84,"h5"),h(85,"These flags are set by SMT by default and "),d(86,"b"),h(87,"SHOULD NOT BE"),l(),h(88," modified unless running Dataflow in a non-standard configuration. To edit these parameters, click the edit button above."),l(),D(89,"br"),d(90,"mat-form-field",25)(91,"mat-label"),h(92,"Dataflow Project Id"),l(),D(93,"input",26),l(),D(94,"br"),d(95,"mat-form-field",27)(96,"mat-label"),h(97,"Dataflow Location"),l(),D(98,"input",28),l(),D(99,"br"),d(100,"mat-form-field",29)(101,"mat-label"),h(102,"GCS Template Path"),l(),D(103,"input",30),l()(),d(104,"div",31)(105,"button",32),h(106,"Cancel"),l(),d(107,"button",33),L("click",function(){return o.updateDataflowDetails()}),h(108," Save "),l()()()),2&i&&(m(1),f("formGroup",o.tunableFlagsForm),m(10),f("matTooltipPosition","right"),m(15),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(10),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(10),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("formGroup",o.presetFlagsForm),m(4),f("disabled",!o.disablePresetFlags),m(10),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(5),f("matTooltipPosition","right"),m(7),f("disabled",!(o.tunableFlagsForm.valid&&o.presetFlagsForm.valid)))},dependencies:[Kt,_i,Oi,Ii,sn,Tn,Mi,vi,Ui,Ti,Xi,Vy,kE,wo,vr,yr,On],styles:[".edit-button[_ngcontent-%COMP%]{color:#3367d6}"]})}return t})(),$re=(()=>{class t{constructor(e,i){this.data=e,this.dialofRef=i,this.gcloudCmd=e}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-equivalent-gcloud-command"]],decls:12,vars:2,consts:[["mat-dialog-content",""],["matTooltip","This is the gcloud command to launch the dataflow job with the same parameters. Can be used to re-run a dataflow job manually in case of failure.",1,"configure"],[1,"left-text"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["mat-button","","color","primary",3,"cdkCopyToClipboard"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"h2"),h(2,"Equivalent gcloud command line"),d(3,"mat-icon",1),h(4," info"),l()(),d(5,"span",2),h(6),l(),d(7,"div",3)(8,"button",4),h(9,"Close"),l(),d(10,"button",5),h(11,"Copy"),l()()()),2&i&&(m(6),Re(o.gcloudCmd),m(4),f("cdkCopyToClipboard",o.gcloudCmd))},dependencies:[Kt,_i,wo,vr,yr,On,l0]})}return t})();function Gre(t,n){if(1&t&&(d(0,"mat-option",14),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function Wre(t,n){1&t&&(d(0,"div",15)(1,"mat-form-field",4)(2,"mat-label"),h(3,"Paste JSON Configuration"),l(),D(4,"textarea",16,17),l()())}function qre(t,n){1&t&&(d(0,"div",18)(1,"mat-form-field",19)(2,"mat-label"),h(3,"Hostname"),l(),D(4,"input",20),l(),d(5,"mat-form-field",19)(6,"mat-label"),h(7,"Port"),l(),D(8,"input",21),d(9,"mat-error"),h(10," Only numbers are allowed. "),l()(),D(11,"br"),d(12,"mat-form-field",19)(13,"mat-label"),h(14,"User name"),l(),D(15,"input",22),l(),d(16,"mat-form-field",19)(17,"mat-label"),h(18,"Password"),l(),D(19,"input",23),l(),D(20,"br"),d(21,"mat-form-field",19)(22,"mat-label"),h(23,"Database Name"),l(),D(24,"input",24),l(),D(25,"br"),d(26,"mat-form-field",19)(27,"mat-label"),h(28,"Shard ID"),l(),D(29,"input",25),l(),D(30,"br"),l())}function Kre(t,n){if(1&t){const e=_e();d(0,"button",26),L("click",function(){return ae(e),se(w().saveDetailsAndReset())}),h(1," ADD MORE SHARDS "),l()}2&t&&f("disabled",w().directConnectForm.invalid)}function Zre(t,n){if(1&t&&(d(0,"div",27)(1,"span",28),h(2),l(),d(3,"mat-icon",29),h(4," error "),l()()),2&t){const e=w();m(2),Re(e.errorMsg),m(1),f("matTooltip",e.errorMsg)}}let Yre=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.dataService=o,this.dialogRef=r,this.data=a,this.errorMsg="",this.shardConnDetailsList=[],this.sourceConnDetails={dbConfigs:[],isRestoredSession:""},this.shardSessionDetails={sourceDatabaseEngine:"",isRestoredSession:""},this.inputOptionsList=[{value:"text",displayName:"Text"},{value:"form",displayName:"Form"}],this.shardSessionDetails={sourceDatabaseEngine:a.sourceDatabaseEngine,isRestoredSession:a.isRestoredSession};let s={dbEngine:"",isSharded:!1,hostName:"",port:"",userName:"",password:"",dbName:""};localStorage.getItem($i.Type)==An.DirectConnect&&null!=localStorage.getItem($i.Config)&&(s=JSON.parse(localStorage.getItem($i.Config))),this.directConnectForm=new ni({inputType:new Q("form",[me.required]),textInput:new Q(""),hostName:new Q(s.hostName,[me.required]),port:new Q(s.port,[me.required]),userName:new Q(s.userName,[me.required]),dbName:new Q(s.dbName,[me.required]),password:new Q(s.password),shardId:new Q("",[me.required])})}ngOnInit(){this.initFromLocalStorage()}initFromLocalStorage(){}setValidators(e){if("text"==e){for(const i in this.directConnectForm.controls)this.directConnectForm.get(i)?.clearValidators(),this.directConnectForm.get(i)?.updateValueAndValidity();this.directConnectForm.get("textInput")?.setValidators([me.required]),this.directConnectForm.controls.textInput.updateValueAndValidity()}else this.directConnectForm.get("hostName")?.setValidators([me.required]),this.directConnectForm.controls.hostName.updateValueAndValidity(),this.directConnectForm.get("port")?.setValidators([me.required]),this.directConnectForm.controls.port.updateValueAndValidity(),this.directConnectForm.get("userName")?.setValidators([me.required]),this.directConnectForm.controls.userName.updateValueAndValidity(),this.directConnectForm.get("dbName")?.setValidators([me.required]),this.directConnectForm.controls.dbName.updateValueAndValidity(),this.directConnectForm.get("password")?.setValidators([me.required]),this.directConnectForm.controls.password.updateValueAndValidity(),this.directConnectForm.get("shardId")?.setValidators([me.required]),this.directConnectForm.controls.shardId.updateValueAndValidity(),this.directConnectForm.controls.textInput.clearValidators(),this.directConnectForm.controls.textInput.updateValueAndValidity()}determineFormValidity(){return this.shardConnDetailsList.length>0||!!this.directConnectForm.valid}saveDetailsAndReset(){const{hostName:e,port:i,userName:o,password:r,dbName:a,shardId:s}=this.directConnectForm.value;this.shardConnDetailsList.push({dbEngine:this.shardSessionDetails.sourceDatabaseEngine,isSharded:!1,hostName:e,port:i,userName:o,password:r,dbName:a,shardId:s}),this.directConnectForm=new ni({inputType:new Q("form",me.required),textInput:new Q(""),hostName:new Q(""),port:new Q(""),userName:new Q(""),dbName:new Q(""),password:new Q(""),shardId:new Q("")}),this.setValidators("form"),this.snack.openSnackBar("Shard configured successfully, please configure the next","Close",5)}finalizeConnDetails(){if("form"===this.directConnectForm.value.inputType){const{hostName:i,port:o,userName:r,password:a,dbName:s,shardId:c}=this.directConnectForm.value;this.shardConnDetailsList.push({dbEngine:this.shardSessionDetails.sourceDatabaseEngine,isSharded:!1,hostName:i,port:o,userName:r,password:a,dbName:s,shardId:c}),this.sourceConnDetails.dbConfigs=this.shardConnDetailsList}else{try{this.sourceConnDetails.dbConfigs=JSON.parse(this.directConnectForm.value.textInput)}catch{throw this.errorMsg="Unable to parse JSON",new Error(this.errorMsg)}this.sourceConnDetails.dbConfigs.forEach(i=>{i.dbEngine=this.shardSessionDetails.sourceDatabaseEngine})}this.sourceConnDetails.isRestoredSession=this.shardSessionDetails.isRestoredSession,this.fetch.setShardsSourceDBDetailsForBulk(this.sourceConnDetails).subscribe({next:()=>{localStorage.setItem(ue.NumberOfShards,this.sourceConnDetails.dbConfigs.length.toString()),localStorage.setItem(ue.NumberOfInstances,this.sourceConnDetails.dbConfigs.length.toString()),localStorage.setItem(ue.IsSourceDetailsSet,"true"),this.dialogRef.close()},error:i=>{this.errorMsg=i.error}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Li),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sharded-bulk-source-details-form"]],decls:23,vars:7,consts:[[1,"connect-load-database-container"],[1,"form-container"],[1,"shard-bulk-form",3,"formGroup"],[1,"primary-header"],["appearance","outline"],["formControlName","inputType",3,"selectionChange"],["inputType",""],[3,"value",4,"ngFor","ngForOf"],["class","textInput",4,"ngIf"],["class","formInput",4,"ngIf"],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","type","submit","color","accent",3,"disabled","click",4,"ngIf"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["class","failure",4,"ngIf"],[3,"value"],[1,"textInput"],["name","textInput","formControlName","textInput","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","20"],["autosize","cdkTextareaAutosize"],[1,"formInput"],["appearance","outline",1,"full-width"],["matInput","","placeholder","127.0.0.1","name","hostName","type","text","formControlName","hostName"],["matInput","","placeholder","3306","name","port","type","text","formControlName","port"],["matInput","","placeholder","root","name","userName","type","text","formControlName","userName"],["matInput","","name","password","type","password","formControlName","password"],["matInput","","name","dbname","type","text","formControlName","dbName"],["matInput","","name","shardId","type","text","formControlName","shardId"],["mat-raised-button","","type","submit","color","accent",3,"disabled","click"],[1,"failure"],[1,"left-text"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"div",1)(2,"form",2)(3,"h4",3),h(4,"Add Data Shard Connection Details"),l(),d(5,"b"),h(6,"Note: Please configure the schema source used for schema conversion if you want Spanner migration tool to migrate data from it as well."),l(),D(7,"br")(8,"br"),d(9,"mat-form-field",4)(10,"mat-label"),h(11,"Input Type"),l(),d(12,"mat-select",5,6),L("selectionChange",function(){ae(r);const s=At(13);return se(o.setValidators(s.value))}),_(14,Gre,2,2,"mat-option",7),l()(),_(15,Wre,6,0,"div",8),_(16,qre,31,0,"div",9),d(17,"button",10),h(18,"CANCEL"),l(),_(19,Kre,2,1,"button",11),d(20,"button",12),L("click",function(){return o.finalizeConnDetails()}),h(21," FINISH "),l(),_(22,Zre,5,2,"div",13),l()()()}2&i&&(m(2),f("formGroup",o.directConnectForm),m(12),f("ngForOf",o.inputOptionsList),m(1),f("ngIf","text"===o.directConnectForm.value.inputType),m(1),f("ngIf","form"===o.directConnectForm.value.inputType),m(3),f("ngIf","form"===o.directConnectForm.value.inputType),m(1),f("disabled",!o.determineFormValidity()),m(2),f("ngIf",""!=o.errorMsg))},dependencies:[an,Et,Kt,_i,Oi,Ii,by,sn,q2,oo,_n,Tn,Mi,vi,Ui,Ti,Xi,wo,On]})}return t})();function Qre(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function Xre(t,n){if(1&t&&(d(0,"div",17)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title"),h(4,"Total Configured Shards"),l(),d(5,"mat-card-subtitle"),h(6),l(),d(7,"mat-card-subtitle"),h(8),l()()()()),2&t){const e=w();m(6),Se("",e.physicalShards," physical instances configured."),m(2),Se("",e.logicalShards," logical shards configured.")}}function Jre(t,n){1&t&&(d(0,"div",18)(1,"mat-form-field",19)(2,"mat-label"),h(3,"Paste JSON Configuration"),l(),D(4,"textarea",20,21),l()())}function eae(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",35),L("change",function(){const r=ae(e).$implicit;return se(w(2).onItemChange(r.value,"source"))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function tae(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayName),m(1),Se(" ",e.DisplayName," ")}}function iae(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",5)(2,"mat-label"),h(3,"Select source connection profile"),l(),d(4,"mat-select",36),_(5,tae,2,2,"mat-option",8),l()(),d(6,"mat-form-field",5)(7,"mat-label"),h(8,"Data Shard Id"),l(),D(9,"input",37),l()()),2&t){const e=w(2);m(5),f("ngForOf",e.sourceProfileList),m(4),f("value",e.inputValue)}}function nae(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",5)(2,"mat-label"),h(3,"Host"),l(),D(4,"input",38),l(),d(5,"mat-form-field",5)(6,"mat-label"),h(7,"User"),l(),D(8,"input",39),l(),d(9,"mat-form-field",5)(10,"mat-label"),h(11,"Port"),l(),D(12,"input",40),l(),d(13,"mat-form-field",5)(14,"mat-label"),h(15,"Password"),l(),D(16,"input",41),l(),d(17,"mat-form-field",42)(18,"mat-label"),h(19,"Connection profile name"),l(),D(20,"input",43),l(),d(21,"mat-form-field",5)(22,"mat-label"),h(23,"Data Shard Id"),l(),D(24,"input",37),l()()),2&t){const e=w(2);m(24),f("value",e.inputValue)}}function oae(t,n){if(1&t&&(d(0,"li",50)(1,"span",51),h(2),l(),d(3,"span")(4,"mat-icon",52),h(5,"file_copy"),l()()()),2&t){const e=n.$implicit;m(2),Re(e),m(2),f("cdkCopyToClipboard",e)}}function rae(t,n){if(1&t&&(d(0,"div",53)(1,"span",51),h(2,"Test connection failed"),l(),d(3,"mat-icon",54),h(4," error "),l()()),2&t){const e=w(3);m(3),f("matTooltip",e.errorSrcMsg)}}function aae(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",55),D(3,"mat-spinner",56),l(),d(4,"span",57),h(5,"Testing Connection"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}function sae(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",55),D(3,"mat-spinner",56),l(),d(4,"span",57),h(5,"Creating source connection profile"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}function cae(t,n){1&t&&(d(0,"mat-icon",58),h(1," check_circle "),l())}function lae(t,n){1&t&&(d(0,"mat-icon",59),h(1," check_circle "),l())}function dae(t,n){if(1&t){const e=_e();d(0,"div")(1,"div")(2,"b"),h(3,"Copy the public IPs below, and use them to configure the network firewall to accept connections from them."),l(),d(4,"a",44),h(5,"Learn More"),l()(),D(6,"br"),_(7,oae,6,2,"li",45),_(8,rae,5,1,"div",15),D(9,"br"),_(10,aae,7,1,"div",26),_(11,sae,7,1,"div",26),_(12,cae,2,0,"mat-icon",46),d(13,"button",47),L("click",function(){return ae(e),se(w(2).createOrTestConnection(!0,!0))}),h(14,"TEST CONNECTION"),l(),_(15,lae,2,0,"mat-icon",48),d(16,"button",49),L("click",function(){return ae(e),se(w(2).createOrTestConnection(!0,!1))}),h(17,"CREATE PROFILE"),l()()}if(2&t){const e=w(2);m(7),f("ngForOf",e.ipList),m(1),f("ngIf",!e.testSuccess&&""!=e.errorSrcMsg),m(2),f("ngIf",e.testingSourceConnection),m(1),f("ngIf",e.creatingSourceConnection),m(1),f("ngIf",e.testSuccess),m(1),f("disabled",!e.determineConnectionProfileInfoValidity()||e.testingSourceConnection),m(2),f("ngIf",e.createSrcConnSuccess),m(1),f("disabled",!e.testSuccess||e.creatingSourceConnection)}}function uae(t,n){if(1&t){const e=_e();xe(0),d(1,"div",60)(2,"mat-form-field",5)(3,"mat-label"),h(4,"Logical Shard ID"),l(),D(5,"input",61),l(),d(6,"mat-form-field",5)(7,"mat-label"),h(8,"Source Database Name"),l(),D(9,"input",62),l(),d(10,"mat-icon",63),L("click",function(){const r=ae(e).index;return se(w(2).deleteRow(r))}),h(11," delete_forever"),l()(),we()}if(2&t){const e=n.index;m(1),f("formGroupName",e)}}function hae(t,n){if(1&t){const e=_e();d(0,"mat-radio-button",35),L("change",function(){const r=ae(e).$implicit;return se(w(2).onItemChange(r.value,"target"))}),h(1),l()}if(2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.display,"")}}function mae(t,n){if(1&t&&(d(0,"mat-option",16),h(1),l()),2&t){const e=n.$implicit;f("value",e.DisplayName),m(1),Se(" ",e.DisplayName," ")}}function pae(t,n){if(1&t&&(d(0,"div")(1,"mat-form-field",5)(2,"mat-label"),h(3,"Select target connection profile"),l(),d(4,"mat-select",64),_(5,mae,2,2,"mat-option",8),l()()()),2&t){const e=w(2);m(5),f("ngForOf",e.targetProfileList)}}function fae(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",55),D(3,"mat-spinner",56),l(),d(4,"span",57),h(5,"Creating target connection profile"),l(),D(6,"br"),l()),2&t&&(m(3),f("diameter",20))}function gae(t,n){1&t&&(d(0,"mat-icon",59),h(1," check_circle "),l())}function _ae(t,n){if(1&t&&(d(0,"div",53)(1,"span",51),h(2),l()()),2&t){const e=w(3);m(2),Re(e.errorTgtMsg)}}function bae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-form-field",42)(2,"mat-label"),h(3,"Connection profile name"),l(),D(4,"input",65),l(),_(5,fae,7,1,"div",26),_(6,gae,2,0,"mat-icon",48),d(7,"button",49),L("click",function(){return ae(e),se(w(2).createOrTestConnection(!1,!1))}),h(8,"CREATE PROFILE"),l(),_(9,_ae,3,1,"div",15),l()}if(2&t){const e=w(2);m(5),f("ngIf",e.creatingTargetConnection),m(1),f("ngIf",e.createTgtConnSuccess),m(1),f("disabled",e.creatingTargetConnection),m(2),f("ngIf",""!=e.errorTgtMsg)}}function vae(t,n){if(1&t){const e=_e();d(0,"div",18)(1,"span",22),h(2,"Configure Source Profile"),l(),d(3,"div",23)(4,"mat-radio-group",24),L("ngModelChange",function(o){return ae(e),se(w().selectedSourceProfileOption=o)}),_(5,eae,2,2,"mat-radio-button",25),l()(),D(6,"br"),_(7,iae,10,2,"div",26),_(8,nae,25,1,"div",26),D(9,"br"),_(10,dae,18,8,"div",26),D(11,"hr"),d(12,"span",22),h(13,"Configure ShardId and Database Names"),l(),d(14,"mat-icon",27),h(15,"info"),l(),D(16,"br")(17,"br"),d(18,"span",28),xe(19,29),_(20,uae,12,1,"ng-container",30),we(),l(),d(21,"div",31)(22,"button",32),L("click",function(){return ae(e),se(w().addRow())}),h(23,"ADD ROW"),l()(),D(24,"br")(25,"hr"),d(26,"span",22),h(27,"Configure Target Profile"),l(),d(28,"div",33)(29,"mat-radio-group",34),L("ngModelChange",function(o){return ae(e),se(w().selectedTargetProfileOption=o)}),_(30,hae,2,2,"mat-radio-button",25),l()(),D(31,"br"),_(32,pae,6,1,"div",26),_(33,bae,10,4,"div",26),D(34,"hr"),l()}if(2&t){const e=w();m(4),f("ngModel",e.selectedSourceProfileOption),m(1),f("ngForOf",e.profileOptions),m(2),f("ngIf","existing"===e.selectedSourceProfileOption),m(1),f("ngIf","new"===e.selectedSourceProfileOption),m(2),f("ngIf","new"===e.selectedSourceProfileOption),m(10),f("ngForOf",e.shardMappingTable.controls),m(9),f("ngModel",e.selectedTargetProfileOption),m(1),f("ngForOf",e.profileOptions),m(2),f("ngIf","existing"===e.selectedTargetProfileOption),m(1),f("ngIf","new"===e.selectedTargetProfileOption)}}function yae(t,n){if(1&t){const e=_e();d(0,"button",66),L("click",function(){return ae(e),se(w().saveDetailsAndReset())}),h(1," ADD MORE SHARDS "),l()}2&t&&f("disabled",!w().determineFormValidity())}function xae(t,n){if(1&t&&(d(0,"div",53)(1,"span",51),h(2),l(),d(3,"mat-icon",54),h(4," error "),l()()),2&t){const e=w();m(2),Re(e.errorMsg),m(1),f("matTooltip",e.errorMsg)}}let wae=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.formBuilder=o,this.dialogRef=r,this.data=a,this.selectedProfile="",this.profileType="",this.sourceProfileList=[],this.targetProfileList=[],this.definedSrcConnProfileList=[],this.definedTgtConnProfileList=[],this.shardIdToDBMappingTable=[],this.dataShardIdList=[],this.ipList=[],this.selectedSourceProfileOption="existing",this.selectedTargetProfileOption="existing",this.profileOptions=[{value:"existing",display:"Choose an existing connection profile"},{value:"new",display:"Create a new connection profile"}],this.profileName="",this.errorMsg="",this.errorSrcMsg="",this.errorTgtMsg="",this.sourceDatabaseType="",this.inputValue="",this.testSuccess=!1,this.createSrcConnSuccess=!1,this.createTgtConnSuccess=!1,this.physicalShards=0,this.logicalShards=0,this.testingSourceConnection=!1,this.creatingSourceConnection=!1,this.creatingTargetConnection=!1,this.prefix="smt_datashard",this.inputOptionsList=[{value:"text",displayName:"Text"},{value:"form",displayName:"Form"}],this.region=a.Region,this.sourceDatabaseType=a.SourceDatabaseType,localStorage.getItem($i.Type)==An.DirectConnect&&(this.schemaSourceConfig=JSON.parse(localStorage.getItem($i.Config)));let c=this.formBuilder.group({logicalShardId:["",me.required],dbName:["",me.required]});this.inputValue=this.prefix+"_"+this.randomString(4)+"_"+this.randomString(4),this.migrationProfileForm=this.formBuilder.group({inputType:["form",me.required],textInput:[""],sourceProfileOption:["new",me.required],targetProfileOption:["new",me.required],newSourceProfile:["",[me.pattern("^[a-z][a-z0-9-]{0,59}$")]],existingSourceProfile:[],newTargetProfile:["",me.pattern("^[a-z][a-z0-9-]{0,59}$")],existingTargetProfile:[],host:[this.schemaSourceConfig?.hostName],user:[this.schemaSourceConfig?.userName],port:[this.schemaSourceConfig?.port],password:[this.schemaSourceConfig?.password],dataShardId:[this.inputValue,me.required],shardMappingTable:this.formBuilder.array([c])}),this.migrationProfile={configType:"dataflow",shardConfigurationDataflow:{schemaSource:{host:this.schemaSourceConfig?.hostName,user:this.schemaSourceConfig?.userName,password:this.schemaSourceConfig?.password,port:this.schemaSourceConfig?.port,dbName:this.schemaSourceConfig?.dbName},dataShards:[]}}}ngOnInit(){this.getConnectionProfiles(!0),this.getConnectionProfiles(!1),this.getDatastreamIPs(),this.initFromLocalStorage()}initFromLocalStorage(){}get shardMappingTable(){return this.migrationProfileForm.controls.shardMappingTable}addRow(){let e=this.formBuilder.group({logicalShardId:["",me.required],dbName:["",me.required]});this.shardMappingTable.push(e)}deleteRow(e){this.shardMappingTable.removeAt(e)}getDatastreamIPs(){this.fetch.getStaticIps().subscribe({next:e=>{this.ipList=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}getConnectionProfiles(e){this.fetch.getConnectionProfiles(e).subscribe({next:i=>{e?this.sourceProfileList=i:this.targetProfileList=i},error:i=>{this.snack.openSnackBar(i.error,"Close")}})}onItemChange(e,i){this.profileType=i,"source"===this.profileType?(this.selectedSourceProfileOption=e,"new"==this.selectedSourceProfileOption?(this.migrationProfileForm.get("newSourceProfile")?.setValidators([me.required]),this.migrationProfileForm.controls.existingSourceProfile.clearValidators(),this.migrationProfileForm.controls.newSourceProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingSourceProfile.updateValueAndValidity(),this.migrationProfileForm.get("host")?.setValidators([me.required]),this.migrationProfileForm.controls.host.updateValueAndValidity(),this.migrationProfileForm.get("user")?.setValidators([me.required]),this.migrationProfileForm.controls.user.updateValueAndValidity(),this.migrationProfileForm.get("port")?.setValidators([me.required]),this.migrationProfileForm.controls.port.updateValueAndValidity(),this.migrationProfileForm.get("password")?.setValidators([me.required]),this.migrationProfileForm.controls.password.updateValueAndValidity()):(this.migrationProfileForm.controls.newSourceProfile.clearValidators(),this.migrationProfileForm.get("existingSourceProfile")?.addValidators([me.required]),this.migrationProfileForm.controls.newSourceProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingSourceProfile.updateValueAndValidity(),this.migrationProfileForm.controls.host.clearValidators(),this.migrationProfileForm.controls.host.updateValueAndValidity(),this.migrationProfileForm.controls.user.clearValidators(),this.migrationProfileForm.controls.user.updateValueAndValidity(),this.migrationProfileForm.controls.port.clearValidators(),this.migrationProfileForm.controls.port.updateValueAndValidity(),this.migrationProfileForm.controls.password.clearValidators(),this.migrationProfileForm.controls.password.updateValueAndValidity())):(this.selectedTargetProfileOption=e,"new"==this.selectedTargetProfileOption?(this.migrationProfileForm.get("newTargetProfile")?.setValidators([me.required]),this.migrationProfileForm.controls.existingTargetProfile.clearValidators(),this.migrationProfileForm.controls.newTargetProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingTargetProfile.updateValueAndValidity()):(this.migrationProfileForm.controls.newTargetProfile.clearValidators(),this.migrationProfileForm.get("existingTargetProfile")?.addValidators([me.required]),this.migrationProfileForm.controls.newTargetProfile.updateValueAndValidity(),this.migrationProfileForm.controls.existingTargetProfile.updateValueAndValidity()))}setValidators(e){if("text"===e){for(const o in this.migrationProfileForm.controls)this.migrationProfileForm.controls[o].clearValidators(),this.migrationProfileForm.controls[o].updateValueAndValidity();this.migrationProfileForm.get("shardMappingTable").controls.forEach(o=>{const r=o,a=r.get("logicalShardId"),s=r.get("dbName");a?.clearValidators(),a?.updateValueAndValidity(),s?.clearValidators(),s?.updateValueAndValidity()}),this.migrationProfileForm.controls.textInput.setValidators([me.required]),this.migrationProfileForm.controls.textInput.updateValueAndValidity()}else this.onItemChange("new","source"),this.onItemChange("new","target"),this.migrationProfileForm.controls.textInput.clearValidators(),this.migrationProfileForm.controls.textInput.updateValueAndValidity()}saveDetailsAndReset(){this.handleConnConfigsFromForm();let e=this.formBuilder.group({logicalShardId:["",me.required],dbName:["",me.required]});this.inputValue=this.prefix+"_"+this.randomString(4)+"_"+this.randomString(4),this.migrationProfileForm=this.formBuilder.group({inputType:["form",me.required],textInput:[],sourceProfileOption:[this.selectedSourceProfileOption],targetProfileOption:[this.selectedTargetProfileOption],newSourceProfile:["",[me.pattern("^[a-z][a-z0-9-]{0,59}$")]],existingSourceProfile:[],newTargetProfile:["",me.pattern("^[a-z][a-z0-9-]{0,59}$")],existingTargetProfile:[],host:[],user:[],port:[],password:[],dataShardId:[this.inputValue],shardMappingTable:this.formBuilder.array([e])}),this.testSuccess=!1,this.createSrcConnSuccess=!1,this.createTgtConnSuccess=!1,this.snack.openSnackBar("Shard configured successfully, please configure the next","Close",5)}randomString(e){for(var o="",r=0;r{localStorage.setItem(ue.IsSourceConnectionProfileSet,"true"),localStorage.setItem(ue.IsTargetConnectionProfileSet,"true"),localStorage.setItem(ue.NumberOfShards,this.determineTotalLogicalShardsConfigured().toString()),localStorage.setItem(ue.NumberOfInstances,this.migrationProfile.shardConfigurationDataflow.dataShards.length.toString()),this.dialogRef.close()},error:o=>{this.errorMsg=o.error}})}determineTotalLogicalShardsConfigured(){let e=0;return this.migrationProfile.shardConfigurationDataflow.dataShards.forEach(i=>{e+=i.databases.length}),e}handleConnConfigsFromForm(){let e=this.migrationProfileForm.value;this.dataShardIdList.push(e.dataShardId),this.definedSrcConnProfileList.push("new"===this.selectedSourceProfileOption?{name:e.newSourceProfile,location:this.region}:{name:e.existingSourceProfile,location:this.region}),this.definedTgtConnProfileList.push("new"===this.selectedTargetProfileOption?{name:e.newTargetProfile,location:this.region}:{name:e.existingTargetProfile,location:this.region});let i=[];for(let o of this.shardMappingTable.controls)if(o instanceof ni){const r=o.value;i.push({dbName:r.dbName,databaseId:r.logicalShardId,refDataShardId:e.dataShardId})}this.shardIdToDBMappingTable.push(i),this.physicalShards++,this.logicalShards=this.logicalShards+i.length}determineFormValidity(){return!(!this.migrationProfileForm.valid||"new"===this.selectedSourceProfileOption&&!this.createSrcConnSuccess||"new"===this.selectedTargetProfileOption&&!this.createTgtConnSuccess)}determineFinishValidity(){return this.definedSrcConnProfileList.length>0||this.determineFormValidity()}determineConnectionProfileInfoValidity(){let e=this.migrationProfileForm.value;return null!=e.host&&null!=e.port&&null!=e.user&&null!=e.password&&null!=e.newSourceProfile}createOrTestConnection(e,i){i?this.testingSourceConnection=!0:e?this.creatingSourceConnection=!0:this.creatingTargetConnection=!0;let r,o=this.migrationProfileForm.value;r=e?{Id:o.newSourceProfile,IsSource:!0,ValidateOnly:i,Host:o.host,Port:o.port,User:o.user,Password:o.password}:{Id:o.newTargetProfile,IsSource:!1,ValidateOnly:i},this.fetch.createConnectionProfile(r).subscribe({next:()=>{i?(this.testingSourceConnection=!1,this.testSuccess=!0):e?(this.createSrcConnSuccess=!0,this.errorSrcMsg="",this.creatingSourceConnection=!1):(this.createTgtConnSuccess=!0,this.errorTgtMsg="",this.creatingTargetConnection=!1)},error:a=>{i?(this.testingSourceConnection=!1,this.testSuccess=!1,this.errorSrcMsg=a.error):e?(this.createSrcConnSuccess=!1,this.errorSrcMsg=a.error,this.creatingSourceConnection=!1):(this.createTgtConnSuccess=!1,this.errorTgtMsg=a.error,this.creatingTargetConnection=!1)}})}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Kr),g(En),g(ro))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sharded-dataflow-migration-details-form"]],decls:26,vars:8,consts:[["mat-dialog-content","",1,"connect-load-database-container"],[1,"conn-profile-form",3,"formGroup"],[1,"mat-h2","header-title"],[1,"top"],[1,"top-1"],["appearance","outline"],["formControlName","inputType",3,"selectionChange"],["inputType",""],[3,"value",4,"ngFor","ngForOf"],["class","top-2",4,"ngIf"],["class","textInput",4,"ngIf"],[1,"last-btns"],["mat-button","","color","primary","mat-dialog-close",""],["mat-raised-button","","type","submit","color","accent",3,"disabled","click",4,"ngIf"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["class","failure",4,"ngIf"],[3,"value"],[1,"top-2"],[1,"textInput"],["appearance","outline",1,"json-input"],["name","textInput","formControlName","textInput","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","20"],["autosize","cdkTextareaAutosize"],[1,"mat-h4","header-title"],[1,"source-radio-button-container"],["formControlName","sourceProfileOption",1,"radio-button-container",3,"ngModel","ngModelChange"],["class","radio-button",3,"value","change",4,"ngFor","ngForOf"],[4,"ngIf"],["matTooltip","Logical Shard ID value will be used to populate the migration_shard_id column added as part of sharded database migration",1,"configure"],[1,"border"],["formArrayName","shardMappingTable"],[4,"ngFor","ngForOf"],[1,"table-buttons"],["mat-raised-button","","color","primary","type","button",3,"click"],[1,"target-radio-button-container"],["formControlName","targetProfileOption",1,"radio-button-container",3,"ngModel","ngModelChange"],[1,"radio-button",3,"value","change"],["formControlName","existingSourceProfile","required","true","ng-value","selectedProfile",1,"input-field"],["matInput","","type","text","formControlName","dataShardId","required","true","readonly","",3,"value"],["matInput","","placeholder","Host","type","text","formControlName","host","required","true"],["matInput","","placeholder","User","type","text","formControlName","user","required","true"],["matInput","","placeholder","Port","type","text","formControlName","port","required","true"],["matInput","","placeholder","Password","type","password","formControlName","password","required","true"],["appearance","outline","hintLabel","Name can include lower case letters, numbers and hyphens. Must start with a letter."],["matInput","","placeholder","Connection profile name","type","text","formControlName","newSourceProfile","required","true"],["href","https://cloud.google.com/datastream/docs/network-connectivity-options#ipallowlists","target","_blank"],["class","connection-form-container",4,"ngFor","ngForOf"],["class","success","matTooltip","Test connection successful","matTooltipPosition","above",4,"ngIf"],["mat-raised-button","","type","button","color","primary",3,"disabled","click"],["class","success","matTooltip","Profile creation successful","matTooltipPosition","above",4,"ngIf"],["mat-raised-button","","type","button","color","warn",3,"disabled","click"],[1,"connection-form-container"],[1,"left-text"],["matTooltip","Copy",1,"icon","copy",3,"cdkCopyToClipboard"],[1,"failure"],["matTooltipPosition","above",1,"icon","error",3,"matTooltip"],[1,"spinner"],[3,"diameter"],[1,"spinner-small-text"],["matTooltip","Test connection successful","matTooltipPosition","above",1,"success"],["matTooltip","Profile creation successful","matTooltipPosition","above",1,"success"],[1,"shard-mapping-form-row",3,"formGroupName"],["matInput","","formControlName","logicalShardId","placeholder","Enter Logical ShardID"],["matInput","","formControlName","dbName","placeholder","Enter Database Name"],[1,"delete-btn",3,"click"],["formControlName","existingTargetProfile","required","true","ng-value","selectedProfile",1,"input-field"],["matInput","","placeholder","Connection profile name","type","text","formControlName","newTargetProfile","required","true"],["mat-raised-button","","type","submit","color","accent",3,"disabled","click"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"form",1)(2,"span",2),h(3,"Datastream Details"),l(),D(4,"br"),d(5,"b"),h(6,"Note: Please configure the database used for schema conversion, if you want Spanner migration tool to migrate data from it as well."),l(),d(7,"div",3),h(8,"` "),d(9,"div",4)(10,"mat-form-field",5)(11,"mat-label"),h(12,"Input Type"),l(),d(13,"mat-select",6,7),L("selectionChange",function(){ae(r);const s=At(14);return se(o.setValidators(s.value))}),_(15,Qre,2,2,"mat-option",8),l()()(),_(16,Xre,9,2,"div",9),l(),_(17,Jre,6,0,"div",10),_(18,vae,35,10,"div",10),d(19,"div",11)(20,"button",12),h(21,"CANCEL"),l(),_(22,yae,2,1,"button",13),d(23,"button",14),L("click",function(){return o.finalizeConnDetails()}),h(24," FINISH "),l(),_(25,xae,5,2,"div",15),l()()()}2&i&&(m(1),f("formGroup",o.migrationProfileForm),m(14),f("ngForOf",o.inputOptionsList),m(1),f("ngIf","form"===o.migrationProfileForm.value.inputType),m(1),f("ngIf","text"===o.migrationProfileForm.value.inputType),m(1),f("ngIf","form"===o.migrationProfileForm.value.inputType),m(4),f("ngIf","form"===o.migrationProfileForm.value.inputType),m(1),f("disabled",!o.determineFinishValidity()),m(2),f("ngIf",""!=o.errorMsg))},dependencies:[an,Et,Kt,_i,Ud,CI,qv,Wv,Oi,Ii,sn,q2,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,Qd,Xd,wo,vr,On,$p,Gp,l0,bl],styles:[".icon[_ngcontent-%COMP%]{font-size:15px}.connection-form-container[_ngcontent-%COMP%]{display:block}.left-text[_ngcontent-%COMP%]{width:40%;display:inline-block}.shard-mapping-form-row[_ngcontent-%COMP%]{width:80%;margin-left:auto;margin-right:auto}.table-header[_ngcontent-%COMP%]{width:80%;margin:auto auto 10px;text-align:right;display:flex;align-items:center;justify-content:space-between}form[_ngcontent-%COMP%], .table-body[_ngcontent-%COMP%]{flex:auto;overflow-y:auto}.table-buttons[_ngcontent-%COMP%]{margin-left:70%}.radio-button-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin:15px 0;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}.json-input[_ngcontent-%COMP%]{width:100%}.top[_ngcontent-%COMP%]{border:3px solid #fff;padding:20px}.top-1[_ngcontent-%COMP%]{width:60%;float:left}.top-2[_ngcontent-%COMP%]{width:40%;float:right;flex:auto}.last-btns[_ngcontent-%COMP%]{padding:20px;width:100%;float:left}"]})}return t})();function Cae(t,n){1&t&&(d(0,"h2"),h(1,"Source and Target Database definitions"),l())}function Dae(t,n){1&t&&(d(0,"h2"),h(1,"Source and Target Database definitions (per shard)"),l())}function kae(t,n){1&t&&(d(0,"th",36),h(1,"Title"),l())}function Sae(t,n){if(1&t&&(d(0,"td",37)(1,"b"),h(2),l()()),2&t){const e=n.$implicit;m(2),Re(e.title)}}function Mae(t,n){1&t&&(d(0,"th",36),h(1,"Source"),l())}function Tae(t,n){if(1&t&&(d(0,"td",37),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.source)}}function Iae(t,n){1&t&&(d(0,"th",36),h(1,"Destination"),l())}function Eae(t,n){if(1&t&&(d(0,"td",37),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.target)}}function Oae(t,n){1&t&&D(0,"tr",38)}function Aae(t,n){1&t&&D(0,"tr",39)}function Pae(t,n){if(1&t&&(d(0,"mat-option",40),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Se(" ",e," ")}}function Rae(t,n){if(1&t&&(d(0,"mat-option",40),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.name," ")}}function Fae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-form-field",20)(2,"mat-label"),h(3,"Migration Type:"),l(),d(4,"mat-select",21),L("ngModelChange",function(o){return ae(e),se(w().selectedMigrationType=o)})("selectionChange",function(){return ae(e),se(w().refreshPrerequisites())}),_(5,Rae,2,2,"mat-option",22),l()(),d(6,"mat-icon",23),h(7,"info"),l(),D(8,"br"),l()}if(2&t){const e=w();m(4),f("ngModel",e.selectedMigrationType),m(1),f("ngForOf",e.migrationTypes),m(1),f("matTooltip",e.migrationTypesHelpText.get(e.selectedMigrationType))}}function Nae(t,n){if(1&t&&(d(0,"mat-option",40),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Se(" ",e.displayName," ")}}function Lae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-form-field",20)(2,"mat-label"),h(3,"Skip Foreign Key Creation:"),l(),d(4,"mat-select",41),L("ngModelChange",function(o){return ae(e),se(w().isForeignKeySkipped=o)}),_(5,Nae,2,2,"mat-option",22),l()()()}if(2&t){const e=w();m(4),f("ngModel",e.isForeignKeySkipped),m(1),f("ngForOf",e.skipForeignKeyResponseList)}}function Bae(t,n){1&t&&(d(0,"div",42)(1,"p",26)(2,"span",27),h(3,"1"),l(),d(4,"span"),h(5,"Please ensure that the application default credentials deployed on this machine have permissions to write to Spanner."),l()()())}function Vae(t,n){1&t&&(d(0,"div",42)(1,"p",26)(2,"span",27),h(3,"1"),l(),d(4,"span"),h(5,"Please ensure that the source is "),d(6,"a",43),h(7,"configured"),l(),h(8," for Datastream change data capture."),l()(),d(9,"p",26)(10,"span",27),h(11,"2"),l(),d(12,"span"),h(13,"Please ensure that Dataflow "),d(14,"a",44),h(15,"permissions"),l(),h(16," and "),d(17,"a",45),h(18,"networking"),l(),h(19," are correctly setup."),l()()())}function jae(t,n){1&t&&(d(0,"mat-icon",47),h(1," check_circle "),l())}function zae(t,n){if(1&t){const e=_e();d(0,"div")(1,"h3"),h(2,"Source database details:"),l(),d(3,"p",26)(4,"span",27),h(5,"1"),l(),d(6,"span"),h(7,"Setup Source database details"),l(),d(8,"span")(9,"button",29),L("click",function(){return ae(e),se(w().openSourceDetailsForm())}),h(10," Configure "),d(11,"mat-icon",30),h(12,"edit"),l(),_(13,jae,2,0,"mat-icon",46),l()()()()}if(2&t){const e=w();m(9),f("disabled",e.isMigrationInProgress),m(4),f("ngIf",e.isSourceDetailsSet)}}function Hae(t,n){1&t&&(d(0,"mat-icon",47),h(1," check_circle "),l())}function Uae(t,n){if(1&t){const e=_e();d(0,"div")(1,"mat-card-title"),h(2,"Source databases details:"),l(),d(3,"p",26)(4,"span",27),h(5,"1"),l(),d(6,"span"),h(7,"Setup Source Connection details "),d(8,"mat-icon",48),h(9," info"),l()(),d(10,"span")(11,"button",29),L("click",function(){return ae(e),se(w().openShardedBulkSourceDetailsForm())}),h(12," Configure "),d(13,"mat-icon",30),h(14,"edit"),l(),_(15,Hae,2,0,"mat-icon",46),l()()()()}if(2&t){const e=w();m(11),f("disabled",e.isMigrationInProgress),m(4),f("ngIf",e.isSourceDetailsSet)}}function $ae(t,n){1&t&&(d(0,"mat-icon",49),h(1," check_circle "),l())}function Gae(t,n){1&t&&(d(0,"mat-icon",52),h(1," check_circle "),l())}function Wae(t,n){if(1&t){const e=_e();d(0,"p",26)(1,"span",27),h(2,"2"),l(),d(3,"span"),h(4,"Configure Datastream "),d(5,"mat-icon",50),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openMigrationProfileForm())}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,Gae,2,0,"mat-icon",51),l()()()}if(2&t){const e=w();m(8),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isSourceConnectionProfileSet)}}function qae(t,n){1&t&&(d(0,"mat-icon",52),h(1," check_circle "),l())}function Kae(t,n){if(1&t){const e=_e();d(0,"p",26)(1,"span",27),h(2,"2"),l(),d(3,"span"),h(4,"Setup source connection profile "),d(5,"mat-icon",53),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openConnectionProfileForm(!0))}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,qae,2,0,"mat-icon",51),l()()()}if(2&t){const e=w();m(8),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isSourceConnectionProfileSet)}}function Zae(t,n){1&t&&(d(0,"mat-icon",56),h(1," check_circle "),l())}function Yae(t,n){if(1&t){const e=_e();d(0,"p",26)(1,"span",27),h(2,"3"),l(),d(3,"span"),h(4,"Setup target connection profile "),d(5,"mat-icon",54),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openConnectionProfileForm(!1))}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,Zae,2,0,"mat-icon",55),l()()()}if(2&t){const e=w();m(8),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isTargetConnectionProfileSet)}}function Qae(t,n){1&t&&(d(0,"span",27),h(1,"3"),l())}function Xae(t,n){1&t&&(d(0,"span",27),h(1,"4"),l())}function Jae(t,n){1&t&&(d(0,"mat-icon",60),h(1," check_circle "),l())}function ese(t,n){if(1&t){const e=_e();d(0,"p",26),_(1,Qae,2,0,"span",57),_(2,Xae,2,0,"span",57),d(3,"span"),h(4,"Tune Dataflow (Optional) "),d(5,"mat-icon",58),h(6," info"),l()(),d(7,"span")(8,"button",29),L("click",function(){return ae(e),se(w().openDataflowForm())}),h(9," Configure "),d(10,"mat-icon",30),h(11,"edit"),l(),_(12,Jae,2,0,"mat-icon",59),l()()()}if(2&t){const e=w();m(1),f("ngIf",e.isSharded),m(1),f("ngIf",!e.isSharded),m(6),f("disabled",e.isMigrationInProgress||!e.isTargetDetailSet),m(4),f("ngIf",e.isDataflowConfigurationSet)}}function tse(t,n){1&t&&(d(0,"span",27),h(1,"4"),l())}function ise(t,n){if(1&t){const e=_e();d(0,"p",26),_(1,tse,2,0,"span",57),d(2,"span"),h(3,"Download configuration as JSON "),d(4,"mat-icon",61),h(5,"info "),l()(),d(6,"span")(7,"button",29),L("click",function(){return ae(e),se(w().downloadConfiguration())}),h(8," Download "),d(9,"mat-icon",62),h(10," download"),l()()()()}if(2&t){const e=w();m(1),f("ngIf",e.isSharded),m(6),f("disabled",!e.isTargetDetailSet||!e.isTargetConnectionProfileSet)}}function nse(t,n){if(1&t&&(d(0,"div",24)(1,"mat-card")(2,"mat-card-title"),h(3,"Configured Source Details"),l(),d(4,"p",26)(5,"span",27),h(6,"1"),l(),d(7,"span")(8,"b"),h(9,"Source Database: "),l(),h(10),l()(),d(11,"p",26)(12,"span",27),h(13,"2"),l(),d(14,"span")(15,"b"),h(16,"Number of physical instances configured: "),l(),h(17),l()(),d(18,"p",26)(19,"span",27),h(20,"3"),l(),d(21,"span")(22,"b"),h(23,"Number of logical shards configured: "),l(),h(24),l()()()()),2&t){const e=w();m(10),Re(e.sourceDatabaseType),m(7),Se(" ",e.numberOfInstances,""),m(7),Se(" ",e.numberOfShards,"")}}function ose(t,n){if(1&t&&(d(0,"div",24)(1,"mat-card")(2,"mat-card-title"),h(3,"Configured Target Details"),l(),d(4,"p",26)(5,"span",27),h(6,"1"),l(),d(7,"span")(8,"b"),h(9,"Spanner Database: "),l(),h(10),l()(),d(11,"p",26)(12,"span",27),h(13,"2"),l(),d(14,"span")(15,"b"),h(16,"Spanner Dialect: "),l(),h(17),l()(),d(18,"p",26)(19,"span",27),h(20,"3"),l(),d(21,"span")(22,"b"),h(23,"Region: "),l(),h(24),l()(),d(25,"p",26)(26,"span",27),h(27,"4"),l(),d(28,"span")(29,"b"),h(30,"Spanner Instance: "),l(),h(31),l()()()()),2&t){const e=w();m(10),Re(e.targetDetails.TargetDB),m(7),Re(e.dialect),m(7),Re(e.region),m(7),O_("",e.instance," (Nodes: ",e.nodeCount,", Processing Units: ",e.processingUnits,")")}}function rse(t,n){if(1&t&&(d(0,"div",63),D(1,"br")(2,"mat-progress-bar",64),d(3,"span"),h(4),l()()),2&t){const e=w();m(2),f("value",e.schemaMigrationProgress),m(2),Se(" ",e.schemaProgressMessage,"")}}function ase(t,n){if(1&t&&(d(0,"div",63),D(1,"br")(2,"mat-progress-bar",64),d(3,"span"),h(4),l()()),2&t){const e=w();m(2),f("value",e.dataMigrationProgress),m(2),Se(" ",e.dataProgressMessage,"")}}function sse(t,n){if(1&t&&(d(0,"div",63),D(1,"br")(2,"mat-progress-bar",64),d(3,"span"),h(4),l()()),2&t){const e=w();m(2),f("value",e.foreignKeyUpdateProgress),m(2),Se(" ",e.foreignKeyProgressMessage,"")}}function cse(t,n){1&t&&(d(0,"div"),D(1,"br"),d(2,"span",65),D(3,"mat-spinner",66),l(),d(4,"span",67),h(5,"Generating Resources"),l(),D(6,"br"),h(7," Note: Spanner migration tool is creating datastream and dataflow resources. Please look at the terminal logs to check the progress of resource creation. All created resources will be displayed here once they are generated. "),l()),2&t&&(m(3),f("diameter",20))}function lse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Monitoring Dashboard: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.MonitoringDashboardUrl,kn),m(1),Re(e.resourcesGenerated.MonitoringDashboardName)}}function dse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Aggregated Monitoring Dashboard: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(3);m(3),f("href",e.resourcesGenerated.AggMonitoringDashboardUrl,kn),m(1),Re(e.resourcesGenerated.AggMonitoringDashboardName)}}function use(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Dashboard for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function hse(t,n){if(1&t&&(d(0,"span"),_(1,dse,5,2,"span",10),_(2,use,4,3,"li",69),va(3,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngIf",""!==e.resourcesGenerated.AggMonitoringDashboardName&&e.isSharded),m(1),f("ngForOf",ya(3,2,e.resourcesGenerated.ShardToMonitoringDashboardMap))}}function mse(t,n){if(1&t&&(d(0,"div")(1,"h3"),h(2," Monitoring Dashboards:"),l(),_(3,lse,5,2,"span",10),_(4,hse,4,4,"span",10),l()),2&t){const e=w();m(3),f("ngIf",!e.isSharded),m(1),f("ngIf",e.isSharded)}}function pse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Datastream job: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.DataStreamJobUrl,kn),m(1),Re(e.resourcesGenerated.DataStreamJobName)}}function fse(t,n){if(1&t){const e=_e();d(0,"span")(1,"li"),h(2,"Dataflow job: "),d(3,"a",68),h(4),l(),d(5,"span")(6,"button",70),L("click",function(){ae(e);const o=w(2);return se(o.openGcloudPopup(o.resourcesGenerated.DataflowGcloudCmd))}),d(7,"mat-icon",71),h(8," code"),l()()()()()}if(2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.DataflowJobUrl,kn),m(1),Re(e.resourcesGenerated.DataflowJobName)}}function gse(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Pubsub topic: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.PubsubTopicUrl,kn),m(1),Re(e.resourcesGenerated.PubsubTopicName)}}function _se(t,n){if(1&t&&(d(0,"span")(1,"li"),h(2," Pubsub subscription: "),d(3,"a",68),h(4),l()()()),2&t){const e=w(2);m(3),f("href",e.resourcesGenerated.PubsubSubscriptionUrl,kn),m(1),Re(e.resourcesGenerated.PubsubSubscriptionName)}}function bse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Datastream job for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function vse(t,n){if(1&t&&(d(0,"span"),_(1,bse,4,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToDatastreamMap))}}function yse(t,n){if(1&t){const e=_e();d(0,"li"),h(1),d(2,"a",68),h(3),l(),d(4,"span")(5,"button",70),L("click",function(){const r=ae(e).$implicit;return se(w(3).openGcloudPopup(r.value.GcloudCmd))}),d(6,"mat-icon",71),h(7," code"),l()()()()}if(2&t){const e=n.$implicit;m(1),Se(" Dataflow job for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function xse(t,n){if(1&t&&(d(0,"span"),_(1,yse,8,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToDataflowMap))}}function wse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Pubsub topic for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function Cse(t,n){if(1&t&&(d(0,"span"),_(1,wse,4,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToPubsubTopicMap))}}function Dse(t,n){if(1&t&&(d(0,"li"),h(1),d(2,"a",68),h(3),l()()),2&t){const e=n.$implicit;m(1),Se(" Pubsub subscription for shardId: ",e.key," - "),m(1),f("href",e.value.JobUrl,kn),m(1),Re(e.value.JobName)}}function kse(t,n){if(1&t&&(d(0,"span"),_(1,Dse,4,3,"li",69),va(2,"keyvalue"),l()),2&t){const e=w(2);m(1),f("ngForOf",ya(2,1,e.resourcesGenerated.ShardToPubsubSubscriptionMap))}}function Sse(t,n){1&t&&(d(0,"span")(1,"b"),h(2,"Note: "),l(),h(3,"Spanner migration tool has orchestrated the migration successfully. For minimal downtime migrations, it is safe to close Spanner migration tool now without affecting the progress of the migration. Please note that Spanner migration tool does not save the IDs of the Dataflow jobs created once closed, so please keep copy over the links in the Generated Resources section above before closing Spanner migration tool. "),l())}function Mse(t,n){if(1&t&&(d(0,"div")(1,"h3"),h(2," Generated Resources:"),l(),d(3,"li"),h(4,"Spanner database: "),d(5,"a",68),h(6),l()(),d(7,"li"),h(8,"GCS bucket: "),d(9,"a",68),h(10),l()(),_(11,pse,5,2,"span",10),_(12,fse,9,2,"span",10),_(13,gse,5,2,"span",10),_(14,_se,5,2,"span",10),_(15,vse,3,3,"span",10),_(16,xse,3,3,"span",10),_(17,Cse,3,3,"span",10),_(18,kse,3,3,"span",10),D(19,"br")(20,"br"),_(21,Sse,4,0,"span",10),l()),2&t){const e=w();m(5),f("href",e.resourcesGenerated.DatabaseUrl,kn),m(1),Re(e.resourcesGenerated.DatabaseName),m(3),f("href",e.resourcesGenerated.BucketUrl,kn),m(1),Re(e.resourcesGenerated.BucketName),m(1),f("ngIf",""!==e.resourcesGenerated.DataStreamJobName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.DataflowJobName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubTopicName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubSubscriptionName&&"lowdt"===e.selectedMigrationType&&!e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.DataStreamJobName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.DataflowJobName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubTopicName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(1),f("ngIf",""!==e.resourcesGenerated.PubsubSubscriptionName&&"lowdt"===e.selectedMigrationType&&e.isSharded),m(3),f("ngIf","lowdt"===e.selectedMigrationType)}}function Tse(t,n){if(1&t){const e=_e();d(0,"span")(1,"button",72),L("click",function(){return ae(e),se(w().migrate())}),h(2,"Migrate"),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.isTargetDetailSet&&"lowdt"===e.selectedMigrationType&&e.isSourceConnectionProfileSet&&e.isTargetConnectionProfileSet||e.isTargetDetailSet&&"bulk"===e.selectedMigrationType)||e.isMigrationInProgress)}}function Ise(t,n){if(1&t){const e=_e();d(0,"span")(1,"button",73),L("click",function(){return ae(e),se(w().endMigration())}),h(2,"End Migration"),l()()}}const Ese=[{path:"",component:BJ},{path:"source",component:hee,children:[{path:"",redirectTo:"/direct-connection",pathMatch:"full"},{path:"direct-connection",component:KX},{path:"load-dump",component:QJ},{path:"load-session",component:iee}]},{path:"workspace",component:vre},{path:"instruction",component:NA},{path:"prepare-migration",component:(()=>{class t{constructor(e,i,o,r,a){this.dialog=e,this.fetch=i,this.snack=o,this.data=r,this.sidenav=a,this.displayedColumns=["Title","Source","Destination"],this.dataSource=[],this.migrationModes=[],this.migrationTypes=[],this.isSourceConnectionProfileSet=!1,this.isTargetConnectionProfileSet=!1,this.isDataflowConfigurationSet=!1,this.isSourceDetailsSet=!1,this.isTargetDetailSet=!1,this.isForeignKeySkipped=!1,this.isMigrationDetailSet=!1,this.isStreamingSupported=!1,this.hasDataMigrationStarted=!1,this.hasSchemaMigrationStarted=!1,this.hasForeignKeyUpdateStarted=!1,this.selectedMigrationMode=Dr.schemaAndData,this.connectionType=An.DirectConnect,this.selectedMigrationType=vn.lowDowntimeMigration,this.isMigrationInProgress=!1,this.isLowDtMigrationRunning=!1,this.isResourceGenerated=!1,this.generatingResources=!1,this.errorMessage="",this.schemaProgressMessage="Schema migration in progress...",this.dataProgressMessage="Data migration in progress...",this.foreignKeyProgressMessage="Foreign key update in progress...",this.dataMigrationProgress=0,this.schemaMigrationProgress=0,this.foreignKeyUpdateProgress=0,this.sourceDatabaseName="",this.sourceDatabaseType="",this.resourcesGenerated={DatabaseName:"",DatabaseUrl:"",BucketName:"",BucketUrl:"",DataStreamJobName:"",DataStreamJobUrl:"",DataflowJobName:"",DataflowJobUrl:"",PubsubTopicName:"",PubsubTopicUrl:"",PubsubSubscriptionName:"",PubsubSubscriptionUrl:"",MonitoringDashboardName:"",MonitoringDashboardUrl:"",AggMonitoringDashboardName:"",AggMonitoringDashboardUrl:"",DataflowGcloudCmd:"",ShardToDatastreamMap:new Map,ShardToDataflowMap:new Map,ShardToPubsubTopicMap:new Map,ShardToPubsubSubscriptionMap:new Map,ShardToMonitoringDashboardMap:new Map},this.region="",this.instance="",this.dialect="",this.isSharded=!1,this.numberOfShards="0",this.numberOfInstances="0",this.nodeCount=0,this.processingUnits=0,this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},this.dataflowConfig={network:localStorage.getItem("network"),subnetwork:localStorage.getItem("subnetwork"),vpcHostProjectId:localStorage.getItem("vpcHostProjectId"),maxWorkers:localStorage.getItem("maxWorkers"),numWorkers:localStorage.getItem("numWorkers"),serviceAccountEmail:localStorage.getItem("serviceAccountEmail"),machineType:localStorage.getItem("machineType"),additionalUserLabels:localStorage.getItem("additionalUserLabels"),kmsKeyName:localStorage.getItem("kmsKeyName"),projectId:localStorage.getItem("dataflowProjectId"),location:localStorage.getItem("dataflowLocation"),gcsTemplatePath:localStorage.getItem("gcsTemplatePath")},this.spannerConfig={GCPProjectID:"",SpannerInstanceID:"",IsMetadataDbCreated:!1,IsConfigValid:!1},this.skipForeignKeyResponseList=[{value:!1,displayName:"No"},{value:!0,displayName:"Yes"}],this.migrationModesHelpText=new Map([["Schema","Migrates only the schema of the source database to the configured Spanner instance."],["Data","Migrates the data from the source database to the configured Spanner database. The configured database should already contain the schema."],["Schema And Data","Migrates both the schema and the data from the source database to Spanner."]]),this.migrationTypesHelpText=new Map([["bulk","Use the POC migration option when you want to migrate a sample of your data (<100GB) to do a Proof of Concept. It uses this machine's resources to copy data from the source database to Spanner"],["lowdt","Uses change data capture via Datastream to setup a continuous data replication pipeline from source to Spanner, using Dataflow jobs to perform the actual data migration."]])}refreshMigrationMode(){this.selectedMigrationMode!==Dr.schemaOnly&&this.isStreamingSupported&&this.connectionType!==An.DumpFile?this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration},{name:"Minimal downtime Migration",value:vn.lowDowntimeMigration}]:(this.selectedMigrationType=vn.bulkMigration,this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration}])}refreshPrerequisites(){this.isSourceConnectionProfileSet=!1,this.isTargetConnectionProfileSet=!1,this.isTargetDetailSet=!1,this.refreshMigrationMode()}ngOnInit(){this.initializeFromLocalStorage(),this.data.config.subscribe(e=>{this.spannerConfig=e}),this.convObj=this.data.conv.subscribe(e=>{this.conv=e}),localStorage.setItem("vpcHostProjectId",this.spannerConfig.GCPProjectID),this.fetch.getSourceDestinationSummary().subscribe({next:e=>{this.connectionType=e.ConnectionType,this.dataSource=[{title:"Database Type",source:e.DatabaseType,target:"Spanner"},{title:"Number of tables",source:e.SourceTableCount,target:e.SpannerTableCount},{title:"Number of indexes",source:e.SourceIndexCount,target:e.SpannerIndexCount}],this.sourceDatabaseType=e.DatabaseType,this.region=e.Region,this.instance=e.Instance,this.dialect=e.Dialect,this.isSharded=e.IsSharded,this.processingUnits=e.ProcessingUnits,this.nodeCount=e.NodeCount,(e.DatabaseType==Za.MySQL.toLowerCase()||e.DatabaseType==Za.Oracle.toLowerCase()||e.DatabaseType==Za.Postgres.toLowerCase())&&(this.isStreamingSupported=!0),this.isStreamingSupported?this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration},{name:"Minimal downtime Migration",value:vn.lowDowntimeMigration}]:(this.selectedMigrationType=vn.bulkMigration,this.migrationTypes=[{name:"POC Migration",value:vn.bulkMigration}]),this.sourceDatabaseName=e.SourceDatabaseName,this.migrationModes=[Dr.schemaOnly,Dr.dataOnly,Dr.schemaAndData]},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}initializeFromLocalStorage(){null!=localStorage.getItem(ue.MigrationMode)&&(this.selectedMigrationMode=localStorage.getItem(ue.MigrationMode)),null!=localStorage.getItem(ue.MigrationType)&&(this.selectedMigrationType=localStorage.getItem(ue.MigrationType)),null!=localStorage.getItem(ue.isForeignKeySkipped)&&(this.isForeignKeySkipped="true"===localStorage.getItem(ue.isForeignKeySkipped)),null!=localStorage.getItem(ue.IsMigrationInProgress)&&(this.isMigrationInProgress="true"===localStorage.getItem(ue.IsMigrationInProgress),this.subscribeMigrationProgress()),null!=localStorage.getItem(ue.IsTargetDetailSet)&&(this.isTargetDetailSet="true"===localStorage.getItem(ue.IsTargetDetailSet)),null!=localStorage.getItem(ue.IsSourceConnectionProfileSet)&&(this.isSourceConnectionProfileSet="true"===localStorage.getItem(ue.IsSourceConnectionProfileSet)),null!=localStorage.getItem("isDataflowConfigSet")&&(this.isDataflowConfigurationSet="true"===localStorage.getItem("isDataflowConfigSet")),null!=localStorage.getItem(ue.IsTargetConnectionProfileSet)&&(this.isTargetConnectionProfileSet="true"===localStorage.getItem(ue.IsTargetConnectionProfileSet)),null!=localStorage.getItem(ue.IsSourceDetailsSet)&&(this.isSourceDetailsSet="true"===localStorage.getItem(ue.IsSourceDetailsSet)),null!=localStorage.getItem(ue.IsMigrationDetailSet)&&(this.isMigrationDetailSet="true"===localStorage.getItem(ue.IsMigrationDetailSet)),null!=localStorage.getItem(ue.HasSchemaMigrationStarted)&&(this.hasSchemaMigrationStarted="true"===localStorage.getItem(ue.HasSchemaMigrationStarted)),null!=localStorage.getItem(ue.HasDataMigrationStarted)&&(this.hasDataMigrationStarted="true"===localStorage.getItem(ue.HasDataMigrationStarted)),null!=localStorage.getItem(ue.DataMigrationProgress)&&(this.dataMigrationProgress=parseInt(localStorage.getItem(ue.DataMigrationProgress))),null!=localStorage.getItem(ue.SchemaMigrationProgress)&&(this.schemaMigrationProgress=parseInt(localStorage.getItem(ue.SchemaMigrationProgress))),null!=localStorage.getItem(ue.DataProgressMessage)&&(this.dataProgressMessage=localStorage.getItem(ue.DataProgressMessage)),null!=localStorage.getItem(ue.SchemaProgressMessage)&&(this.schemaProgressMessage=localStorage.getItem(ue.SchemaProgressMessage)),null!=localStorage.getItem(ue.ForeignKeyProgressMessage)&&(this.foreignKeyProgressMessage=localStorage.getItem(ue.ForeignKeyProgressMessage)),null!=localStorage.getItem(ue.ForeignKeyUpdateProgress)&&(this.foreignKeyUpdateProgress=parseInt(localStorage.getItem(ue.ForeignKeyUpdateProgress))),null!=localStorage.getItem(ue.HasForeignKeyUpdateStarted)&&(this.hasForeignKeyUpdateStarted="true"===localStorage.getItem(ue.HasForeignKeyUpdateStarted)),null!=localStorage.getItem(ue.GeneratingResources)&&(this.generatingResources="true"===localStorage.getItem(ue.GeneratingResources)),null!=localStorage.getItem(ue.NumberOfShards)&&(this.numberOfShards=localStorage.getItem(ue.NumberOfShards)),null!=localStorage.getItem(ue.NumberOfInstances)&&(this.numberOfInstances=localStorage.getItem(ue.NumberOfInstances))}clearLocalStorage(){localStorage.removeItem(ue.MigrationMode),localStorage.removeItem(ue.MigrationType),localStorage.removeItem(ue.IsTargetDetailSet),localStorage.removeItem(ue.isForeignKeySkipped),localStorage.removeItem(ue.IsSourceConnectionProfileSet),localStorage.removeItem(ue.IsTargetConnectionProfileSet),localStorage.removeItem(ue.IsSourceDetailsSet),localStorage.removeItem("isDataflowConfigSet"),localStorage.removeItem("network"),localStorage.removeItem("subnetwork"),localStorage.removeItem("maxWorkers"),localStorage.removeItem("numWorkers"),localStorage.removeItem("serviceAccountEmail"),localStorage.removeItem("vpcHostProjectId"),localStorage.removeItem("machineType"),localStorage.removeItem("additionalUserLabels"),localStorage.removeItem("kmsKeyName"),localStorage.removeItem("dataflowProjectId"),localStorage.removeItem("dataflowLocation"),localStorage.removeItem("gcsTemplatePath"),localStorage.removeItem(ue.IsMigrationInProgress),localStorage.removeItem(ue.HasSchemaMigrationStarted),localStorage.removeItem(ue.HasDataMigrationStarted),localStorage.removeItem(ue.DataMigrationProgress),localStorage.removeItem(ue.SchemaMigrationProgress),localStorage.removeItem(ue.DataProgressMessage),localStorage.removeItem(ue.SchemaProgressMessage),localStorage.removeItem(ue.ForeignKeyProgressMessage),localStorage.removeItem(ue.ForeignKeyUpdateProgress),localStorage.removeItem(ue.HasForeignKeyUpdateStarted),localStorage.removeItem(ue.GeneratingResources),localStorage.removeItem(ue.NumberOfShards),localStorage.removeItem(ue.NumberOfInstances)}openConnectionProfileForm(e){this.dialog.open(Ore,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{IsSource:e,SourceDatabaseType:this.sourceDatabaseType}}).afterClosed().subscribe(()=>{this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},this.isSourceConnectionProfileSet="true"===localStorage.getItem(ue.IsSourceConnectionProfileSet),this.isTargetConnectionProfileSet="true"===localStorage.getItem(ue.IsTargetConnectionProfileSet),this.isTargetDetailSet&&this.isSourceConnectionProfileSet&&this.isTargetConnectionProfileSet&&(localStorage.setItem(ue.IsMigrationDetailSet,"true"),this.isMigrationDetailSet=!0)})}openMigrationProfileForm(){this.dialog.open(wae,{width:"30vw",minWidth:"1200px",maxWidth:"1600px",data:{IsSource:!1,SourceDatabaseType:this.sourceDatabaseType,Region:this.region}}).afterClosed().subscribe(()=>{this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},null!=localStorage.getItem(ue.NumberOfShards)&&(this.numberOfShards=localStorage.getItem(ue.NumberOfShards)),null!=localStorage.getItem(ue.NumberOfInstances)&&(this.numberOfInstances=localStorage.getItem(ue.NumberOfInstances)),this.isSourceConnectionProfileSet="true"===localStorage.getItem(ue.IsSourceConnectionProfileSet),this.isTargetConnectionProfileSet="true"===localStorage.getItem(ue.IsTargetConnectionProfileSet),this.isTargetDetailSet&&this.isSourceConnectionProfileSet&&this.isTargetConnectionProfileSet&&(localStorage.setItem(ue.IsMigrationDetailSet,"true"),this.isMigrationDetailSet=!0)})}openGcloudPopup(e){this.dialog.open($re,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:e})}openDataflowForm(){this.dialog.open(Ure,{width:"4000px",minWidth:"400px",maxWidth:"500px",data:this.spannerConfig}).afterClosed().subscribe(()=>{this.dataflowConfig={network:localStorage.getItem("network"),subnetwork:localStorage.getItem("subnetwork"),vpcHostProjectId:localStorage.getItem("vpcHostProjectId"),maxWorkers:localStorage.getItem("maxWorkers"),numWorkers:localStorage.getItem("numWorkers"),serviceAccountEmail:localStorage.getItem("serviceAccountEmail"),machineType:localStorage.getItem("machineType"),additionalUserLabels:localStorage.getItem("additionalUserLabels"),kmsKeyName:localStorage.getItem("kmsKeyName"),projectId:localStorage.getItem("dataflowProjectId"),location:localStorage.getItem("dataflowLocation"),gcsTemplatePath:localStorage.getItem("gcsTemplatePath")},this.isDataflowConfigurationSet="true"===localStorage.getItem("isDataflowConfigSet"),this.isSharded&&this.fetch.setDataflowDetailsForShardedMigrations(this.dataflowConfig).subscribe({next:()=>{},error:i=>{this.snack.openSnackBar(i.error,"Close")}})})}endMigration(){this.dialog.open(Hre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{SpannerDatabaseName:this.resourcesGenerated.DatabaseName,SpannerDatabaseUrl:this.resourcesGenerated.DatabaseUrl,SourceDatabaseType:this.sourceDatabaseType,SourceDatabaseName:this.sourceDatabaseName}}).afterClosed().subscribe()}openSourceDetailsForm(){this.dialog.open(jre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:this.sourceDatabaseType}).afterClosed().subscribe(()=>{this.isSourceDetailsSet="true"===localStorage.getItem(ue.IsSourceDetailsSet)})}openShardedBulkSourceDetailsForm(){this.dialog.open(Yre,{width:"30vw",minWidth:"400px",maxWidth:"550px",data:{sourceDatabaseEngine:this.sourceDatabaseType,isRestoredSession:this.connectionType}}).afterClosed().subscribe(()=>{this.isSourceDetailsSet="true"===localStorage.getItem(ue.IsSourceDetailsSet),null!=localStorage.getItem(ue.NumberOfShards)&&(this.numberOfShards=localStorage.getItem(ue.NumberOfShards)),null!=localStorage.getItem(ue.NumberOfInstances)&&(this.numberOfInstances=localStorage.getItem(ue.NumberOfInstances))})}openTargetDetailsForm(){this.dialog.open(yre,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:{Region:this.region,Instance:this.instance,Dialect:this.dialect}}).afterClosed().subscribe(()=>{this.targetDetails={TargetDB:localStorage.getItem(Xt.TargetDB),SourceConnProfile:localStorage.getItem(Xt.SourceConnProfile),TargetConnProfile:localStorage.getItem(Xt.TargetConnProfile),ReplicationSlot:localStorage.getItem(Xt.ReplicationSlot),Publication:localStorage.getItem(Xt.Publication)},this.isTargetDetailSet="true"===localStorage.getItem(ue.IsTargetDetailSet),(this.isSourceDetailsSet&&this.isTargetDetailSet&&this.connectionType===An.SessionFile&&this.selectedMigrationMode!==Dr.schemaOnly||this.isTargetDetailSet&&this.selectedMigrationType==vn.bulkMigration&&this.connectionType!==An.SessionFile||this.isTargetDetailSet&&this.selectedMigrationType==vn.bulkMigration&&this.connectionType===An.SessionFile&&this.selectedMigrationMode===Dr.schemaOnly)&&(localStorage.setItem(ue.IsMigrationDetailSet,"true"),this.isMigrationDetailSet=!0)})}migrate(){this.resetValues(),this.fetch.migrate({TargetDetails:this.targetDetails,DataflowConfig:this.dataflowConfig,IsSharded:this.isSharded,MigrationType:this.selectedMigrationType,MigrationMode:this.selectedMigrationMode,skipForeignKeys:this.isForeignKeySkipped}).subscribe({next:()=>{this.selectedMigrationMode==Dr.dataOnly?this.selectedMigrationType==vn.bulkMigration?(this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString())):(this.generatingResources=!0,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),this.snack.openSnackBar("Setting up dataflow and datastream jobs","Close")):(this.hasSchemaMigrationStarted=!0,localStorage.setItem(ue.HasSchemaMigrationStarted,this.hasSchemaMigrationStarted.toString())),this.snack.openSnackBar("Migration started successfully","Close",5),this.subscribeMigrationProgress()},error:i=>{this.snack.openSnackBar(i.error,"Close"),this.isMigrationInProgress=!this.isMigrationInProgress,this.hasDataMigrationStarted=!1,this.hasSchemaMigrationStarted=!1,this.clearLocalStorage()}})}subscribeMigrationProgress(){var e=!1;this.subscription=FA(5e3).subscribe(i=>{this.fetch.getProgress().subscribe({next:o=>{""==o.ErrorMessage?o.ProgressStatus==_l.SchemaMigrationComplete?(localStorage.setItem(ue.SchemaMigrationProgress,"100"),this.schemaMigrationProgress=parseInt(localStorage.getItem(ue.SchemaMigrationProgress)),this.selectedMigrationMode==Dr.schemaOnly?this.markMigrationComplete():this.selectedMigrationType==vn.lowDowntimeMigration?(this.markSchemaMigrationComplete(),this.generatingResources=!0,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),e||(this.snack.openSnackBar("Setting up dataflow and datastream jobs","Close"),e=!0)):(this.markSchemaMigrationComplete(),this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString()))):o.ProgressStatus==_l.DataMigrationComplete?(this.selectedMigrationType!=vn.lowDowntimeMigration&&(this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString())),this.generatingResources=!1,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),this.markMigrationComplete()):o.ProgressStatus==_l.DataWriteInProgress?(this.markSchemaMigrationComplete(),this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString()),localStorage.setItem(ue.DataMigrationProgress,o.Progress.toString()),this.dataMigrationProgress=parseInt(localStorage.getItem(ue.DataMigrationProgress))):o.ProgressStatus==_l.ForeignKeyUpdateComplete?this.markMigrationComplete():o.ProgressStatus==_l.ForeignKeyUpdateInProgress&&(this.markSchemaMigrationComplete(),this.selectedMigrationType==vn.bulkMigration&&(this.hasDataMigrationStarted=!0,localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString())),this.markForeignKeyUpdateInitiation(),this.dataMigrationProgress=100,localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),localStorage.setItem(ue.ForeignKeyUpdateProgress,o.Progress.toString()),this.foreignKeyUpdateProgress=parseInt(localStorage.getItem(ue.ForeignKeyUpdateProgress)),this.generatingResources=!1,localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString()),this.fetchGeneratedResources()):(this.errorMessage=o.ErrorMessage,this.subscription.unsubscribe(),this.isMigrationInProgress=!this.isMigrationInProgress,this.snack.openSnackBarWithoutTimeout(this.errorMessage,"Close"),this.schemaProgressMessage="Schema migration cancelled!",this.dataProgressMessage="Data migration cancelled!",this.foreignKeyProgressMessage="Foreign key update cancelled!",this.generatingResources=!1,this.isLowDtMigrationRunning=!1,this.clearLocalStorage())},error:o=>{this.snack.openSnackBar(o.error,"Close"),this.isMigrationInProgress=!this.isMigrationInProgress,this.clearLocalStorage()}})})}markForeignKeyUpdateInitiation(){this.dataMigrationProgress=100,this.dataProgressMessage="Data migration completed successfully!",localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),this.hasForeignKeyUpdateStarted=!0,this.foreignKeyUpdateProgress=parseInt(localStorage.getItem(ue.ForeignKeyUpdateProgress))}markSchemaMigrationComplete(){this.schemaMigrationProgress=100,this.schemaProgressMessage="Schema migration completed successfully!",localStorage.setItem(ue.SchemaMigrationProgress,this.schemaMigrationProgress.toString()),localStorage.setItem(ue.SchemaProgressMessage,this.schemaProgressMessage)}downloadConfiguration(){this.fetch.getSourceProfile().subscribe({next:e=>{this.configuredMigrationProfile=e;var i=document.createElement("a");let o=JSON.stringify(this.configuredMigrationProfile,null,"\t").replace(/9223372036854776000/g,"9223372036854775807");i.href="data:text/json;charset=utf-8,"+encodeURIComponent(o),i.download=localStorage.getItem(Xt.TargetDB)+"-"+this.configuredMigrationProfile.configType+"-shardConfig.cfg",i.click()},error:e=>{this.snack.openSnackBar(e.error,"Close")}})}fetchGeneratedResources(){this.fetch.getGeneratedResources().subscribe({next:e=>{this.isResourceGenerated=!0,this.resourcesGenerated=e},error:e=>{this.snack.openSnackBar(e.error,"Close")}}),this.selectedMigrationType===vn.lowDowntimeMigration&&(this.isLowDtMigrationRunning=!0)}markMigrationComplete(){this.subscription.unsubscribe(),this.isMigrationInProgress=!this.isMigrationInProgress,this.dataProgressMessage="Data migration completed successfully!",this.schemaProgressMessage="Schema migration completed successfully!",this.schemaMigrationProgress=100,this.dataMigrationProgress=100,this.foreignKeyUpdateProgress=100,this.foreignKeyProgressMessage="Foreign key updated successfully!",this.fetchGeneratedResources(),this.clearLocalStorage(),this.refreshPrerequisites()}resetValues(){this.isMigrationInProgress=!this.isMigrationInProgress,this.hasSchemaMigrationStarted=!1,this.hasDataMigrationStarted=!1,this.generatingResources=!1,this.dataMigrationProgress=0,this.schemaMigrationProgress=0,this.schemaProgressMessage="Schema migration in progress...",this.dataProgressMessage="Data migration in progress...",this.isResourceGenerated=!1,this.hasForeignKeyUpdateStarted=!1,this.foreignKeyUpdateProgress=100,this.foreignKeyProgressMessage="Foreign key update in progress...",this.resourcesGenerated={DatabaseName:"",DatabaseUrl:"",BucketName:"",BucketUrl:"",DataStreamJobName:"",DataStreamJobUrl:"",DataflowJobName:"",DataflowJobUrl:"",PubsubTopicName:"",PubsubTopicUrl:"",PubsubSubscriptionName:"",PubsubSubscriptionUrl:"",MonitoringDashboardName:"",MonitoringDashboardUrl:"",AggMonitoringDashboardName:"",AggMonitoringDashboardUrl:"",DataflowGcloudCmd:"",ShardToDatastreamMap:new Map,ShardToDataflowMap:new Map,ShardToPubsubTopicMap:new Map,ShardToPubsubSubscriptionMap:new Map,ShardToMonitoringDashboardMap:new Map},this.initializeLocalStorage()}initializeLocalStorage(){localStorage.setItem(ue.MigrationMode,this.selectedMigrationMode),localStorage.setItem(ue.MigrationType,this.selectedMigrationType),localStorage.setItem(ue.isForeignKeySkipped,this.isForeignKeySkipped.toString()),localStorage.setItem(ue.IsMigrationInProgress,this.isMigrationInProgress.toString()),localStorage.setItem(ue.HasSchemaMigrationStarted,this.hasSchemaMigrationStarted.toString()),localStorage.setItem(ue.HasDataMigrationStarted,this.hasDataMigrationStarted.toString()),localStorage.setItem(ue.HasForeignKeyUpdateStarted,this.hasForeignKeyUpdateStarted.toString()),localStorage.setItem(ue.DataMigrationProgress,this.dataMigrationProgress.toString()),localStorage.setItem(ue.SchemaMigrationProgress,this.schemaMigrationProgress.toString()),localStorage.setItem(ue.ForeignKeyUpdateProgress,this.foreignKeyUpdateProgress.toString()),localStorage.setItem(ue.SchemaProgressMessage,this.schemaProgressMessage),localStorage.setItem(ue.DataProgressMessage,this.dataProgressMessage),localStorage.setItem(ue.ForeignKeyProgressMessage,this.foreignKeyProgressMessage),localStorage.setItem(ue.IsTargetDetailSet,this.isTargetDetailSet.toString()),localStorage.setItem(ue.GeneratingResources,this.generatingResources.toString())}openSaveSessionSidenav(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("saveSession"),this.sidenav.setSidenavDatabaseName(this.conv.DatabaseName)}downloadSession(){RA(this.conv)}ngOnDestroy(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(br),g(yn),g(Vo),g(Li),g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-prepare-migration"]],decls:91,vars:35,consts:[[1,"header"],[1,"breadcrumb"],["mat-button","",1,"breadcrumb_source",3,"routerLink"],["mat-button","",1,"breadcrumb_workspace",3,"routerLink"],["mat-button","",1,"breadcrumb_prepare_migration",3,"routerLink"],[1,"header_action"],["mat-button","",3,"click"],["mat-button","","color","primary",3,"click"],[1,"body"],[1,"definition-container"],[4,"ngIf"],[1,"summary"],["mat-table","",3,"dataSource"],["matColumnDef","Title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Source"],["matColumnDef","Destination"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["appearance","outline"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"configure",3,"matTooltip"],[1,"mat-card-class"],["class","static-prereqs",4,"ngIf"],[1,"point"],[1,"bullet"],["matTooltip","Configure the database in Spanner you want this migration to write to (up till now only GCP Project ID and Spanner Instance name have been configured.)",1,"configure"],["mat-button","","color","primary",3,"disabled","click"],["iconPositionEnd",""],["iconPositionEnd","","class","success","matTooltip","Target details configured","matTooltipPosition","above",4,"ngIf"],["class","point",4,"ngIf"],["class","mat-card-class",4,"ngIf"],["class","progress_bar",4,"ngIf"],[1,"migrate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[3,"value"],[3,"ngModel","ngModelChange"],[1,"static-prereqs"],["href","https://cloud.google.com/datastream/docs/sources","target","_blank"],["href","https://cloud.google.com/dataflow/docs/concepts/security-and-permissions","target","_blank"],["href","https://cloud.google.com/dataflow/docs/guides/routes-firewall","target","_blank"],["iconPositionEnd","","class","success","matTooltip","Source details configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Source details configured","matTooltipPosition","above",1,"success"],["matTooltip","Configure the connection info of all source shards to connect to and migrate data from.",1,"configure"],["iconPositionEnd","","matTooltip","Target details configured","matTooltipPosition","above",1,"success"],["matTooltip","Datastream will be used to capture change events from the source database. Please ensure you have met the pre-requistes required for setting up Datastream in your GCP environment. ",1,"configure"],["iconPositionEnd","","class","success","matTooltip","Source connection profile configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Source connection profile configured","matTooltipPosition","above",1,"success"],["matTooltip","Configure the source connection profile to allow Datastream to read from your source database",1,"configure"],["matTooltip","Create a connection profile for datastream to write to a GCS bucket. Spanner migration tool will automatically create the bucket for you.",1,"configure"],["iconPositionEnd","","class","success","matTooltip","Target connection profile configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Target connection profile configured","matTooltipPosition","above",1,"success"],["class","bullet",4,"ngIf"],["matTooltip","Dataflow will be used to perform the actual migration of data from source to Spanner. This helps you configure the execution environment for Dataflow jobs e.g VPC.",1,"configure"],["iconPositionEnd","","class","success","matTooltip","Dataflow Configured","matTooltipPosition","above",4,"ngIf"],["iconPositionEnd","","matTooltip","Dataflow Configured","matTooltipPosition","above",1,"success"],["matTooltip","Download the configuration done above as JSON.",1,"configure"],["iconPositionEnd","","matTooltip","Download configured shards as JSON","matTooltipPosition","above"],[1,"progress_bar"],["mode","determinate",3,"value"],[1,"spinner"],[3,"diameter"],[1,"spinner-text"],["target","_blank",3,"href"],[4,"ngFor","ngForOf"],["mat-button","",1,"configure",3,"click"],["matTooltip","Equivalent gCloud command","matTooltipPosition","above"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"a",2),h(3,"Select Source"),l(),d(4,"span"),h(5,">"),l(),d(6,"a",3),h(7),l(),d(8,"span"),h(9,">"),l(),d(10,"a",4)(11,"b"),h(12,"Prepare Migration"),l()()(),d(13,"div",5)(14,"button",6),L("click",function(){return o.openSaveSessionSidenav()}),h(15," SAVE SESSION "),l(),d(16,"button",7),L("click",function(){return o.downloadSession()}),h(17,"DOWNLOAD SESSION FILE"),l()()(),D(18,"br"),d(19,"div",8)(20,"div",9),_(21,Cae,2,0,"h2",10),_(22,Dae,2,0,"h2",10),d(23,"div",11)(24,"table",12),xe(25,13),_(26,kae,2,0,"th",14),_(27,Sae,3,1,"td",15),we(),xe(28,16),_(29,Mae,2,0,"th",14),_(30,Tae,2,1,"td",15),we(),xe(31,17),_(32,Iae,2,0,"th",14),_(33,Eae,2,1,"td",15),we(),_(34,Oae,1,0,"tr",18),_(35,Aae,1,0,"tr",19),l()()(),D(36,"br"),d(37,"mat-form-field",20)(38,"mat-label"),h(39,"Migration Mode:"),l(),d(40,"mat-select",21),L("ngModelChange",function(a){return o.selectedMigrationMode=a})("selectionChange",function(){return o.refreshPrerequisites()}),_(41,Pae,2,2,"mat-option",22),l()(),d(42,"mat-icon",23),h(43,"info"),l(),D(44,"br"),_(45,Fae,9,3,"div",10),_(46,Lae,6,2,"div",10),d(47,"div",24)(48,"mat-card")(49,"mat-card-title"),h(50,"Prerequisites"),l(),d(51,"mat-card-subtitle"),h(52,"Before we begin, please ensure you have done the following:"),l(),_(53,Bae,6,0,"div",25),_(54,Vae,20,0,"div",25),l()(),d(55,"div",24)(56,"mat-card"),_(57,zae,14,2,"div",10),_(58,Uae,16,2,"div",10),d(59,"div")(60,"mat-card-title"),h(61,"Target details:"),l(),d(62,"p",26)(63,"span",27),h(64,"1"),l(),d(65,"span"),h(66,"Configure Spanner Database "),d(67,"mat-icon",28),h(68," info"),l()(),d(69,"span")(70,"button",29),L("click",function(){return o.openTargetDetailsForm()}),h(71," Configure "),d(72,"mat-icon",30),h(73,"edit"),l(),_(74,$ae,2,0,"mat-icon",31),l()()(),_(75,Wae,13,2,"p",32),_(76,Kae,13,2,"p",32),_(77,Yae,13,2,"p",32),_(78,ese,13,4,"p",32),_(79,ise,11,2,"p",32),l()()(),_(80,nse,25,3,"div",33),_(81,ose,32,6,"div",33),_(82,rse,5,2,"div",34),_(83,ase,5,2,"div",34),_(84,sse,5,2,"div",34),_(85,cse,8,1,"div",10),_(86,mse,5,2,"div",10),_(87,Mse,22,13,"div",10),d(88,"div",35),_(89,Tse,3,1,"span",10),_(90,Ise,3,0,"span",10),l()()),2&i&&(m(2),f("routerLink","/"),m(4),f("routerLink","/workspace"),m(1),Se("Configure Schema (",o.dialect," Dialect)"),m(3),f("routerLink","/prepare-migration"),m(11),f("ngIf",!o.isSharded),m(1),f("ngIf",o.isSharded),m(2),f("dataSource",o.dataSource),m(10),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns),m(5),f("ngModel",o.selectedMigrationMode),m(1),f("ngForOf",o.migrationModes),m(1),f("matTooltip",o.migrationModesHelpText.get(o.selectedMigrationMode)),m(3),f("ngIf","Schema"!=o.selectedMigrationMode),m(1),f("ngIf",!("Schema"===o.selectedMigrationMode||"lowdt"===o.selectedMigrationType)),m(7),f("ngIf","bulk"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(3),f("ngIf","sessionFile"===o.connectionType&&"Schema"!==o.selectedMigrationMode&&!o.isSharded),m(1),f("ngIf",o.isSharded&&"bulk"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(12),f("disabled",o.isMigrationInProgress||o.isLowDtMigrationRunning),m(4),f("ngIf",o.isTargetDetailSet),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&o.isSharded),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&!o.isSharded),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&!o.isSharded),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode),m(1),f("ngIf","lowdt"===o.selectedMigrationType&&"Schema"!==o.selectedMigrationMode&&o.isSharded),m(1),f("ngIf","Schema"!==o.selectedMigrationMode&&o.isSharded),m(1),f("ngIf",o.isTargetDetailSet),m(1),f("ngIf",o.hasSchemaMigrationStarted),m(1),f("ngIf",o.hasDataMigrationStarted),m(1),f("ngIf",o.hasForeignKeyUpdateStarted),m(1),f("ngIf",o.generatingResources),m(1),f("ngIf",o.isResourceGenerated&&""!==o.resourcesGenerated.MonitoringDashboardName&&"lowdt"===o.selectedMigrationType),m(1),f("ngIf",o.isResourceGenerated),m(2),f("ngIf",!o.isLowDtMigrationRunning),m(1),f("ngIf",o.isLowDtMigrationRunning))},dependencies:[an,Et,Cr,JT,Kt,_i,Ud,qv,Wv,kI,Oi,Ii,oo,_n,vi,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,On,Zc,bl,nM],styles:[".header[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb_workspace[_ngcontent-%COMP%]{color:#0000008f}.header[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb_prepare_migration[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.definition-container[_ngcontent-%COMP%]{max-height:500px;overflow:auto}.definition-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:13px}.body[_ngcontent-%COMP%]{margin-left:20px}table[_ngcontent-%COMP%]{min-width:30%;max-width:50%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:10%}.configure[_ngcontent-%COMP%]{color:#1967d2}.migrate[_ngcontent-%COMP%]{margin-top:10px}"]})}return t})()},{path:"**",redirectTo:"/",pathMatch:"full"}];let Ose=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t});static#i=this.\u0275inj=st({imports:[EA.forRoot(Ese),EA]})}return t})(),Ase=(()=>{class t{constructor(e,i,o,r,a){this.fetch=e,this.snack=i,this.dataService=o,this.data=r,this.dialogRef=a,this.errMessage="",this.updateConfigForm=new ni({GCPProjectID:new Q(r.GCPProjectID,[me.required]),SpannerInstanceID:new Q(r.SpannerInstanceID,[me.required])}),a.disableClose=!0}updateSpannerConfig(){let e=this.updateConfigForm.value;this.fetch.setSpannerConfig({GCPProjectID:e.GCPProjectID,SpannerInstanceID:e.SpannerInstanceID}).subscribe({next:o=>{o.IsMetadataDbCreated&&this.snack.openSnackBar("Metadata database not found. A new database has been created to store session metadata.","Close",5),this.snack.openSnackBar(o.IsConfigValid?"Spanner Config updated successfully":"Invalid Spanner Configuration","Close",5),this.dialogRef.close({...o}),this.dataService.updateIsOffline(),this.dataService.updateConfig(o),this.dataService.getAllSessions()},error:o=>{this.snack.openSnackBar(o.message,"Close")}})}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Vo),g(Li),g(ro),g(En))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-update-spanner-config-form"]],decls:20,vars:3,consts:[["mat-dialog-content",""],[1,"save-session-form",3,"formGroup"],["appearance","outline",1,"full-width"],["matInput","","placeholder","project id","type","text","formControlName","GCPProjectID","id","project-id"],["hintLabel","Min. 2 characters and Max. 64 characters","appearance","outline",1,"full-width"],["matInput","","placeholder","instance id","type","text","required","","minlength","2","maxlength","64","pattern","^[a-z]([-a-z0-9]*[a-z0-9])?","formControlName","SpannerInstanceID","id","instance-id"],["align","end"],["mat-dialog-actions","",1,"buttons-container"],["mat-button","","color","primary","mat-dialog-close",""],["id","save-button","mat-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"form",1)(2,"h2"),h(3,"Connect to Spanner"),l(),d(4,"mat-form-field",2)(5,"mat-label"),h(6,"Project ID"),l(),D(7,"input",3),l(),D(8,"br"),d(9,"mat-form-field",4)(10,"mat-label"),h(11,"Instance ID"),l(),D(12,"input",5),d(13,"mat-hint",6),h(14),l()()()(),d(15,"div",7)(16,"button",8),h(17,"CANCEL"),l(),d(18,"button",9),L("click",function(){return o.updateSpannerConfig()}),h(19," SAVE "),l()()),2&i&&(m(1),f("formGroup",o.updateConfigForm),m(13),Se("",(null==o.updateConfigForm.value.SpannerInstanceID?null:o.updateConfigForm.value.SpannerInstanceID.length)||0,"/64"),m(4),f("disabled",!o.updateConfigForm.valid))},dependencies:[Kt,Oi,Ii,Qc,sn,Tn,Mi,vi,Ui,xo,py,fy,gy,Ti,Xi,wo,vr,yr],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.buttons-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]})}return t})();function Pse(t,n){1&t&&(d(0,"mat-icon",11),h(1," warning "),l())}function Rse(t,n){1&t&&(d(0,"mat-icon",12),h(1," check_circle "),l())}function Fse(t,n){1&t&&(d(0,"mat-icon",13),h(1," warning "),l())}function Nse(t,n){1&t&&(d(0,"div")(1,"span",null,14),h(3,"Spanner database is not configured, click on edit button to configure "),l()())}function Lse(t,n){if(1&t&&(d(0,"div")(1,"span",15)(2,"b"),h(3,"Project Id: "),l(),h(4),l(),d(5,"span",16)(6,"b"),h(7,"Spanner Instance Id: "),l(),h(8),l()()),2&t){const e=w();m(4),Re(e.spannerConfig.GCPProjectID),m(4),Re(e.spannerConfig.SpannerInstanceID)}}let Bse=(()=>{class t{constructor(e,i,o,r,a){this.data=e,this.dialog=i,this.sidenav=o,this.clickEvent=r,this.loaderService=a,this.isOfflineStatus=!1,this.spannerConfig={GCPProjectID:"",SpannerInstanceID:""}}ngOnInit(){this.data.config.subscribe(e=>{this.spannerConfig=e}),this.data.isOffline.subscribe({next:e=>{this.isOfflineStatus=e}}),this.clickEvent.spannerConfig.subscribe(e=>{e&&this.openEditForm()})}openEditForm(){this.dialog.open(Ase,{width:"30vw",minWidth:"400px",maxWidth:"500px",data:this.spannerConfig}).afterClosed().subscribe(i=>{i&&(this.spannerConfig=i)})}showWarning(){return!this.spannerConfig.GCPProjectID&&!this.spannerConfig.SpannerInstanceID}openInstructionSidenav(){this.sidenav.openSidenav(),this.sidenav.setSidenavComponent("instruction")}openUserGuide(){window.open("https://github.com/GoogleCloudPlatform/spanner-migration-tool/blob/master/SpannerMigrationToolUIUserGuide.pdf","_blank")}stopLoading(){this.loaderService.stopLoader(),this.clickEvent.cancelDbLoading(),this.clickEvent.closeDatabaseLoader()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Li),g(br),g(Pn),g(jo),g(pf))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-header"]],decls:16,vars:6,consts:[["color","secondry",1,"header-container"],[1,"pointer",3,"routerLink","click"],[1,"menu-spacer"],[1,"right_container"],[1,"spanner_config"],["class","icon warning","matTooltip","Invalid spanner configuration. Working in offline mode",4,"ngIf"],["id","check-icon","class","icon success","matTooltip","Valid spanner configuration.",4,"ngIf"],["class","icon warning","matTooltip","Spanner configuration has not been set.",4,"ngIf"],[4,"ngIf"],["id","edit-icon","matTooltip","Edit Settings",1,"cursor-pointer",3,"click"],["mat-icon-button","","matTooltip","Instruction",1,"example-icon","favorite-icon",3,"click"],["matTooltip","Invalid spanner configuration. Working in offline mode",1,"icon","warning"],["id","check-icon","matTooltip","Valid spanner configuration.",1,"icon","success"],["matTooltip","Spanner configuration has not been set.",1,"icon","warning"],["name",""],[1,"pid"],[1,"iid"]],template:function(i,o){1&i&&(d(0,"mat-toolbar",0)(1,"span",1),L("click",function(){return o.stopLoading()}),h(2," Spanner migration tool"),l(),D(3,"span",2),d(4,"div",3)(5,"div",4),_(6,Pse,2,0,"mat-icon",5),_(7,Rse,2,0,"mat-icon",6),_(8,Fse,2,0,"mat-icon",7),_(9,Nse,4,0,"div",8),_(10,Lse,9,2,"div",8),d(11,"mat-icon",9),L("click",function(){return o.openEditForm()}),h(12,"edit"),l()(),d(13,"button",10),L("click",function(){return o.openUserGuide()}),d(14,"mat-icon"),h(15,"help"),l()()()()),2&i&&(m(1),f("routerLink","/"),m(5),f("ngIf",o.isOfflineStatus&&!o.showWarning()),m(1),f("ngIf",!o.isOfflineStatus&&!o.showWarning()),m(1),f("ngIf",o.showWarning()),m(1),f("ngIf",o.showWarning()),m(1),f("ngIf",!o.showWarning()))},dependencies:[Et,Cr,HH,Fa,_i,On],styles:[".header-container[_ngcontent-%COMP%]{padding:0 20px}.menu-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.right_container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%]{margin:0 15px 0 0;display:flex;align-items:center;border-radius:5px;padding:0 10px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border-radius:2px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:300;padding:0 10px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] .pid[_ngcontent-%COMP%]{margin-right:10px}.right_container[_ngcontent-%COMP%] .spanner_config[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.cursor-pointer[_ngcontent-%COMP%]{color:#3367d6}"]})}return t})();function Vse(t,n){1&t&&(d(0,"div",1),D(1,"mat-progress-bar",2),l())}let jse=(()=>{class t{constructor(e){this.loaderService=e,this.showProgress=!0}ngOnInit(){this.loaderService.isLoading.subscribe(e=>{this.showProgress=e})}static#e=this.\u0275fac=function(i){return new(i||t)(g(pf))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-loader"]],decls:1,vars:1,consts:[["class","progress-bar-wrapper",4,"ngIf"],[1,"progress-bar-wrapper"],["mode","indeterminate","value","40"]],template:function(i,o){1&i&&_(0,Vse,2,0,"div",0),2&i&&f("ngIf",o.showProgress)},dependencies:[Et,kI],styles:[".progress-bar-wrapper[_ngcontent-%COMP%]{background-color:#cbd0e9;height:2px}.progress-bar-wrapper[_ngcontent-%COMP%] .mat-mdc-progress-bar[_ngcontent-%COMP%]{height:2px}"]})}return t})();function zse(t,n){if(1&t&&(d(0,"mat-option",11),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function Hse(t,n){if(1&t&&(d(0,"mat-option",11),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function Use(t,n){if(1&t){const e=_e();d(0,"button",19),L("click",function(){ae(e);const o=w().index;return se(w().removeColumnForm(o))}),d(1,"mat-icon"),h(2,"remove"),l(),d(3,"span"),h(4,"REMOVE COLUMN"),l()()}}function $se(t,n){if(1&t){const e=_e();xe(0),d(1,"mat-card",12)(2,"div",13)(3,"mat-form-field",1)(4,"mat-label"),h(5,"Column Name"),l(),d(6,"mat-select",14),L("selectionChange",function(){return ae(e),se(w().selectedColumnChange())}),_(7,Hse,2,2,"mat-option",3),l()(),d(8,"mat-form-field",1)(9,"mat-label"),h(10,"Sort"),l(),d(11,"mat-select",15)(12,"mat-option",16),h(13,"Ascending"),l(),d(14,"mat-option",17),h(15,"Descending"),l()()()(),_(16,Use,5,0,"button",18),l(),we()}if(2&t){const e=n.index,i=w();m(2),f("formGroupName",e),m(5),f("ngForOf",i.addColumnsList[e]),m(9),f("ngIf",!i.viewRuleFlag)}}function Gse(t,n){if(1&t){const e=_e();d(0,"button",20),L("click",function(){return ae(e),se(w().addNewColumnForm())}),d(1,"mat-icon"),h(2,"add"),l(),d(3,"span"),h(4,"ADD COLUMN"),l()()}}function Wse(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",21),L("click",function(){return ae(e),se(w().addIndex())}),h(2," ADD RULE "),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.addIndexForm.valid&&e.ruleNameValid&&e.ColsArray.controls.length>0))}}function qse(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",22),L("click",function(){return ae(e),se(w().deleteRule())}),h(2," DELETE RULE "),l()()}}let Kse=(()=>{class t{constructor(e,i,o,r){this.fb=e,this.data=i,this.sidenav=o,this.conversion=r,this.ruleNameValid=!1,this.ruleName="",this.ruleType="",this.resetRuleType=new Ne,this.tableNames=[],this.totalColumns=[],this.addColumnsList=[],this.commonColumns=[],this.viewRuleData={},this.viewRuleFlag=!1,this.conv={},this.ruleId="",this.addIndexForm=this.fb.group({tableName:["",me.required],indexName:["",[me.required,me.pattern("^[a-zA-Z].{0,59}$")]],ColsArray:this.fb.array([])})}ngOnInit(){this.data.conv.subscribe({next:e=>{this.conv=e,this.tableNames=Object.keys(e.SpSchema).map(i=>e.SpSchema[i].Name)}}),this.sidenav.sidenavAddIndexTable.subscribe({next:e=>{this.addIndexForm.controls.tableName.setValue(e),""!==e&&this.selectedTableChange(e)}}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.viewRuleData&&this.viewRuleFlag&&this.getRuleData(this.viewRuleData)})})}getRuleData(e){this.ruleId=e?.Id;let i=this.conv.SpSchema[e?.Data?.TableId]?.Name;this.addIndexForm.controls.tableName.setValue(i),this.addIndexForm.controls.indexName.setValue(e?.Data?.Name),this.selectedTableChange(i),this.setColArraysForViewRules(e?.Data?.TableId,e?.Data?.Keys),this.addIndexForm.disable()}setColArraysForViewRules(e,i){if(this.ColsArray.clear(),i)for(let o=0;oo.ColDefs[r].Name)}this.ColsArray.clear(),this.commonColumns=[],this.addColumnsList=[],this.updateCommonColumns()}addNewColumnForm(){let e=this.fb.group({columnName:["",me.required],sort:["",me.required]});this.ColsArray.push(e),this.updateCommonColumns(),this.addColumnsList.push([...this.commonColumns])}selectedColumnChange(){this.updateCommonColumns(),this.addColumnsList=this.addColumnsList.map((e,i)=>{const o=[...this.commonColumns];return""!==this.ColsArray.value[i].columnName&&o.push(this.ColsArray.value[i].columnName),o})}updateCommonColumns(){this.commonColumns=this.totalColumns.filter(e=>{let i=!0;return this.ColsArray.value.forEach(o=>{o.columnName===e&&(i=!1)}),i})}removeColumnForm(e){this.ColsArray.removeAt(e),this.addColumnsList=this.addColumnsList.filter((i,o)=>o!==e),this.selectedColumnChange()}addIndex(){let e=this.addIndexForm.value,i=[],o=this.conversion.getTableIdFromSpName(e.tableName,this.conv);i.push({Name:e.indexName,TableId:o,Unique:!1,Keys:e.ColsArray.map((r,a)=>({ColId:this.conversion.getColIdFromSpannerColName(r.columnName,o,this.conv),Desc:"true"===r.sort,Order:a+1})),Id:""}),this.applyRule(i[0]),this.resetRuleType.emit(""),this.sidenav.setSidenavAddIndexTable(""),this.sidenav.closeSidenav()}applyRule(e){let o=this.conversion.getTableIdFromSpName(this.addIndexForm.value.tableName,this.conv);this.data.applyRule({Name:this.ruleName,Type:"add_index",ObjectType:"Table",AssociatedObjects:o,Enabled:!0,Data:e,Id:""})}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.setSidenavAddIndexTable(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn),g(Rs))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-add-index-form"]],inputs:{ruleNameValid:"ruleNameValid",ruleName:"ruleName",ruleType:"ruleType"},outputs:{resetRuleType:"resetRuleType"},decls:18,vars:7,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","tableName","required","true",1,"input-field",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["hintLabel","Max. 60 characters, and starts with a letter.","appearance","outline"],["matInput","","formControlName","indexName",1,"input-field"],["align","end"],["formArrayName","ColsArray",1,"addcol-form"],[4,"ngFor","ngForOf"],["mat-button","","color","primary","class","add-column-btn","type","button",3,"click",4,"ngIf"],[4,"ngIf"],[3,"value"],[1,"column-form-card"],[3,"formGroupName"],["matSelect","","formControlName","columnName","required","true",1,"input-field",3,"selectionChange"],["formControlName","sort","required","true",1,"input-field"],["value","false"],["value","true"],["mat-button","","color","primary",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","type","button",1,"add-column-btn",3,"click"],["mat-raised-button","","type","submit","color","primary",1,"add-column-btn",3,"disabled","click"],["mat-raised-button","","type","submit","color","primary",1,"add-column-btn",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"For Table"),l(),d(4,"mat-select",2),L("selectionChange",function(a){return o.selectedTableChange(a.value)}),_(5,zse,2,2,"mat-option",3),l()(),d(6,"mat-form-field",4)(7,"mat-label"),h(8,"Index Name"),l(),D(9,"input",5),d(10,"mat-hint",6),h(11),l()(),xe(12,7),_(13,$se,17,3,"ng-container",8),_(14,Gse,5,0,"button",9),D(15,"br"),_(16,Wse,3,1,"div",10),_(17,qse,3,0,"div",10),we(),l()),2&i&&(f("formGroup",o.addIndexForm),m(5),f("ngForOf",o.tableNames),m(6),Se("",(null==o.addIndexForm.value.indexName?null:o.addIndexForm.value.indexName.length)||0,"/60"),m(2),f("ngForOf",o.ColsArray.controls),m(1),f("ngIf",o.addColumnsList.length{class t{constructor(e,i,o,r,a){this.fb=e,this.data=i,this.sidenav=o,this.conversion=r,this.fetch=a,this.ruleNameValid=!1,this.ruleType="",this.ruleName="",this.resetRuleType=new Ne,this.conversionType={},this.sourceType=[],this.destinationType=[],this.viewRuleData=[],this.viewRuleFlag=!1,this.pgSQLToStandardTypeTypemap=new Map,this.standardTypeToPGSQLTypemap=new Map,this.conv={},this.isPostgreSQLDialect=!1,this.addGlobalDataTypeForm=this.fb.group({objectType:["column",me.required],table:["allTable",me.required],column:["allColumn",me.required],sourceType:["",me.required],destinationType:["",me.required]})}ngOnInit(){this.data.typeMap.subscribe({next:e=>{this.conversionType=e,this.sourceType=Object.keys(this.conversionType)}}),this.data.conv.subscribe({next:e=>{this.conv=e,this.isPostgreSQLDialect="postgresql"===this.conv.SpDialect}}),this.conversion.pgSQLToStandardTypeTypeMap.subscribe(e=>{this.pgSQLToStandardTypeTypemap=e}),this.conversion.standardTypeToPGSQLTypeMap.subscribe(e=>{this.standardTypeToPGSQLTypemap=e}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.viewRuleData&&this.setViewRuleData(this.viewRuleData)})})}setViewRuleData(e){if(this.ruleId=e?.Id,this.addGlobalDataTypeForm.controls.sourceType.setValue(Object.keys(e?.Data)[0]),this.updateDestinationType(Object.keys(e?.Data)[0]),this.isPostgreSQLDialect){let i=this.standardTypeToPGSQLTypemap.get(Object.values(this.viewRuleData?.Data)[0]);this.addGlobalDataTypeForm.controls.destinationType.setValue(void 0===i?Object.values(this.viewRuleData?.Data)[0]:i)}else this.addGlobalDataTypeForm.controls.destinationType.setValue(Object.values(this.viewRuleData?.Data)[0]);this.addGlobalDataTypeForm.disable()}formSubmit(){const e=this.addGlobalDataTypeForm.value,i=e.sourceType,o={};if(this.isPostgreSQLDialect){let r=this.pgSQLToStandardTypeTypemap.get(e.destinationType);o[i]=void 0===r?e.destinationType:r}else o[i]=e.destinationType;this.applyRule(o),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}updateDestinationType(e){const i=this.conversionType[e],o=[];i?.forEach(r=>{o.push(r.DisplayT)}),this.destinationType=o}applyRule(e){this.data.applyRule({Name:this.ruleName,Type:"global_datatype_change",ObjectType:"Column",AssociatedObjects:"All Columns",Enabled:!0,Data:e,Id:""})}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn),g(Rs),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-edit-global-datatype-form"]],inputs:{ruleNameValid:"ruleNameValid",ruleType:"ruleType",ruleName:"ruleName"},outputs:{resetRuleType:"resetRuleType"},decls:34,vars:5,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","objectType","required","true",1,"input-field"],["value","column"],["matSelect","","formControlName","table","required","true",1,"input-field"],["value","allTable"],["matSelect","","formControlName","column","required","true",1,"input-field"],["value","allColumn"],["matSelect","","formControlName","sourceType","required","true",1,"input-field",3,"selectionChange"],["sourceField",""],[3,"value",4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[4,"ngIf"],[3,"value"],["matSelect","","formControlName","destinationType","required","true",1,"input-field"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){if(1&i){const r=_e();d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"For object type"),l(),d(4,"mat-select",2)(5,"mat-option",3),h(6,"Column"),l()()(),d(7,"h3"),h(8,"When"),l(),d(9,"mat-form-field",1)(10,"mat-label"),h(11,"Table is"),l(),d(12,"mat-select",4)(13,"mat-option",5),h(14,"All tables"),l()()(),d(15,"mat-form-field",1)(16,"mat-label"),h(17,"and column is"),l(),d(18,"mat-select",6)(19,"mat-option",7),h(20,"All column"),l()()(),d(21,"h3"),h(22,"Convert from"),l(),d(23,"mat-form-field",1)(24,"mat-label"),h(25,"Source data type"),l(),d(26,"mat-select",8,9),L("selectionChange",function(){ae(r);const s=At(27);return se(o.updateDestinationType(s.value))}),_(28,Zse,2,2,"mat-option",10),l()(),d(29,"h3"),h(30,"Convert to"),l(),_(31,Qse,5,1,"mat-form-field",11),_(32,Xse,3,1,"div",12),_(33,Jse,3,0,"div",12),l()}if(2&i){const r=At(27);f("formGroup",o.addGlobalDataTypeForm),m(28),f("ngForOf",o.sourceType),m(3),f("ngIf",r.selected),m(1),f("ngIf",!o.viewRuleFlag),m(1),f("ngIf",o.viewRuleFlag)}},dependencies:[an,Et,Kt,Oi,Ii,oo,_n,vi,Ui,xo,Ti,Xi],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%;padding:0}"]})}return t})();function tce(t,n){if(1&t&&(d(0,"mat-option",10),h(1),l()),2&t){const e=n.$implicit;f("value",e),m(1),Re(e)}}function ice(t,n){if(1&t&&(d(0,"mat-option",10),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Re(e.name)}}function nce(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",11),L("click",function(){return ae(e),se(w().formSubmit())}),h(2," ADD RULE "),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.editColMaxLengthForm.valid&&e.ruleNameValid))}}function oce(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",12),L("click",function(){return ae(e),se(w().deleteRule())}),h(2,"DELETE RULE"),l()()}}let rce=(()=>{class t{constructor(e,i,o,r){this.fb=e,this.data=i,this.sidenav=o,this.conversion=r,this.ruleNameValid=!1,this.ruleName="",this.ruleType="",this.resetRuleType=new Ne,this.ruleId="",this.tableNames=[],this.viewRuleData=[],this.viewRuleFlag=!1,this.conv={},this.spTypes=[],this.hintlabel="",this.editColMaxLengthForm=this.fb.group({tableName:["",me.required],column:["allColumn",me.required],spDataType:["",me.required],maxColLength:["",[me.required,me.pattern("([1-9][0-9]*|MAX)")]]})}ngOnInit(){this.data.conv.subscribe({next:e=>{this.conv=e,this.tableNames=Object.keys(e.SpSchema).map(i=>e.SpSchema[i].Name),this.tableNames.push("All tables"),"postgresql"===this.conv.SpDialect?(this.spTypes=[{name:"VARCHAR",value:"STRING"}],this.hintlabel="Max "+ln.StringMaxLength+" for VARCHAR"):(this.spTypes=[{name:"STRING",value:"STRING"},{name:"BYTES",value:"BYTES"}],this.hintlabel="Max "+ln.StringMaxLength+" for STRING and "+ln.ByteMaxLength+" for BYTES")}}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&this.sidenav.ruleData.subscribe(i=>{if(this.viewRuleData=i,this.viewRuleData){this.ruleId=this.viewRuleData?.Id;let o=this.viewRuleData?.AssociatedObjects;this.editColMaxLengthForm.controls.tableName.setValue(o),this.editColMaxLengthForm.controls.spDataType.setValue(this.viewRuleData?.Data?.spDataType),this.editColMaxLengthForm.controls.maxColLength.setValue(this.viewRuleData?.Data?.spColMaxLength),this.editColMaxLengthForm.disable()}})})}formSubmit(){const e=this.editColMaxLengthForm.value;(("STRING"===e.spDataType||"VARCHAR"===e.spDataType)&&e.spColMaxLength>ln.StringMaxLength||"BYTES"===e.spDataType&&e.spColMaxLength>ln.ByteMaxLength)&&(e.spColMaxLength=ln.StorageMaxLength);const i={spDataType:e.spDataType,spColMaxLength:e.maxColLength};let r=this.conversion.getTableIdFromSpName(e.tableName,this.conv);""===r&&(r="All tables"),this.data.applyRule({Name:this.ruleName,Type:"edit_column_max_length",ObjectType:"Table",AssociatedObjects:r,Enabled:!0,Data:i,Id:""}),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn),g(Rs))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-edit-column-max-length"]],inputs:{ruleNameValid:"ruleNameValid",ruleName:"ruleName",ruleType:"ruleType"},outputs:{resetRuleType:"resetRuleType"},decls:23,vars:6,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","tableName","required","true",1,"input-field"],[3,"value",4,"ngFor","ngForOf"],["matSelect","","formControlName","column","required","true",1,"input-field"],["value","allColumn"],["matSelect","","formControlName","spDataType","required","true",1,"input-field"],["appearance","outline",3,"hintLabel"],["matInput","","formControlName","maxColLength",1,"input-field"],[4,"ngIf"],[3,"value"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"Table is"),l(),d(4,"mat-select",2),_(5,tce,2,2,"mat-option",3),l()(),d(6,"mat-form-field",1)(7,"mat-label"),h(8,"and column is"),l(),d(9,"mat-select",4)(10,"mat-option",5),h(11,"All column"),l()()(),d(12,"mat-form-field",1)(13,"mat-label"),h(14,"and Spanner Type is"),l(),d(15,"mat-select",6),_(16,ice,2,2,"mat-option",3),l()(),d(17,"mat-form-field",7)(18,"mat-label"),h(19,"Max column length"),l(),D(20,"input",8),l(),_(21,nce,3,1,"div",9),_(22,oce,3,0,"div",9),l()),2&i&&(f("formGroup",o.editColMaxLengthForm),m(5),f("ngForOf",o.tableNames),m(11),f("ngForOf",o.spTypes),m(1),f("hintLabel",o.hintlabel),m(4),f("ngIf",!o.viewRuleFlag),m(1),f("ngIf",o.viewRuleFlag))},dependencies:[an,Et,Kt,Oi,Ii,sn,oo,_n,Mi,vi,Ui,xo,Ti,Xi]})}return t})();function ace(t,n){if(1&t&&(d(0,"mat-option",7),h(1),l()),2&t){const e=n.$implicit;f("value",e.value),m(1),Re(e.display)}}function sce(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",8),L("click",function(){return ae(e),se(w().formSubmit())}),h(2," ADD RULE "),l()()}if(2&t){const e=w();m(1),f("disabled",!(e.addShardIdPrimaryKeyForm.valid&&e.ruleNameValid))}}function cce(t,n){if(1&t){const e=_e();d(0,"div")(1,"button",9),L("click",function(){return ae(e),se(w().deleteRule())}),h(2,"DELETE RULE"),l()()}}let lce=(()=>{class t{constructor(e,i,o){this.fb=e,this.data=i,this.sidenav=o,this.ruleNameValid=!1,this.ruleName="",this.ruleType="",this.resetRuleType=new Ne,this.viewRuleFlag=!1,this.viewRuleData={},this.primaryKeyOrder=[{value:!0,display:"At the beginning"},{value:!1,display:"At the end"}],this.addShardIdPrimaryKeyForm=this.fb.group({table:["allTable",me.required],primaryKeyOrder:["",me.required]})}ngOnInit(){this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag&&(this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.viewRuleData&&this.setViewRuleData(this.viewRuleData)}),this.addShardIdPrimaryKeyForm.disable())})}formSubmit(){this.data.applyRule({Name:this.ruleName,Type:"add_shard_id_primary_key",AssociatedObjects:"All Tables",Enabled:!0,Data:{AddedAtTheStart:this.addShardIdPrimaryKeyForm.value.primaryKeyOrder},Id:""}),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}setViewRuleData(e){this.ruleId=e?.Id,this.addShardIdPrimaryKeyForm.controls.primaryKeyOrder.setValue(e?.Data?.AddedAtTheStart)}deleteRule(){this.data.dropRule(this.ruleId),this.resetRuleType.emit(""),this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Kr),g(Li),g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-add-shard-id-primary-key"]],inputs:{ruleNameValid:"ruleNameValid",ruleName:"ruleName",ruleType:"ruleType"},outputs:{resetRuleType:"resetRuleType"},decls:14,vars:4,consts:[[3,"formGroup"],["appearance","outline"],["matSelect","","formControlName","table","required","true",1,"input-field"],["value","allTable"],["matSelect","","formControlName","primaryKeyOrder","required","true",1,"input-field"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"Table is"),l(),d(4,"mat-select",2)(5,"mat-option",3),h(6,"All tables"),l()()(),d(7,"mat-form-field",1)(8,"mat-label"),h(9,"Order in Primary Key"),l(),d(10,"mat-select",4),_(11,ace,2,2,"mat-option",5),l()(),_(12,sce,3,1,"div",6),_(13,cce,3,0,"div",6),l()),2&i&&(f("formGroup",o.addShardIdPrimaryKeyForm),m(11),f("ngForOf",o.primaryKeyOrder),m(1),f("ngIf",!o.viewRuleFlag),m(1),f("ngIf",o.viewRuleFlag))},dependencies:[an,Et,Kt,Oi,Ii,oo,_n,vi,Ui,xo,Ti,Xi]})}return t})();function dce(t,n){1&t&&(d(0,"mat-option",18),h(1,"Add shard id column as primary key"),l())}function uce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-edit-global-datatype-form",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}function hce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-add-index-form",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}function mce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-edit-column-max-length",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}function pce(t,n){if(1&t){const e=_e();d(0,"div")(1,"app-add-shard-id-primary-key",19),L("resetRuleType",function(){return ae(e),se(w().resetRuleType())}),l()()}if(2&t){const e=w();m(1),f("ruleNameValid",e.ruleForm.valid)("ruleName",e.rulename)("ruleType",e.ruletype)}}let fce=(()=>{class t{constructor(e,i){this.sidenav=e,this.data=i,this.currentRules=[],this.ruleForm=new ni({ruleName:new Q("",[me.required,me.pattern("^[a-zA-Z].{0,59}$")]),ruleType:new Q("",[me.required])}),this.rulename="",this.ruletype="",this.viewRuleData=[],this.viewRuleFlag=!1,this.shardedMigration=!1}ngOnInit(){this.data.conv.subscribe({next:e=>{Object.keys(e.SpSchema),this.shardedMigration=!!e.IsSharded}}),this.ruleForm.valueChanges.subscribe(()=>{this.rulename=this.ruleForm.controls.ruleName?.value,this.ruletype=this.ruleForm.controls.ruleType?.value}),this.sidenav.displayRuleFlag.subscribe(e=>{this.viewRuleFlag=e,this.viewRuleFlag?this.sidenav.ruleData.subscribe(i=>{this.viewRuleData=i,this.setViewRuleData(this.viewRuleData)}):(this.ruleForm.enable(),this.ruleForm.controls.ruleType.setValue(""),this.sidenav.sidenavRuleType.subscribe(i=>{"addIndex"===i&&this.ruleForm.controls.ruleType.setValue("addIndex")}))})}setViewRuleData(e){this.ruleForm.disable(),this.ruleForm.controls.ruleName.setValue(e?.Name),this.ruleForm.controls.ruleType.setValue(this.getViewRuleType(this.viewRuleData?.Type))}closeSidenav(){this.sidenav.closeSidenav()}get ruleType(){return this.ruleForm.get("ruleType")?.value}resetRuleType(){this.ruleForm.controls.ruleType.setValue(""),this.ruleForm.controls.ruleName.setValue(""),this.ruleForm.markAsUntouched()}getViewRuleType(e){switch(e){case"add_index":return"addIndex";case"global_datatype_change":return"globalDataType";case"edit_column_max_length":return"changeMaxLength";case"add_shard_id_primary_key":return"addShardIdPrimaryKey"}return""}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn),g(Li))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-rule"]],inputs:{currentRules:"currentRules"},decls:36,vars:8,consts:[[1,"sidenav"],[1,"sidenav-header"],[1,"header-title"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"sidenav-content"],[3,"formGroup"],["hintLabel","Max. 60 characters, and starts with a letter.","appearance","outline"],["matInput","","formControlName","ruleName",1,"input-field"],["align","end"],["appearance","outline"],["matSelect","","formControlName","ruleType","required","true",1,"input-field"],["ruleType",""],["value","globalDataType"],["value","addIndex"],["value","changeMaxLength"],["value","addShardIdPrimaryKey",4,"ngIf"],[4,"ngIf"],["value","addShardIdPrimaryKey"],[3,"ruleNameValid","ruleName","ruleType","resetRuleType"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3),l(),d(4,"button",3),L("click",function(){return o.closeSidenav()}),d(5,"mat-icon",4),h(6,"close"),l()()(),d(7,"div",5)(8,"form",6)(9,"h3"),h(10,"Rule info"),l(),d(11,"mat-form-field",7)(12,"mat-label"),h(13,"Rule name"),l(),D(14,"input",8),d(15,"mat-hint",9),h(16),l()(),d(17,"h3"),h(18,"Rule definition"),l(),d(19,"mat-form-field",10)(20,"mat-label"),h(21,"Rule type"),l(),d(22,"mat-select",11,12)(24,"mat-option",13),h(25,"Change global data type"),l(),d(26,"mat-option",14),h(27,"Add Index"),l(),d(28,"mat-option",15),h(29,"Change default max column length"),l(),_(30,dce,2,0,"mat-option",16),l()(),D(31,"br"),l(),_(32,uce,2,3,"div",17),_(33,hce,2,3,"div",17),_(34,mce,2,3,"div",17),_(35,pce,2,3,"div",17),l()()),2&i){const r=At(23);m(3),Re(o.viewRuleFlag?"View Rule":"Add Rule"),m(5),f("formGroup",o.ruleForm),m(8),Se("",(null==o.ruleForm.value.ruleName?null:o.ruleForm.value.ruleName.length)||0,"/60"),m(14),f("ngIf",o.shardedMigration),m(2),f("ngIf","globalDataType"===r.value),m(1),f("ngIf","addIndex"===r.value),m(1),f("ngIf","changeMaxLength"===r.value),m(1),f("ngIf","addShardIdPrimaryKey"===r.value)}},dependencies:[Et,Fa,_i,Oi,Ii,Qc,sn,oo,_n,Tn,Mi,vi,Ui,xo,Ti,Xi,Kse,ece,rce,lce],styles:["mat-mdc-form-field[_ngcontent-%COMP%]{padding-bottom:0} .mat-mdc-form-field-wrapper{padding-bottom:14px}"]})}return t})();function gce(t,n){1&t&&(d(0,"th",39),h(1,"Total tables"),l())}function _ce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.total)}}function bce(t,n){1&t&&(d(0,"th",39)(1,"mat-icon",41),h(2," error "),l(),h(3,"Converted with many issues "),l())}function vce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.bad)}}function yce(t,n){1&t&&(d(0,"th",39)(1,"mat-icon",42),h(2," warning"),l(),h(3,"Conversion some warnings & suggestions "),l())}function xce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.ok)}}function wce(t,n){1&t&&(d(0,"th",39)(1,"mat-icon",43),h(2," check_circle "),l(),h(3,"100% conversion "),l())}function Cce(t,n){if(1&t&&(d(0,"td",40),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.good)}}function Dce(t,n){1&t&&D(0,"tr",44)}function kce(t,n){1&t&&D(0,"tr",45)}function Sce(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function Mce(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function Tce(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function Ice(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function Ece(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function Oce(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function Ace(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function Pce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function Rce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function Fce(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,Pce,2,0,"mat-icon",37),_(3,Rce,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function Nce(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function Lce(t,n){1&t&&D(0,"tr",44)}function Bce(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function Vce(t,n){1&t&&D(0,"tr",75)}const _f=function(){return["expandedDetail"]};function jce(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",46),h(4," error "),l(),h(5," ERRORS "),l()(),d(6,"table",47),xe(7,48),_(8,Sce,2,0,"th",49),_(9,Mce,2,1,"td",50),we(),xe(10,51),_(11,Tce,2,0,"th",52),_(12,Ice,2,1,"td",53),we(),xe(13,54),_(14,Ece,2,0,"th",55),_(15,Oce,2,1,"td",56),we(),xe(16,57),_(17,Ace,2,0,"th",58),_(18,Fce,4,2,"td",59),we(),xe(19,60),_(20,Nce,4,3,"td",59),we(),_(21,Lce,1,0,"tr",34),_(22,Bce,1,2,"tr",61),_(23,Vce,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Errors),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function zce(t,n){1&t&&D(0,"br")}function Hce(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function Uce(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function $ce(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function Gce(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function Wce(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function qce(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function Kce(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function Zce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function Yce(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function Qce(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,Zce,2,0,"mat-icon",37),_(3,Yce,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function Xce(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function Jce(t,n){1&t&&D(0,"tr",44)}function ele(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function tle(t,n){1&t&&D(0,"tr",75)}function ile(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",76),h(4," warning "),l(),h(5," WARNINGS "),l()(),d(6,"table",47),xe(7,48),_(8,Hce,2,0,"th",49),_(9,Uce,2,1,"td",50),we(),xe(10,51),_(11,$ce,2,0,"th",52),_(12,Gce,2,1,"td",53),we(),xe(13,54),_(14,Wce,2,0,"th",55),_(15,qce,2,1,"td",56),we(),xe(16,57),_(17,Kce,2,0,"th",58),_(18,Qce,4,2,"td",59),we(),xe(19,60),_(20,Xce,4,3,"td",59),we(),_(21,Jce,1,0,"tr",34),_(22,ele,1,2,"tr",61),_(23,tle,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Warnings),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function nle(t,n){1&t&&D(0,"br")}function ole(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function rle(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function ale(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function sle(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function cle(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function lle(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function dle(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function ule(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function hle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function mle(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,ule,2,0,"mat-icon",37),_(3,hle,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function ple(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function fle(t,n){1&t&&D(0,"tr",44)}function gle(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function _le(t,n){1&t&&D(0,"tr",75)}function ble(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",77),h(4," wb_incandescent "),l(),h(5," SUGGESTIONS "),l()(),d(6,"table",47),xe(7,48),_(8,ole,2,0,"th",49),_(9,rle,2,1,"td",50),we(),xe(10,51),_(11,ale,2,0,"th",52),_(12,sle,2,1,"td",53),we(),xe(13,54),_(14,cle,2,0,"th",55),_(15,lle,2,1,"td",56),we(),xe(16,57),_(17,dle,2,0,"th",58),_(18,mle,4,2,"td",59),we(),xe(19,60),_(20,ple,4,3,"td",59),we(),_(21,fle,1,0,"tr",34),_(22,gle,1,2,"tr",61),_(23,_le,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Suggestions),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function vle(t,n){1&t&&D(0,"br")}function yle(t,n){1&t&&(d(0,"th",63),h(1," No. "),l())}function xle(t,n){if(1&t&&(d(0,"td",64),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.position," ")}}function wle(t,n){1&t&&(d(0,"th",65),h(1," Description "),l())}function Cle(t,n){if(1&t&&(d(0,"td",66),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.description," ")}}function Dle(t,n){1&t&&(d(0,"th",67),h(1," Table Count "),l())}function kle(t,n){if(1&t&&(d(0,"td",68),h(1),l()),2&t){const e=n.$implicit;m(1),Se(" ",e.tableCount," ")}}function Sle(t,n){1&t&&(d(0,"th",69),h(1,"\xa0"),l())}function Mle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_down"),l())}function Tle(t,n){1&t&&(d(0,"mat-icon"),h(1,"keyboard_arrow_up"),l())}function Ile(t,n){if(1&t){const e=_e();d(0,"td",70)(1,"button",71),L("click",function(o){const a=ae(e).$implicit;return w(2).toggleRow(a),se(o.stopPropagation())}),_(2,Mle,2,0,"mat-icon",37),_(3,Tle,2,0,"mat-icon",37),l()()}if(2&t){const e=n.$implicit,i=w(2);m(2),f("ngIf",!i.isRowExpanded(e)),m(1),f("ngIf",i.isRowExpanded(e))}}function Ele(t,n){if(1&t&&(d(0,"td",70)(1,"div",72)(2,"div",73),h(3),l()()()),2&t){const e=n.$implicit,i=w(2);et("colspan",i.columnsToDisplayWithExpand.length),m(1),f("ngClass",i.isRowExpanded(e)?"expanded":"collapsed"),m(2),Se(" TABLES: ",e.tableNamesJoinedByComma,"")}}function Ole(t,n){1&t&&D(0,"tr",44)}function Ale(t,n){if(1&t){const e=_e();d(0,"tr",74),L("click",function(){const r=ae(e).$implicit;return se(w(2).toggleRow(r))}),l()}if(2&t){const e=n.$implicit;Xe("example-expanded-row",w(2).isRowExpanded(e))}}function Ple(t,n){1&t&&D(0,"tr",75)}function Rle(t,n){if(1&t&&(d(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon",78),h(4," check_circle "),l(),h(5," NOTES "),l()(),d(6,"table",47),xe(7,48),_(8,yle,2,0,"th",49),_(9,xle,2,1,"td",50),we(),xe(10,51),_(11,wle,2,0,"th",52),_(12,Cle,2,1,"td",53),we(),xe(13,54),_(14,Dle,2,0,"th",55),_(15,kle,2,1,"td",56),we(),xe(16,57),_(17,Sle,2,0,"th",58),_(18,Ile,4,2,"td",59),we(),xe(19,60),_(20,Ele,4,3,"td",59),we(),_(21,Ole,1,0,"tr",34),_(22,Ale,1,2,"tr",61),_(23,Ple,1,0,"tr",62),l()()),2&t){const e=w();m(6),f("dataSource",e.issueTableData_Notes),m(15),f("matHeaderRowDef",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",e.columnsToDisplayWithExpand),m(1),f("matRowDefColumns",Ko(4,_f))}}function Fle(t,n){1&t&&D(0,"br")}function Nle(t,n){1&t&&(d(0,"div",79)(1,"div",80),di(),d(2,"svg",81),D(3,"path",82),l()(),Pr(),d(4,"div",83),h(5," Woohoo! No issues or suggestions"),D(6,"br"),h(7,"found. "),l(),D(8,"br"),l())}const R0=function(t){return{"width.%":t}};let Lle=(()=>{class t{toggleRow(e){this.isRowExpanded(e)?this.expandedElements.delete(e):this.expandedElements.add(e)}isRowExpanded(e){return this.expandedElements.has(e)}constructor(e,i,o){this.sidenav=e,this.clickEvent=i,this.fetch=o,this.issueTableData_Errors=[],this.issueTableData_Warnings=[],this.issueTableData_Suggestions=[],this.issueTableData_Notes=[],this.columnsToDisplay=["position","description","tableCount"],this.columnsToDisplayWithExpand=[...this.columnsToDisplay,"expand"],this.expandedElements=new Set,this.srcDbType="",this.connectionDetail="",this.summaryText="",this.issueDescription={},this.conversionRateCount={good:0,ok:0,bad:0},this.conversionRatePercentage={good:0,ok:0,bad:0},this.rateCountDataSource=[],this.rateCountDisplayedColumns=["total","bad","ok","good"],this.ratePcDataSource=[],this.ratePcDisplayedColumns=["bad","ok","good"]}ngOnInit(){this.clickEvent.viewAssesment.subscribe(e=>{this.srcDbType=e.srcDbType,this.connectionDetail=e.connectionDetail,this.conversionRateCount=e.conversionRates;let i=this.conversionRateCount.good+this.conversionRateCount.ok+this.conversionRateCount.bad;if(i>0)for(let o in this.conversionRatePercentage)this.conversionRatePercentage[o]=Number((this.conversionRateCount[o]/i*100).toFixed(2));i>0&&this.setRateCountDataSource(i),this.fetch.getDStructuredReport().subscribe({next:o=>{this.summaryText=o.summary.text}}),this.issueTableData={position:0,description:"",tableCount:0,tableNamesJoinedByComma:""},this.fetch.getIssueDescription().subscribe({next:o=>{this.issueDescription=o,this.generateIssueReport()}})})}closeSidenav(){this.sidenav.closeSidenav()}setRateCountDataSource(e){this.rateCountDataSource=[],this.rateCountDataSource.push({total:e,bad:this.conversionRateCount.bad,ok:this.conversionRateCount.ok,good:this.conversionRateCount.good})}downloadStructuredReport(){var e=document.createElement("a");this.fetch.getDStructuredReport().subscribe({next:i=>{let o=JSON.stringify(i).replace(/9223372036854776000/g,"9223372036854775807");e.href="data:text;charset=utf-8,"+encodeURIComponent(o),e.download=`${i.summary.dbName}_migration_structuredReport.json`,e.click()}})}downloadTextReport(){var e=document.createElement("a");this.fetch.getDTextReport().subscribe({next:i=>{let o=this.connectionDetail;e.href="data:text;charset=utf-8,"+encodeURIComponent(i),e.download=`${o}_migration_textReport.txt`,e.click()}})}downloadReports(){let e=new BA;this.fetch.getDStructuredReport().subscribe({next:i=>{let o=i.summary.dbName,r=JSON.stringify(i).replace(/9223372036854776000/g,"9223372036854775807");e.file(o+"_migration_structuredReport.json",r),this.fetch.getDTextReport().subscribe({next:s=>{e.file(o+"_migration_textReport.txt",s),e.generateAsync({type:"blob"}).then(c=>{var u=document.createElement("a");u.href=URL.createObjectURL(c),u.download=`${o}_reports`,u.click()})}})}})}generateIssueReport(){this.fetch.getDStructuredReport().subscribe({next:e=>{let i=e.tableReports;var o={errors:new Map,warnings:new Map,suggestions:new Map,notes:new Map};for(var r of i){let c=r.issues;if(null==c)return this.issueTableData_Errors=[],this.issueTableData_Warnings=[],this.issueTableData_Suggestions=[],void(this.issueTableData_Notes=[]);for(var a of c){let u={tableCount:0,tableNames:new Set};switch(a.issueType){case"Error":case"Errors":this.appendIssueWithTableInformation(a.issueList,o.errors,u,r);break;case"Warnings":case"Warning":this.appendIssueWithTableInformation(a.issueList,o.warnings,u,r);break;case"Suggestion":case"Suggestions":this.appendIssueWithTableInformation(a.issueList,o.suggestions,u,r);break;case"Note":case"Notes":this.appendIssueWithTableInformation(a.issueList,o.notes,u,r)}}}let s=o.warnings;this.issueTableData_Warnings=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Warnings),s=o.errors,this.issueTableData_Errors=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Errors),s=o.suggestions,this.issueTableData_Suggestions=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Suggestions),s=o.notes,this.issueTableData_Notes=[],0!=s.size&&this.populateTableData(s,this.issueTableData_Notes)}})}populateTableData(e,i){let o=1;for(let[r,a]of e.entries()){let s=[...a.tableNames.keys()];i.push({position:o,description:this.issueDescription[r],tableCount:a.tableCount,tableNamesJoinedByComma:s.join(", ")}),o+=1}}appendIssueWithTableInformation(e,i,o,r){for(var a of e)if(i.has(a.category)){let c=i.get(a.category),u={tableNames:new Set(c.tableNames),tableCount:c.tableNames.size};u.tableNames.add(r.srcTableName),u.tableCount=u.tableNames.size,i.set(a.category,u)}else{let c=o;c.tableNames.add(r.srcTableName),c.tableCount=c.tableNames.size,i.set(a.category,c)}}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn),g(jo),g(yn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-view-assessment"]],decls:87,vars:25,consts:[[1,"sidenav-view-assessment-container"],[1,"sidenav-view-assessment-header"],[1,"mat-h2","header-title"],[1,"btn-source-select"],[1,"reportsButtons"],["mat-raised-button","","color","primary",1,"split-button-left",3,"click"],["mat-raised-button","","color","primary",1,"split-button-right",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","More options"],["xPosition","before"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"content"],[1,"summaryHeader"],[1,"databaseName"],[1,"migrationDetails"],[1,"summaryText"],[1,"sidenav-percentage-bar"],[1,"danger-background",3,"ngStyle"],[1,"warning-background",3,"ngStyle"],[1,"success-background",3,"ngStyle"],[1,"sidenav-percentage-indent"],[1,"icon","danger"],[1,"icon","warning"],[1,"icon","success"],[1,"sidenav-title"],["mat-table","",1,"sidenav-conversionByTable",3,"dataSource"],["matColumnDef","total"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","cells",4,"matCellDef"],["matColumnDef","bad",1,"bad"],["matColumnDef","ok"],["matColumnDef","good"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"issue-report"],[4,"ngIf"],["class","no-issue-container",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"cells"],[1,"icon","danger","icon-size","icons"],[1,"icon","warning","icon-size","icons"],[1,"icon","success","icon-size","icons"],["mat-header-row",""],["mat-row",""],["matTooltip","Error: Please resolve them to proceed with the migration","matTooltipPosition","above",1,"danger"],["mat-table","","multiTemplateDataRows","",1,"sidenav-databaseDefinitions",3,"dataSource"],["matColumnDef","position"],["mat-header-cell","","class","mat-position",4,"matHeaderCellDef"],["mat-cell","","class","mat-position",4,"matCellDef"],["matColumnDef","description"],["mat-header-cell","","class","mat-description",4,"matHeaderCellDef"],["mat-cell","","class","mat-description",4,"matCellDef"],["matColumnDef","tableCount"],["mat-header-cell","","class","mat-tableCount",4,"matHeaderCellDef"],["mat-cell","","class","mat-tableCount",4,"matCellDef"],["matColumnDef","expand"],["mat-header-cell","","aria-label","row actions",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","expandedDetail"],["mat-row","","class","example-element-row",3,"example-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","example-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"mat-position"],["mat-cell","",1,"mat-position"],["mat-header-cell","",1,"mat-description"],["mat-cell","",1,"mat-description"],["mat-header-cell","",1,"mat-tableCount"],["mat-cell","",1,"mat-tableCount"],["mat-header-cell","","aria-label","row actions"],["mat-cell",""],["mat-icon-button","","aria-label","expand row",3,"click"],[1,"example-element-detail",3,"ngClass"],[1,"example-element-description"],["mat-row","",1,"example-element-row",3,"click"],["mat-row","",1,"example-detail-row"],["matTooltip","Warning : Changes made because of differences in source and spanner capabilities.","matTooltipPosition","above",1,"warning"],["matTooltip","Suggestion : We highly recommend you make these changes or else it will impact your DB performance.","matTooltipPosition","above",1,"suggestion"],["matTooltip","Note : This is informational and you don't need to do anything.","matTooltipPosition","above",1,"success"],[1,"no-issue-container"],[1,"no-issue-icon-container"],["width","36","height","36","viewBox","0 0 24 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.8332 0.69873C16.0051 7.45842 16.2492 9.44782 10.4672 10.2012C16.1511 11.1242 16.2329 13.2059 16.8332 19.7037C17.6237 13.1681 17.4697 11.2106 23.1986 10.2012C17.4247 9.45963 17.6194 7.4505 16.8332 0.69873ZM4.23739 0.872955C3.79064 4.52078 3.92238 5.59467 0.802246 6.00069C3.86944 6.49885 3.91349 7.62218 4.23739 11.1284C4.66397 7.60153 4.581 6.54497 7.67271 6.00069C4.55696 5.60052 4.66178 4.51623 4.23739 0.872955ZM7.36426 11.1105C7.05096 13.6683 7.14331 14.4212 4.95554 14.7061C7.10612 15.0553 7.13705 15.8431 7.36426 18.3017C7.66333 15.8288 7.60521 15.088 9.77298 14.7061C7.58818 14.4255 7.66177 13.6653 7.36426 11.1105Z","fill","#3367D6"],[1,"no-issue-message"]],template:function(i,o){if(1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3,"Assessment report"),l(),d(4,"div",3)(5,"span",4)(6,"button",5),L("click",function(){return o.downloadReports()}),h(7," DOWNLOAD REPORTS "),l(),d(8,"button",6)(9,"mat-icon",7),h(10,"expand_more"),l()(),d(11,"mat-menu",8,9)(13,"button",10),L("click",function(){return o.downloadTextReport()}),h(14," Download Text Report "),l(),d(15,"button",10),L("click",function(){return o.downloadStructuredReport()}),h(16," Download Structured Report "),l()()(),d(17,"button",11),L("click",function(){return o.closeSidenav()}),d(18,"mat-icon",12),h(19,"close"),l()()()(),d(20,"div",13)(21,"div",14)(22,"p",15),h(23),l(),d(24,"p",16),h(25),d(26,"mat-icon"),h(27,"arrow_right_alt"),l(),h(28," Spanner)"),l()(),d(29,"p",17),h(30),l(),d(31,"mat-card")(32,"div",18),D(33,"div",19)(34,"div",20)(35,"div",21),l(),D(36,"hr")(37,"br"),d(38,"div",22)(39,"span")(40,"mat-icon",23),h(41," circle "),l(),d(42,"span"),h(43," Not a great conversion"),l()(),d(44,"span")(45,"mat-icon",24),h(46," circle "),l(),d(47,"span"),h(48," Converted with warnings"),l()(),d(49,"span")(50,"mat-icon",25),h(51," circle "),l(),d(52,"span"),h(53," Converted automatically"),l()()()(),D(54,"br"),d(55,"h3",26),h(56,"Conversion status by table"),l(),d(57,"table",27),xe(58,28),_(59,gce,2,0,"th",29),_(60,_ce,2,1,"td",30),we(),xe(61,31),_(62,bce,4,0,"th",29),_(63,vce,2,1,"td",30),we(),xe(64,32),_(65,yce,4,0,"th",29),_(66,xce,2,1,"td",30),we(),xe(67,33),_(68,wce,4,0,"th",29),_(69,Cce,2,1,"td",30),we(),_(70,Dce,1,0,"tr",34),_(71,kce,1,0,"tr",35),l(),D(72,"br"),d(73,"h3"),h(74,"Summarized Table Report"),l(),d(75,"div",36),_(76,jce,24,5,"mat-expansion-panel",37),_(77,zce,1,0,"br",37),_(78,ile,24,5,"mat-expansion-panel",37),_(79,nle,1,0,"br",37),_(80,ble,24,5,"mat-expansion-panel",37),_(81,vle,1,0,"br",37),_(82,Rle,24,5,"mat-expansion-panel",37),_(83,Fle,1,0,"br",37),_(84,Nle,9,0,"div",38),D(85,"br"),l(),D(86,"br"),l()()),2&i){const r=At(12);m(8),f("matMenuTriggerFor",r),m(15),Re(o.connectionDetail),m(2),Se(" \xa0 (",o.srcDbType," "),m(5),Re(o.summaryText),m(3),f("ngStyle",ii(19,R0,o.conversionRatePercentage.bad)),m(1),f("ngStyle",ii(21,R0,o.conversionRatePercentage.ok)),m(1),f("ngStyle",ii(23,R0,o.conversionRatePercentage.good)),m(22),f("dataSource",o.rateCountDataSource),m(13),f("matHeaderRowDef",o.rateCountDisplayedColumns),m(1),f("matRowDefColumns",o.rateCountDisplayedColumns),m(5),f("ngIf",o.issueTableData_Errors.length),m(1),f("ngIf",o.issueTableData_Errors.length),m(1),f("ngIf",o.issueTableData_Warnings.length),m(1),f("ngIf",o.issueTableData_Warnings.length),m(1),f("ngIf",o.issueTableData_Suggestions.length),m(1),f("ngIf",o.issueTableData_Suggestions.length),m(1),f("ngIf",o.issueTableData_Notes.length),m(1),f("ngIf",o.issueTableData_Notes.length),m(1),f("ngIf",!(o.issueTableData_Notes.length||o.issueTableData_Suggestions.length||o.issueTableData_Warnings.length||o.issueTableData_Errors.length))}},dependencies:[Qo,Et,eM,Kt,Fa,_i,Ud,tl,Xr,il,Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa,Vy,kE,rq,On],styles:["table.mat-mdc-table[_ngcontent-%COMP%]{width:100%}.icon-size[_ngcontent-%COMP%]{font-size:1.2em;text-align:center;margin-top:8px;margin-left:10px;vertical-align:inherit}.mat-mdc-header-cell[_ngcontent-%COMP%]{border-style:none}.icons[_ngcontent-%COMP%]{border-left:1px solid rgb(208,204,204);padding-left:10px}.cells[_ngcontent-%COMP%]{text-align:center}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%]{padding:7px 16px;display:flex;flex-direction:row;align-items:center;border-bottom:1px solid #d0cccc;justify-content:space-between}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{margin:0}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%]{vertical-align:middle}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .reportsButtons[_ngcontent-%COMP%]{white-space:nowrap;vertical-align:middle}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-left[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .split-button-right[_ngcontent-%COMP%]{width:30px!important;min-width:unset!important;padding:0 8px 0 2px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid #fafafa}.sidenav-view-assessment-container[_ngcontent-%COMP%] .sidenav-view-assessment-header[_ngcontent-%COMP%] .btn-source-select[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{margin-left:1.25px;padding:0;height:10px;vertical-align:text-top}"]})}return t})(),Ble=(()=>{class t{constructor(e,i,o,r){this.fetch=e,this.data=i,this.snack=o,this.sidenav=r,this.errMessage="",this.saveSessionForm=new ni({SessionName:new Q("",[me.required,me.pattern("^[a-zA-Z][a-zA-Z0-9_ -]{0,59}$")]),EditorName:new Q("",[me.required,me.pattern("^[a-zA-Z][a-zA-Z0-9_ -]{0,59}$")]),DatabaseName:new Q("",[me.required,me.pattern("^[a-zA-Z][a-zA-Z0-9_-]{0,59}$")]),Notes:new Q("")})}saveSession(){let e=this.saveSessionForm.value,i={SessionName:e.SessionName.trim(),EditorName:e.EditorName.trim(),DatabaseName:e.DatabaseName.trim(),Notes:""===e.Notes?.trim()||null===e.Notes?[""]:e.Notes?.split("\n")};this.fetch.saveSession(i).subscribe({next:o=>{this.data.getAllSessions(),this.snack.openSnackBar("Session saved successfully","Close",5)},error:o=>{this.snack.openSnackBar(o.error,"Close")}}),this.saveSessionForm.reset(),this.saveSessionForm.markAsUntouched(),this.closeSidenav()}ngOnInit(){this.sidenav.sidenavDatabaseName.subscribe({next:e=>{this.saveSessionForm.controls.DatabaseName.setValue(e)}})}closeSidenav(){this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(yn),g(Li),g(Vo),g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-save-session"]],decls:40,vars:5,consts:[[1,"sidenav"],[1,"sidenav-header"],[1,"header-title"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"sidenav-content"],[1,"save-session-form",3,"formGroup"],["hintLabel","Letters, numbers, hyphen, space and underscore allowed. Max. 60 characters, and starts with a letter.","appearance","outline"],["matInput","","placeholder","mysession","type","text","formControlName","SessionName","matTooltip","User can view saved sessions under session history section","matTooltipPosition","above"],["align","end"],["hintLabel","Letters, numbers, hyphen, space and underscore allowed. Max. 60 characters, and starts with a letter.","appearance","outline",1,"full-width"],["matInput","","placeholder","editor name","type","text","formControlName","EditorName"],["hintLabel","Letters, numbers, hyphen and underscores allowed. Max. 60 characters, and starts with a letter.","appearance","outline",1,"full-width"],["matInput","","type","text","formControlName","DatabaseName"],["appearance","outline",1,"full-width"],["rows","7","matInput","","placeholder","added new index","type","text","formControlName","Notes"],[1,"sidenav-footer"],["mat-raised-button","","type","submit","color","primary",3,"disabled","click"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3,"Save Session"),l(),d(4,"button",3),L("click",function(){return o.closeSidenav()}),d(5,"mat-icon",4),h(6,"close"),l()()(),d(7,"div",5)(8,"h3"),h(9,"Session Details"),l(),d(10,"form",6)(11,"mat-form-field",7)(12,"mat-label"),h(13,"Session Name"),l(),D(14,"input",8),d(15,"mat-hint",9),h(16),l()(),D(17,"br"),d(18,"mat-form-field",10)(19,"mat-label"),h(20,"Editor Name"),l(),D(21,"input",11),d(22,"mat-hint",9),h(23),l()(),D(24,"br"),d(25,"mat-form-field",12)(26,"mat-label"),h(27,"Database Name"),l(),D(28,"input",13),d(29,"mat-hint",9),h(30),l()(),D(31,"br"),d(32,"mat-form-field",14)(33,"mat-label"),h(34,"Notes"),l(),D(35,"textarea",15),l(),D(36,"br"),l()(),d(37,"div",16)(38,"button",17),L("click",function(){return o.saveSession()}),h(39," Save Session "),l()()()),2&i&&(m(10),f("formGroup",o.saveSessionForm),m(6),Se("",(null==o.saveSessionForm.value.SessionName?null:o.saveSessionForm.value.SessionName.length)||0,"/60"),m(7),Se("",(null==o.saveSessionForm.value.EditorName?null:o.saveSessionForm.value.EditorName.length)||0,"/60"),m(7),Se("",(null==o.saveSessionForm.value.DatabaseName?null:o.saveSessionForm.value.DatabaseName.length)||0,"/60"),m(8),f("disabled",!o.saveSessionForm.valid))},dependencies:[Kt,Fa,_i,Oi,Ii,Qc,sn,Tn,Mi,vi,Ui,Ti,Xi,On],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{padding-bottom:10px}"]})}return t})();function Vle(t,n){1&t&&(d(0,"th",9),h(1,"Column"),l())}function jle(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.ColumnName)}}function zle(t,n){1&t&&(d(0,"th",9),h(1,"Type"),l())}function Hle(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.Type)}}function Ule(t,n){1&t&&(d(0,"th",9),h(1,"Updated Column"),l())}function $le(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.UpdateColumnName)}}function Gle(t,n){1&t&&(d(0,"th",9),h(1,"Updated Type"),l())}function Wle(t,n){if(1&t&&(d(0,"td",10),h(1),l()),2&t){const e=n.$implicit;m(1),Re(e.UpdateType)}}function qle(t,n){1&t&&D(0,"tr",11)}function Kle(t,n){1&t&&D(0,"tr",12)}let Zle=(()=>{class t{constructor(){this.tableChange={InterleaveColumnChanges:[],Table:""},this.dataSource=[],this.displayedColumns=["ColumnName","Type","UpdateColumnName","UpdateType"]}ngOnInit(){}ngOnChanges(e){this.tableChange=e.tableChange?.currentValue||this.tableChange,this.dataSource=this.tableChange.InterleaveColumnChanges}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-table-column-changes-preview"]],inputs:{tableChange:"tableChange"},features:[ai],decls:15,vars:3,consts:[["mat-table","",1,"object-full-width","margin-bot-1",3,"dataSource"],["matColumnDef","ColumnName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Type"],["matColumnDef","UpdateColumnName"],["matColumnDef","UpdateType"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(i,o){1&i&&(d(0,"table",0),xe(1,1),_(2,Vle,2,0,"th",2),_(3,jle,2,1,"td",3),we(),xe(4,4),_(5,zle,2,0,"th",2),_(6,Hle,2,1,"td",3),we(),xe(7,5),_(8,Ule,2,0,"th",2),_(9,$le,2,1,"td",3),we(),xe(10,6),_(11,Gle,2,0,"th",2),_(12,Wle,2,1,"td",3),we(),_(13,qle,1,0,"tr",7),_(14,Kle,1,0,"tr",8),l()),2&i&&(f("dataSource",o.dataSource),m(13),f("matHeaderRowDef",o.displayedColumns),m(1),f("matRowDefColumns",o.displayedColumns))},dependencies:[Ha,ia,Ua,na,ta,$a,oa,ra,Ga,Wa],styles:[".margin-bot-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mat-mdc-header-row[_ngcontent-%COMP%]{background-color:#f5f5f5}.mat-mdc-column-ColumnName[_ngcontent-%COMP%], .mat-mdc-column-UpdateColumnName[_ngcontent-%COMP%]{width:30%;max-width:30%}.mat-mdc-column-Type[_ngcontent-%COMP%], .mat-mdc-column-UpdateType[_ngcontent-%COMP%]{width:20%;max-width:20%}.mat-mdc-cell[_ngcontent-%COMP%]{padding-right:1rem;word-break:break-all}"]})}return t})();function Yle(t,n){1&t&&(d(0,"p"),h(1,"Review the DDL changes below."),l())}function Qle(t,n){if(1&t&&(d(0,"p"),h(1," Changing an interleaved table will have an impact on the following tables : "),d(2,"b"),h(3),l()()),2&t){const e=w();m(3),Re(e.tableList)}}function Xle(t,n){if(1&t&&(d(0,"div",11)(1,"pre")(2,"code"),h(3),l()()()),2&t){const e=w();m(3),Re(e.ddl)}}function Jle(t,n){if(1&t&&(xe(0),d(1,"h4"),h(2),l(),D(3,"app-table-column-changes-preview",14),we()),2&t){const e=n.$implicit,i=n.index,o=w(2);m(2),Re(o.tableNames[i]),m(1),f("tableChange",e)}}function ede(t,n){if(1&t&&(d(0,"div",12),_(1,Jle,4,2,"ng-container",13),l()),2&t){const e=w();m(1),f("ngForOf",e.tableChanges)}}let tde=(()=>{class t{constructor(e,i,o,r){this.sidenav=e,this.tableUpdatePubSub=i,this.data=o,this.snackbar=r,this.ddl="",this.showDdl=!0,this.tableUpdateData={tableName:"",tableId:"",updateDetail:{UpdateCols:{}}},this.tableChanges=[],this.tableNames=[],this.tableList=""}ngOnInit(){this.tableUpdatePubSub.reviewTableChanges.subscribe(e=>{if(e.Changes&&e.Changes.length>0){this.showDdl=!1,this.tableChanges=e.Changes;const i=[];this.tableList="",this.tableChanges.forEach((o,r)=>{i.push(o.Table),this.tableList+=0==r?o.Table:", "+o.Table}),this.tableList+=".",this.tableNames=i}else this.showDdl=!0,this.ddl=e.DDL}),this.tableUpdatePubSub.tableUpdateDetail.subscribe(e=>{this.tableUpdateData=e})}updateTable(){this.data.updateTable(this.tableUpdateData.tableId,this.tableUpdateData.updateDetail).subscribe({next:e=>{""==e?(this.snackbar.openSnackBar(`Schema changes to table ${this.tableUpdateData.tableName} saved successfully`,"Close",5),0==this.showDdl&&1!=this.tableNames.length&&this.snackbar.openSnackBar(`Schema changes to tables ${this.tableNames[0]} and ${this.tableNames[1]} saved successfully`,"Close",5),this.closeSidenav()):this.snackbar.openSnackBar(e,"Close",5)}})}closeSidenav(){this.ddl="",this.sidenav.closeSidenav()}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn),g(O0),g(Li),g(Vo))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-sidenav-review-changes"]],decls:17,vars:4,consts:[[1,"sidenav"],[1,"sidenav-header"],[1,"header-title"],["mat-icon-button","","color","primary",1,"close-button",3,"click"],[1,"close-icon"],[1,"sidenav-content"],[4,"ngIf"],["class","ddl-display",4,"ngIf"],["class","table-changes-display",4,"ngIf"],[1,"sidenav-footer"],["mat-raised-button","","color","primary",3,"click"],[1,"ddl-display"],[1,"table-changes-display"],[4,"ngFor","ngForOf"],[3,"tableChange"]],template:function(i,o){1&i&&(d(0,"div",0)(1,"div",1)(2,"span",2),h(3,"Review changes to your schema"),l(),d(4,"button",3),L("click",function(){return o.closeSidenav()}),d(5,"mat-icon",4),h(6,"close"),l()()(),D(7,"mat-divider"),d(8,"div",5),_(9,Yle,2,0,"p",6),_(10,Qle,4,1,"p",6),_(11,Xle,4,1,"div",7),_(12,ede,2,1,"div",8),l(),D(13,"mat-divider"),d(14,"div",9)(15,"button",10),L("click",function(){return o.updateTable()}),h(16,"Confirm Conversion"),l()()()),2&i&&(m(9),f("ngIf",o.showDdl),m(1),f("ngIf",!o.showDdl),m(1),f("ngIf",o.showDdl),m(1),f("ngIf",!o.showDdl))},dependencies:[an,Et,Kt,Fa,_i,TI,Zle],styles:[".sidenav-content[_ngcontent-%COMP%]{height:82%}.sidenav-content[_ngcontent-%COMP%] .ddl-display[_ngcontent-%COMP%]{height:90%;background-color:#dadada;padding:10px;overflow:auto}.sidenav-content[_ngcontent-%COMP%] .table-changes-display[_ngcontent-%COMP%]{height:90%;overflow:auto}"]})}return t})();function ide(t,n){1&t&&D(0,"app-sidenav-rule")}function nde(t,n){1&t&&D(0,"app-sidenav-save-session")}function ode(t,n){1&t&&D(0,"app-sidenav-review-changes")}function rde(t,n){1&t&&D(0,"app-sidenav-view-assessment")}function ade(t,n){1&t&&D(0,"app-instruction")}const sde=function(t,n,e){return{"width-40pc":t,"width-50pc":n,"width-60pc":e}};let cde=(()=>{class t{constructor(e){this.sidenavService=e,this.title="ui",this.showSidenav=!1,this.sidenavComponent=""}ngOnInit(){this.sidenavService.isSidenav.subscribe(e=>{this.showSidenav=e}),this.sidenavService.sidenavComponent.subscribe(e=>{this.sidenavComponent=e})}closeSidenav(){this.showSidenav=!1}static#e=this.\u0275fac=function(i){return new(i||t)(g(Pn))};static#t=this.\u0275cmp=Ee({type:t,selectors:[["app-root"]],decls:14,vars:11,consts:[[1,"sidenav-container",3,"backdropClick"],["position","end","mode","over",3,"opened","ngClass"],["sidenav",""],[4,"ngIf"],[1,"sidenav-content"],[1,"appLoader"],[1,"padding-20"]],template:function(i,o){1&i&&(d(0,"mat-sidenav-container",0),L("backdropClick",function(){return o.closeSidenav()}),d(1,"mat-sidenav",1,2),_(3,ide,1,0,"app-sidenav-rule",3),_(4,nde,1,0,"app-sidenav-save-session",3),_(5,ode,1,0,"app-sidenav-review-changes",3),_(6,rde,1,0,"app-sidenav-view-assessment",3),_(7,ade,1,0,"app-instruction",3),l(),d(8,"mat-sidenav-content",4),D(9,"app-header"),d(10,"div",5),D(11,"app-loader"),l(),d(12,"div",6),D(13,"router-outlet"),l()()()),2&i&&(m(1),f("opened",o.showSidenav)("ngClass",fk(7,sde,"rule"===o.sidenavComponent||"saveSession"===o.sidenavComponent,"reviewChanges"===o.sidenavComponent,"assessment"===o.sidenavComponent||"instruction"===o.sidenavComponent)),m(2),f("ngIf","rule"===o.sidenavComponent),m(1),f("ngIf","saveSession"==o.sidenavComponent),m(1),f("ngIf","reviewChanges"==o.sidenavComponent),m(1),f("ngIf","assessment"===o.sidenavComponent),m(1),f("ngIf","instruction"===o.sidenavComponent))},dependencies:[Qo,Et,rf,vO,yO,c0,NA,Bse,jse,fce,Lle,Ble,tde],styles:[".padding-20[_ngcontent-%COMP%]{padding:5px 0}.progress-bar-wrapper[_ngcontent-%COMP%]{background-color:#cbd0e9;height:2px}.progress-bar-wrapper[_ngcontent-%COMP%] .mat-mdc-progress-bar[_ngcontent-%COMP%], .appLoader[_ngcontent-%COMP%]{height:2px}mat-mdc-sidenav[_ngcontent-%COMP%]{width:30%;min-width:350px}.sidenav-container[_ngcontent-%COMP%]{height:100vh}.sidenav-container[_ngcontent-%COMP%] mat-mdc-sidenav[_ngcontent-%COMP%]{min-width:350px;border-radius:3px}.width-40pc[_ngcontent-%COMP%]{width:40%}.width-50pc[_ngcontent-%COMP%]{width:50%}.width-60pc[_ngcontent-%COMP%]{width:60%}"]})}return t})(),lde=(()=>{class t{constructor(e){this.loader=e,this.count=0}intercept(e,i){let o=!e.url.includes("/connect");return o&&(this.loader.startLoader(),this.count++),i.handle(e).pipe(xs(()=>{o&&this.count--,0==this.count&&this.loader.stopLoader()}))}static#e=this.\u0275fac=function(i){return new(i||t)(Z(pf))};static#t=this.\u0275prov=ke({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dde=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=lt({type:t,bootstrap:[cde]});static#i=this.\u0275inj=st({providers:[{provide:cI,useClass:lde,multi:!0}],imports:[DM,Ose,g7,sY,v9,zU,_Y,xY,GJ,Wy]})}return t})();mj().bootstrapModule(dde).catch(t=>console.error(t))},965:vl=>{vl.exports=function G(Pe,z,F){function P($,K){if(!z[$]){if(!Pe[$]){if(S)return S($,!0);var U=new Error("Cannot find module '"+$+"'");throw U.code="MODULE_NOT_FOUND",U}var M=z[$]={exports:{}};Pe[$][0].call(M.exports,function(B){return P(Pe[$][1][B]||B)},M,M.exports,G,Pe,z,F)}return z[$].exports}for(var S=void 0,T=0;T>4,B=1>6:64,k=2>2)+S.charAt(M)+S.charAt(B)+S.charAt(k));return R.join("")},z.decode=function(T){var $,K,H,U,M,B,k=0,R=0,I="data:";if(T.substr(0,5)===I)throw new Error("Invalid base64 input, it looks like a data url.");var V,q=3*(T=T.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(T.charAt(T.length-1)===S.charAt(64)&&q--,T.charAt(T.length-2)===S.charAt(64)&&q--,q%1!=0)throw new Error("Invalid base64 input, bad content length.");for(V=P.uint8array?new Uint8Array(0|q):new Array(0|q);k>4,K=(15&U)<<4|(M=S.indexOf(T.charAt(k++)))>>2,H=(3&M)<<6|(B=S.indexOf(T.charAt(k++))),V[R++]=$,64!==M&&(V[R++]=K),64!==B&&(V[R++]=H);return V}},{"./support":30,"./utils":32}],2:[function(G,Pe,z){"use strict";var F=G("./external"),P=G("./stream/DataWorker"),S=G("./stream/Crc32Probe"),T=G("./stream/DataLengthProbe");function $(K,H,U,M,B){this.compressedSize=K,this.uncompressedSize=H,this.crc32=U,this.compression=M,this.compressedContent=B}$.prototype={getContentWorker:function(){var K=new P(F.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new T("data_length")),H=this;return K.on("end",function(){if(this.streamInfo.data_length!==H.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),K},getCompressedWorker:function(){return new P(F.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},$.createWorkerFrom=function(K,H,U){return K.pipe(new S).pipe(new T("uncompressedSize")).pipe(H.compressWorker(U)).pipe(new T("compressedSize")).withStreamInfo("compression",H)},Pe.exports=$},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(G,Pe,z){"use strict";var F=G("./stream/GenericWorker");z.STORE={magic:"\0\0",compressWorker:function(){return new F("STORE compression")},uncompressWorker:function(){return new F("STORE decompression")}},z.DEFLATE=G("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(G,Pe,z){"use strict";var F=G("./utils"),P=function(){for(var S,T=[],$=0;$<256;$++){S=$;for(var K=0;K<8;K++)S=1&S?3988292384^S>>>1:S>>>1;T[$]=S}return T}();Pe.exports=function(S,T){return void 0!==S&&S.length?"string"!==F.getTypeOf(S)?function($,K,H,U){var M=P,B=0+H;$^=-1;for(var k=0;k>>8^M[255&($^K[k])];return-1^$}(0|T,S,S.length):function($,K,H,U){var M=P,B=0+H;$^=-1;for(var k=0;k>>8^M[255&($^K.charCodeAt(k))];return-1^$}(0|T,S,S.length):0}},{"./utils":32}],5:[function(G,Pe,z){"use strict";z.base64=!1,z.binary=!1,z.dir=!1,z.createFolders=!0,z.date=null,z.compression=null,z.compressionOptions=null,z.comment=null,z.unixPermissions=null,z.dosPermissions=null},{}],6:[function(G,Pe,z){"use strict";var F;F=typeof Promise<"u"?Promise:G("lie"),Pe.exports={Promise:F}},{lie:37}],7:[function(G,Pe,z){"use strict";var F=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",P=G("pako"),S=G("./utils"),T=G("./stream/GenericWorker"),$=F?"uint8array":"array";function K(H,U){T.call(this,"FlateWorker/"+H),this._pako=null,this._pakoAction=H,this._pakoOptions=U,this.meta={}}z.magic="\b\0",S.inherits(K,T),K.prototype.processChunk=function(H){this.meta=H.meta,null===this._pako&&this._createPako(),this._pako.push(S.transformTo($,H.data),!1)},K.prototype.flush=function(){T.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},K.prototype.cleanUp=function(){T.prototype.cleanUp.call(this),this._pako=null},K.prototype._createPako=function(){this._pako=new P[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var H=this;this._pako.onData=function(U){H.push({data:U,meta:H.meta})}},z.compressWorker=function(H){return new K("Deflate",H)},z.uncompressWorker=function(){return new K("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(G,Pe,z){"use strict";function F(M,B){var k,R="";for(k=0;k>>=8;return R}function P(M,B,k,R,I,V){var q,ee,J=M.file,De=M.compression,ge=V!==$.utf8encode,Be=S.transformTo("string",V(J.name)),pe=S.transformTo("string",$.utf8encode(J.name)),$e=J.comment,dt=S.transformTo("string",V($e)),j=S.transformTo("string",$.utf8encode($e)),be=pe.length!==J.name.length,x=j.length!==$e.length,ye="",Ct="",Te="",Ft=J.dir,Ve=J.date,Ye={crc32:0,compressedSize:0,uncompressedSize:0};B&&!k||(Ye.crc32=M.crc32,Ye.compressedSize=M.compressedSize,Ye.uncompressedSize=M.uncompressedSize);var le=0;B&&(le|=8),ge||!be&&!x||(le|=2048);var te,Ji,re=0,gt=0;Ft&&(re|=16),"UNIX"===I?(gt=798,re|=(Ji=te=J.unixPermissions,te||(Ji=Ft?16893:33204),(65535&Ji)<<16)):(gt=20,re|=function(te){return 63&(te||0)}(J.dosPermissions)),q=Ve.getUTCHours(),q<<=6,q|=Ve.getUTCMinutes(),q<<=5,q|=Ve.getUTCSeconds()/2,ee=Ve.getUTCFullYear()-1980,ee<<=4,ee|=Ve.getUTCMonth()+1,ee<<=5,ee|=Ve.getUTCDate(),be&&(Ct=F(1,1)+F(K(Be),4)+pe,ye+="up"+F(Ct.length,2)+Ct),x&&(Te=F(1,1)+F(K(dt),4)+j,ye+="uc"+F(Te.length,2)+Te);var tt="";return tt+="\n\0",tt+=F(le,2),tt+=De.magic,tt+=F(q,2),tt+=F(ee,2),tt+=F(Ye.crc32,4),tt+=F(Ye.compressedSize,4),tt+=F(Ye.uncompressedSize,4),tt+=F(Be.length,2),tt+=F(ye.length,2),{fileRecord:H.LOCAL_FILE_HEADER+tt+Be+ye,dirRecord:H.CENTRAL_FILE_HEADER+F(gt,2)+tt+F(dt.length,2)+"\0\0\0\0"+F(re,4)+F(R,4)+Be+ye+dt}}var S=G("../utils"),T=G("../stream/GenericWorker"),$=G("../utf8"),K=G("../crc32"),H=G("../signature");function U(M,B,k,R){T.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=B,this.zipPlatform=k,this.encodeFileName=R,this.streamFiles=M,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}S.inherits(U,T),U.prototype.push=function(M){var B=M.meta.percent||0,k=this.entriesCount,R=this._sources.length;this.accumulate?this.contentBuffer.push(M):(this.bytesWritten+=M.data.length,T.prototype.push.call(this,{data:M.data,meta:{currentFile:this.currentFile,percent:k?(B+100*(k-R-1))/k:100}}))},U.prototype.openedSource=function(M){this.currentSourceOffset=this.bytesWritten,this.currentFile=M.file.name;var B=this.streamFiles&&!M.file.dir;if(B){var k=P(M,B,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:k.fileRecord,meta:{percent:0}})}else this.accumulate=!0},U.prototype.closedSource=function(M){this.accumulate=!1;var R,B=this.streamFiles&&!M.file.dir,k=P(M,B,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(k.dirRecord),B)this.push({data:(R=M,H.DATA_DESCRIPTOR+F(R.crc32,4)+F(R.compressedSize,4)+F(R.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:k.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},U.prototype.flush=function(){for(var M=this.bytesWritten,B=0;B=this.index;T--)$=($<<8)+this.byteAt(T);return this.index+=S,$},readString:function(S){return F.transformTo("string",this.readData(S))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var S=this.readInt(4);return new Date(Date.UTC(1980+(S>>25&127),(S>>21&15)-1,S>>16&31,S>>11&31,S>>5&63,(31&S)<<1))}},Pe.exports=P},{"../utils":32}],19:[function(G,Pe,z){"use strict";var F=G("./Uint8ArrayReader");function P(S){F.call(this,S)}G("../utils").inherits(P,F),P.prototype.readData=function(S){this.checkOffset(S);var T=this.data.slice(this.zero+this.index,this.zero+this.index+S);return this.index+=S,T},Pe.exports=P},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(G,Pe,z){"use strict";var F=G("./DataReader");function P(S){F.call(this,S)}G("../utils").inherits(P,F),P.prototype.byteAt=function(S){return this.data.charCodeAt(this.zero+S)},P.prototype.lastIndexOfSignature=function(S){return this.data.lastIndexOf(S)-this.zero},P.prototype.readAndCheckSignature=function(S){return S===this.readData(4)},P.prototype.readData=function(S){this.checkOffset(S);var T=this.data.slice(this.zero+this.index,this.zero+this.index+S);return this.index+=S,T},Pe.exports=P},{"../utils":32,"./DataReader":18}],21:[function(G,Pe,z){"use strict";var F=G("./ArrayReader");function P(S){F.call(this,S)}G("../utils").inherits(P,F),P.prototype.readData=function(S){if(this.checkOffset(S),0===S)return new Uint8Array(0);var T=this.data.subarray(this.zero+this.index,this.zero+this.index+S);return this.index+=S,T},Pe.exports=P},{"../utils":32,"./ArrayReader":17}],22:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("../support"),S=G("./ArrayReader"),T=G("./StringReader"),$=G("./NodeBufferReader"),K=G("./Uint8ArrayReader");Pe.exports=function(H){var U=F.getTypeOf(H);return F.checkSupport(U),"string"!==U||P.uint8array?"nodebuffer"===U?new $(H):P.uint8array?new K(F.transformTo("uint8array",H)):new S(F.transformTo("array",H)):new T(H)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(G,Pe,z){"use strict";z.LOCAL_FILE_HEADER="PK\x03\x04",z.CENTRAL_FILE_HEADER="PK\x01\x02",z.CENTRAL_DIRECTORY_END="PK\x05\x06",z.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",z.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",z.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(G,Pe,z){"use strict";var F=G("./GenericWorker"),P=G("../utils");function S(T){F.call(this,"ConvertWorker to "+T),this.destType=T}P.inherits(S,F),S.prototype.processChunk=function(T){this.push({data:P.transformTo(this.destType,T.data),meta:T.meta})},Pe.exports=S},{"../utils":32,"./GenericWorker":28}],25:[function(G,Pe,z){"use strict";var F=G("./GenericWorker"),P=G("../crc32");function S(){F.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}G("../utils").inherits(S,F),S.prototype.processChunk=function(T){this.streamInfo.crc32=P(T.data,this.streamInfo.crc32||0),this.push(T)},Pe.exports=S},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("./GenericWorker");function S(T){P.call(this,"DataLengthProbe for "+T),this.propName=T,this.withStreamInfo(T,0)}F.inherits(S,P),S.prototype.processChunk=function(T){T&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+T.data.length),P.prototype.processChunk.call(this,T)},Pe.exports=S},{"../utils":32,"./GenericWorker":28}],27:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("./GenericWorker");function S(T){P.call(this,"DataWorker");var $=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,T.then(function(K){$.dataIsReady=!0,$.data=K,$.max=K&&K.length||0,$.type=F.getTypeOf(K),$.isPaused||$._tickAndRepeat()},function(K){$.error(K)})}F.inherits(S,P),S.prototype.cleanUp=function(){P.prototype.cleanUp.call(this),this.data=null},S.prototype.resume=function(){return!!P.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,F.delay(this._tickAndRepeat,[],this)),!0)},S.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(F.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},S.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var T=null,$=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":T=this.data.substring(this.index,$);break;case"uint8array":T=this.data.subarray(this.index,$);break;case"array":case"nodebuffer":T=this.data.slice(this.index,$)}return this.index=$,this.push({data:T,meta:{percent:this.max?this.index/this.max*100:0}})},Pe.exports=S},{"../utils":32,"./GenericWorker":28}],28:[function(G,Pe,z){"use strict";function F(P){this.name=P||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}F.prototype={push:function(P){this.emit("data",P)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(P){this.emit("error",P)}return!0},error:function(P){return!this.isFinished&&(this.isPaused?this.generatedError=P:(this.isFinished=!0,this.emit("error",P),this.previous&&this.previous.error(P),this.cleanUp()),!0)},on:function(P,S){return this._listeners[P].push(S),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(P,S){if(this._listeners[P])for(var T=0;T "+P:P}},Pe.exports=F},{}],29:[function(G,Pe,z){"use strict";var F=G("../utils"),P=G("./ConvertWorker"),S=G("./GenericWorker"),T=G("../base64"),$=G("../support"),K=G("../external"),H=null;if($.nodestream)try{H=G("../nodejs/NodejsStreamOutputAdapter")}catch{}function M(B,k,R){var I=k;switch(k){case"blob":case"arraybuffer":I="uint8array";break;case"base64":I="string"}try{this._internalType=I,this._outputType=k,this._mimeType=R,F.checkSupport(I),this._worker=B.pipe(new P(I)),B.lock()}catch(V){this._worker=new S("error"),this._worker.error(V)}}M.prototype={accumulate:function(B){return function U(B,k){return new K.Promise(function(R,I){var V=[],q=B._internalType,ee=B._outputType,J=B._mimeType;B.on("data",function(De,ge){V.push(De),k&&k(ge)}).on("error",function(De){V=[],I(De)}).on("end",function(){try{var De=function(ge,Be,pe){switch(ge){case"blob":return F.newBlob(F.transformTo("arraybuffer",Be),pe);case"base64":return T.encode(Be);default:return F.transformTo(ge,Be)}}(ee,function(ge,Be){var pe,$e=0,dt=null,j=0;for(pe=0;pe"u")z.blob=!1;else{var F=new ArrayBuffer(0);try{z.blob=0===new Blob([F],{type:"application/zip"}).size}catch{try{var P=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);P.append(F),z.blob=0===P.getBlob("application/zip").size}catch{z.blob=!1}}}try{z.nodestream=!!G("readable-stream").Readable}catch{z.nodestream=!1}},{"readable-stream":16}],31:[function(G,Pe,z){"use strict";for(var F=G("./utils"),P=G("./support"),S=G("./nodejsUtils"),T=G("./stream/GenericWorker"),$=new Array(256),K=0;K<256;K++)$[K]=252<=K?6:248<=K?5:240<=K?4:224<=K?3:192<=K?2:1;function H(){T.call(this,"utf-8 decode"),this.leftOver=null}function U(){T.call(this,"utf-8 encode")}$[254]=$[254]=1,z.utf8encode=function(M){return P.nodebuffer?S.newBufferFrom(M,"utf-8"):function(B){var k,R,I,V,q,ee=B.length,J=0;for(V=0;V>>6:(R<65536?k[q++]=224|R>>>12:(k[q++]=240|R>>>18,k[q++]=128|R>>>12&63),k[q++]=128|R>>>6&63),k[q++]=128|63&R);return k}(M)},z.utf8decode=function(M){return P.nodebuffer?F.transformTo("nodebuffer",M).toString("utf-8"):function(B){var k,R,I,V,q=B.length,ee=new Array(2*q);for(k=R=0;k>10&1023,ee[R++]=56320|1023&I)}return ee.length!==R&&(ee.subarray?ee=ee.subarray(0,R):ee.length=R),F.applyFromCharCode(ee)}(M=F.transformTo(P.uint8array?"uint8array":"array",M))},F.inherits(H,T),H.prototype.processChunk=function(M){var B=F.transformTo(P.uint8array?"uint8array":"array",M.data);if(this.leftOver&&this.leftOver.length){if(P.uint8array){var k=B;(B=new Uint8Array(k.length+this.leftOver.length)).set(this.leftOver,0),B.set(k,this.leftOver.length)}else B=this.leftOver.concat(B);this.leftOver=null}var R=function(V,q){var ee;for((q=q||V.length)>V.length&&(q=V.length),ee=q-1;0<=ee&&128==(192&V[ee]);)ee--;return ee<0||0===ee?q:ee+$[V[ee]]>q?ee:q}(B),I=B;R!==B.length&&(P.uint8array?(I=B.subarray(0,R),this.leftOver=B.subarray(R,B.length)):(I=B.slice(0,R),this.leftOver=B.slice(R,B.length))),this.push({data:z.utf8decode(I),meta:M.meta})},H.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:z.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},z.Utf8DecodeWorker=H,F.inherits(U,T),U.prototype.processChunk=function(M){this.push({data:z.utf8encode(M.data),meta:M.meta})},z.Utf8EncodeWorker=U},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(G,Pe,z){"use strict";var F=G("./support"),P=G("./base64"),S=G("./nodejsUtils"),T=G("./external");function $(k){return k}function K(k,R){for(var I=0;I>8;this.dir=!!(16&this.externalFileAttributes),0==M&&(this.dosPermissions=63&this.externalFileAttributes),3==M&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var M=F(this.extraFields[1].value);this.uncompressedSize===P.MAX_VALUE_32BITS&&(this.uncompressedSize=M.readInt(8)),this.compressedSize===P.MAX_VALUE_32BITS&&(this.compressedSize=M.readInt(8)),this.localHeaderOffset===P.MAX_VALUE_32BITS&&(this.localHeaderOffset=M.readInt(8)),this.diskNumberStart===P.MAX_VALUE_32BITS&&(this.diskNumberStart=M.readInt(4))}},readExtraFields:function(M){var B,k,R,I=M.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});M.index+4>>6:(M<65536?U[R++]=224|M>>>12:(U[R++]=240|M>>>18,U[R++]=128|M>>>12&63),U[R++]=128|M>>>6&63),U[R++]=128|63&M);return U},z.buf2binstring=function(H){return K(H,H.length)},z.binstring2buf=function(H){for(var U=new F.Buf8(H.length),M=0,B=U.length;M>10&1023,V[B++]=56320|1023&k)}return K(V,B)},z.utf8border=function(H,U){var M;for((U=U||H.length)>H.length&&(U=H.length),M=U-1;0<=M&&128==(192&H[M]);)M--;return M<0||0===M?U:M+T[H[M]]>U?M:U}},{"./common":41}],43:[function(G,Pe,z){"use strict";Pe.exports=function(F,P,S,T){for(var $=65535&F|0,K=F>>>16&65535|0,H=0;0!==S;){for(S-=H=2e3>>1:P>>>1;S[T]=P}return S}();Pe.exports=function(P,S,T,$){var K=F,H=$+T;P^=-1;for(var U=$;U>>8^K[255&(P^S[U])];return-1^P}},{}],46:[function(G,Pe,z){"use strict";var F,P=G("../utils/common"),S=G("./trees"),T=G("./adler32"),$=G("./crc32"),K=G("./messages"),H=0,M=0,B=-2,I=2,V=8,ee=286,J=30,De=19,ge=2*ee+1,Be=15,pe=3,$e=258,dt=$e+pe+1,j=42,be=113;function Ft(v,ve){return v.msg=K[ve],ve}function Ve(v){return(v<<1)-(4v.avail_out&&(he=v.avail_out),0!==he&&(P.arraySet(v.output,ve.pending_buf,ve.pending_out,he,v.next_out),v.next_out+=he,ve.pending_out+=he,v.total_out+=he,v.avail_out-=he,ve.pending-=he,0===ve.pending&&(ve.pending_out=0))}function re(v,ve){S._tr_flush_block(v,0<=v.block_start?v.block_start:-1,v.strstart-v.block_start,ve),v.block_start=v.strstart,le(v.strm)}function gt(v,ve){v.pending_buf[v.pending++]=ve}function tt(v,ve){v.pending_buf[v.pending++]=ve>>>8&255,v.pending_buf[v.pending++]=255&ve}function te(v,ve){var he,N,E=v.max_chain_length,Y=v.strstart,Me=v.prev_length,Ie=v.nice_match,ne=v.strstart>v.w_size-dt?v.strstart-(v.w_size-dt):0,je=v.window,it=v.w_mask,ze=v.prev,ut=v.strstart+$e,Jt=je[Y+Me-1],Bt=je[Y+Me];v.prev_length>=v.good_match&&(E>>=2),Ie>v.lookahead&&(Ie=v.lookahead);do{if(je[(he=ve)+Me]===Bt&&je[he+Me-1]===Jt&&je[he]===je[Y]&&je[++he]===je[Y+1]){Y+=2,he++;do{}while(je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&je[++Y]===je[++he]&&Yne&&0!=--E);return Me<=v.lookahead?Me:v.lookahead}function yi(v){var ve,he,N,E,Y,Me,Ie,ne,je,it,ze=v.w_size;do{if(E=v.window_size-v.lookahead-v.strstart,v.strstart>=ze+(ze-dt)){for(P.arraySet(v.window,v.window,ze,ze,0),v.match_start-=ze,v.strstart-=ze,v.block_start-=ze,ve=he=v.hash_size;N=v.head[--ve],v.head[ve]=ze<=N?N-ze:0,--he;);for(ve=he=ze;N=v.prev[--ve],v.prev[ve]=ze<=N?N-ze:0,--he;);E+=ze}if(0===v.strm.avail_in)break;if(Ie=v.window,ne=v.strstart+v.lookahead,it=void 0,(je=E)<(it=(Me=v.strm).avail_in)&&(it=je),he=0===it?0:(Me.avail_in-=it,P.arraySet(Ie,Me.input,Me.next_in,it,ne),1===Me.state.wrap?Me.adler=T(Me.adler,Ie,it,ne):2===Me.state.wrap&&(Me.adler=$(Me.adler,Ie,it,ne)),Me.next_in+=it,Me.total_in+=it,it),v.lookahead+=he,v.lookahead+v.insert>=pe)for(v.ins_h=v.window[Y=v.strstart-v.insert],v.ins_h=(v.ins_h<=pe&&(v.ins_h=(v.ins_h<=pe)if(N=S._tr_tally(v,v.strstart-v.match_start,v.match_length-pe),v.lookahead-=v.match_length,v.match_length<=v.max_lazy_match&&v.lookahead>=pe){for(v.match_length--;v.strstart++,v.ins_h=(v.ins_h<=pe&&(v.ins_h=(v.ins_h<=pe&&v.match_length<=v.prev_length){for(E=v.strstart+v.lookahead-pe,N=S._tr_tally(v,v.strstart-1-v.prev_match,v.prev_length-pe),v.lookahead-=v.prev_length-1,v.prev_length-=2;++v.strstart<=E&&(v.ins_h=(v.ins_h<v.pending_buf_size-5&&(he=v.pending_buf_size-5);;){if(v.lookahead<=1){if(yi(v),0===v.lookahead&&ve===H)return 1;if(0===v.lookahead)break}v.strstart+=v.lookahead,v.lookahead=0;var N=v.block_start+he;if((0===v.strstart||v.strstart>=N)&&(v.lookahead=v.strstart-N,v.strstart=N,re(v,!1),0===v.strm.avail_out)||v.strstart-v.block_start>=v.w_size-dt&&(re(v,!1),0===v.strm.avail_out))return 1}return v.insert=0,4===ve?(re(v,!0),0===v.strm.avail_out?3:4):(v.strstart>v.block_start&&re(v,!1),1)}),new ct(4,4,8,4,Ji),new ct(4,5,16,8,Ji),new ct(4,6,32,32,Ji),new ct(4,4,16,16,rt),new ct(8,16,32,32,rt),new ct(8,16,128,128,rt),new ct(8,32,128,256,rt),new ct(32,128,258,1024,rt),new ct(32,258,258,4096,rt)],z.deflateInit=function(v,ve){return ao(v,ve,V,15,8,0)},z.deflateInit2=ao,z.deflateReset=Kn,z.deflateResetKeep=Ge,z.deflateSetHeader=function(v,ve){return v&&v.state?2!==v.state.wrap?B:(v.state.gzhead=ve,M):B},z.deflate=function(v,ve){var he,N,E,Y;if(!v||!v.state||5>8&255),gt(N,N.gzhead.time>>16&255),gt(N,N.gzhead.time>>24&255),gt(N,9===N.level?2:2<=N.strategy||N.level<2?4:0),gt(N,255&N.gzhead.os),N.gzhead.extra&&N.gzhead.extra.length&&(gt(N,255&N.gzhead.extra.length),gt(N,N.gzhead.extra.length>>8&255)),N.gzhead.hcrc&&(v.adler=$(v.adler,N.pending_buf,N.pending,0)),N.gzindex=0,N.status=69):(gt(N,0),gt(N,0),gt(N,0),gt(N,0),gt(N,0),gt(N,9===N.level?2:2<=N.strategy||N.level<2?4:0),gt(N,3),N.status=be);else{var Me=V+(N.w_bits-8<<4)<<8;Me|=(2<=N.strategy||N.level<2?0:N.level<6?1:6===N.level?2:3)<<6,0!==N.strstart&&(Me|=32),Me+=31-Me%31,N.status=be,tt(N,Me),0!==N.strstart&&(tt(N,v.adler>>>16),tt(N,65535&v.adler)),v.adler=1}if(69===N.status)if(N.gzhead.extra){for(E=N.pending;N.gzindex<(65535&N.gzhead.extra.length)&&(N.pending!==N.pending_buf_size||(N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),le(v),E=N.pending,N.pending!==N.pending_buf_size));)gt(N,255&N.gzhead.extra[N.gzindex]),N.gzindex++;N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),N.gzindex===N.gzhead.extra.length&&(N.gzindex=0,N.status=73)}else N.status=73;if(73===N.status)if(N.gzhead.name){E=N.pending;do{if(N.pending===N.pending_buf_size&&(N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),le(v),E=N.pending,N.pending===N.pending_buf_size)){Y=1;break}Y=N.gzindexE&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),0===Y&&(N.gzindex=0,N.status=91)}else N.status=91;if(91===N.status)if(N.gzhead.comment){E=N.pending;do{if(N.pending===N.pending_buf_size&&(N.gzhead.hcrc&&N.pending>E&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),le(v),E=N.pending,N.pending===N.pending_buf_size)){Y=1;break}Y=N.gzindexE&&(v.adler=$(v.adler,N.pending_buf,N.pending-E,E)),0===Y&&(N.status=103)}else N.status=103;if(103===N.status&&(N.gzhead.hcrc?(N.pending+2>N.pending_buf_size&&le(v),N.pending+2<=N.pending_buf_size&&(gt(N,255&v.adler),gt(N,v.adler>>8&255),v.adler=0,N.status=be)):N.status=be),0!==N.pending){if(le(v),0===v.avail_out)return N.last_flush=-1,M}else if(0===v.avail_in&&Ve(ve)<=Ve(he)&&4!==ve)return Ft(v,-5);if(666===N.status&&0!==v.avail_in)return Ft(v,-5);if(0!==v.avail_in||0!==N.lookahead||ve!==H&&666!==N.status){var Ie=2===N.strategy?function(ne,je){for(var it;;){if(0===ne.lookahead&&(yi(ne),0===ne.lookahead)){if(je===H)return 1;break}if(ne.match_length=0,it=S._tr_tally(ne,0,ne.window[ne.strstart]),ne.lookahead--,ne.strstart++,it&&(re(ne,!1),0===ne.strm.avail_out))return 1}return ne.insert=0,4===je?(re(ne,!0),0===ne.strm.avail_out?3:4):ne.last_lit&&(re(ne,!1),0===ne.strm.avail_out)?1:2}(N,ve):3===N.strategy?function(ne,je){for(var it,ze,ut,Jt,Bt=ne.window;;){if(ne.lookahead<=$e){if(yi(ne),ne.lookahead<=$e&&je===H)return 1;if(0===ne.lookahead)break}if(ne.match_length=0,ne.lookahead>=pe&&0ne.lookahead&&(ne.match_length=ne.lookahead)}if(ne.match_length>=pe?(it=S._tr_tally(ne,1,ne.match_length-pe),ne.lookahead-=ne.match_length,ne.strstart+=ne.match_length,ne.match_length=0):(it=S._tr_tally(ne,0,ne.window[ne.strstart]),ne.lookahead--,ne.strstart++),it&&(re(ne,!1),0===ne.strm.avail_out))return 1}return ne.insert=0,4===je?(re(ne,!0),0===ne.strm.avail_out?3:4):ne.last_lit&&(re(ne,!1),0===ne.strm.avail_out)?1:2}(N,ve):F[N.level].func(N,ve);if(3!==Ie&&4!==Ie||(N.status=666),1===Ie||3===Ie)return 0===v.avail_out&&(N.last_flush=-1),M;if(2===Ie&&(1===ve?S._tr_align(N):5!==ve&&(S._tr_stored_block(N,0,0,!1),3===ve&&(Ye(N.head),0===N.lookahead&&(N.strstart=0,N.block_start=0,N.insert=0))),le(v),0===v.avail_out))return N.last_flush=-1,M}return 4!==ve?M:N.wrap<=0?1:(2===N.wrap?(gt(N,255&v.adler),gt(N,v.adler>>8&255),gt(N,v.adler>>16&255),gt(N,v.adler>>24&255),gt(N,255&v.total_in),gt(N,v.total_in>>8&255),gt(N,v.total_in>>16&255),gt(N,v.total_in>>24&255)):(tt(N,v.adler>>>16),tt(N,65535&v.adler)),le(v),0=he.w_size&&(0===Y&&(Ye(he.head),he.strstart=0,he.block_start=0,he.insert=0),je=new P.Buf8(he.w_size),P.arraySet(je,ve,it-he.w_size,he.w_size,0),ve=je,it=he.w_size),Me=v.avail_in,Ie=v.next_in,ne=v.input,v.avail_in=it,v.next_in=0,v.input=ve,yi(he);he.lookahead>=pe;){for(N=he.strstart,E=he.lookahead-(pe-1);he.ins_h=(he.ins_h<>>=pe=Be>>>24,q-=pe,0==(pe=Be>>>16&255))ye[K++]=65535&Be;else{if(!(16&pe)){if(!(64&pe)){Be=ee[(65535&Be)+(V&(1<>>=pe,q-=pe),q<15&&(V+=x[T++]<>>=pe=Be>>>24,q-=pe,!(16&(pe=Be>>>16&255))){if(!(64&pe)){Be=J[(65535&Be)+(V&(1<>>=pe,q-=pe,(pe=K-H)>3,V&=(1<<(q-=$e<<3))-1,F.next_in=T,F.next_out=K,F.avail_in=T<$?$-T+5:5-(T-$),F.avail_out=K>>24&255)+(j>>>8&65280)+((65280&j)<<8)+((255&j)<<24)}function V(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new F.Buf16(320),this.work=new F.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function q(j){var be;return j&&j.state?(j.total_in=j.total_out=(be=j.state).total=0,j.msg="",be.wrap&&(j.adler=1&be.wrap),be.mode=B,be.last=0,be.havedict=0,be.dmax=32768,be.head=null,be.hold=0,be.bits=0,be.lencode=be.lendyn=new F.Buf32(k),be.distcode=be.distdyn=new F.Buf32(R),be.sane=1,be.back=-1,U):M}function ee(j){var be;return j&&j.state?((be=j.state).wsize=0,be.whave=0,be.wnext=0,q(j)):M}function J(j,be){var x,ye;return j&&j.state?(ye=j.state,be<0?(x=0,be=-be):(x=1+(be>>4),be<48&&(be&=15)),be&&(be<8||15=Te.wsize?(F.arraySet(Te.window,be,x-Te.wsize,Te.wsize,0),Te.wnext=0,Te.whave=Te.wsize):(ye<(Ct=Te.wsize-Te.wnext)&&(Ct=ye),F.arraySet(Te.window,be,x-ye,Ct,Te.wnext),(ye-=Ct)?(F.arraySet(Te.window,be,x-ye,ye,0),Te.wnext=ye,Te.whave=Te.wsize):(Te.wnext+=Ct,Te.wnext===Te.wsize&&(Te.wnext=0),Te.whave>>8&255,x.check=S(x.check,Y,2,0),re=le=0,x.mode=2;break}if(x.flags=0,x.head&&(x.head.done=!1),!(1&x.wrap)||(((255&le)<<8)+(le>>8))%31){j.msg="incorrect header check",x.mode=30;break}if(8!=(15&le)){j.msg="unknown compression method",x.mode=30;break}if(re-=4,v=8+(15&(le>>>=4)),0===x.wbits)x.wbits=v;else if(v>x.wbits){j.msg="invalid window size",x.mode=30;break}x.dmax=1<>8&1),512&x.flags&&(Y[0]=255&le,Y[1]=le>>>8&255,x.check=S(x.check,Y,2,0)),re=le=0,x.mode=3;case 3:for(;re<32;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>8&255,Y[2]=le>>>16&255,Y[3]=le>>>24&255,x.check=S(x.check,Y,4,0)),re=le=0,x.mode=4;case 4:for(;re<16;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>8),512&x.flags&&(Y[0]=255&le,Y[1]=le>>>8&255,x.check=S(x.check,Y,2,0)),re=le=0,x.mode=5;case 5:if(1024&x.flags){for(;re<16;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>8&255,x.check=S(x.check,Y,2,0)),re=le=0}else x.head&&(x.head.extra=null);x.mode=6;case 6:if(1024&x.flags&&(Ve<(te=x.length)&&(te=Ve),te&&(x.head&&(v=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Array(x.head.extra_len)),F.arraySet(x.head.extra,ye,Te,te,v)),512&x.flags&&(x.check=S(x.check,ye,te,Te)),Ve-=te,Te+=te,x.length-=te),x.length))break e;x.length=0,x.mode=7;case 7:if(2048&x.flags){if(0===Ve)break e;for(te=0;v=ye[Te+te++],x.head&&v&&x.length<65536&&(x.head.name+=String.fromCharCode(v)),v&&te>9&1,x.head.done=!0),j.adler=x.check=0,x.mode=12;break;case 10:for(;re<32;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=7&re,re-=7&re,x.mode=27;break}for(;re<3;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=1)){case 0:x.mode=14;break;case 1:if($e(x),x.mode=20,6!==be)break;le>>>=2,re-=2;break e;case 2:x.mode=17;break;case 3:j.msg="invalid block type",x.mode=30}le>>>=2,re-=2;break;case 14:for(le>>>=7&re,re-=7&re;re<32;){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>16^65535)){j.msg="invalid stored block lengths",x.mode=30;break}if(x.length=65535&le,re=le=0,x.mode=15,6===be)break e;case 15:x.mode=16;case 16:if(te=x.length){if(Ve>>=5)),re-=5,x.ncode=4+(15&(le>>>=5)),le>>>=4,re-=4,286>>=3,re-=3}for(;x.have<19;)x.lens[Me[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,ve=$(0,x.lens,0,19,x.lencode,0,x.work,he={bits:x.lenbits}),x.lenbits=he.bits,ve){j.msg="invalid code lengths set",x.mode=30;break}x.have=0,x.mode=19;case 19:for(;x.have>>16&255,Wi=65535&E,!((rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=rt,re-=rt,x.lens[x.have++]=Wi;else{if(16===Wi){for(N=rt+2;re>>=rt,re-=rt,0===x.have){j.msg="invalid bit length repeat",x.mode=30;break}v=x.lens[x.have-1],te=3+(3&le),le>>>=2,re-=2}else if(17===Wi){for(N=rt+3;re>>=rt)),le>>>=3,re-=3}else{for(N=rt+7;re>>=rt)),le>>>=7,re-=7}if(x.have+te>x.nlen+x.ndist){j.msg="invalid bit length repeat",x.mode=30;break}for(;te--;)x.lens[x.have++]=v}}if(30===x.mode)break;if(0===x.lens[256]){j.msg="invalid code -- missing end-of-block",x.mode=30;break}if(x.lenbits=9,ve=$(1,x.lens,0,x.nlen,x.lencode,0,x.work,he={bits:x.lenbits}),x.lenbits=he.bits,ve){j.msg="invalid literal/lengths set",x.mode=30;break}if(x.distbits=6,x.distcode=x.distdyn,ve=$(2,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,he={bits:x.distbits}),x.distbits=he.bits,ve){j.msg="invalid distances set",x.mode=30;break}if(x.mode=20,6===be)break e;case 20:x.mode=21;case 21:if(6<=Ve&&258<=Ye){j.next_out=Ft,j.avail_out=Ye,j.next_in=Te,j.avail_in=Ve,x.hold=le,x.bits=re,T(j,tt),Ft=j.next_out,Ct=j.output,Ye=j.avail_out,Te=j.next_in,ye=j.input,Ve=j.avail_in,le=x.hold,re=x.bits,12===x.mode&&(x.back=-1);break}for(x.back=0;ct=(E=x.lencode[le&(1<>>16&255,Wi=65535&E,!((rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>Ge)])>>>16&255,Wi=65535&E,!(Ge+(rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=Ge,re-=Ge,x.back+=Ge}if(le>>>=rt,re-=rt,x.back+=rt,x.length=Wi,0===ct){x.mode=26;break}if(32&ct){x.back=-1,x.mode=12;break}if(64&ct){j.msg="invalid literal/length code",x.mode=30;break}x.extra=15&ct,x.mode=22;case 22:if(x.extra){for(N=x.extra;re>>=x.extra,re-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=23;case 23:for(;ct=(E=x.distcode[le&(1<>>16&255,Wi=65535&E,!((rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>Ge)])>>>16&255,Wi=65535&E,!(Ge+(rt=E>>>24)<=re);){if(0===Ve)break e;Ve--,le+=ye[Te++]<>>=Ge,re-=Ge,x.back+=Ge}if(le>>>=rt,re-=rt,x.back+=rt,64&ct){j.msg="invalid distance code",x.mode=30;break}x.offset=Wi,x.extra=15&ct,x.mode=24;case 24:if(x.extra){for(N=x.extra;re>>=x.extra,re-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){j.msg="invalid distance too far back",x.mode=30;break}x.mode=25;case 25:if(0===Ye)break e;if(x.offset>(te=tt-Ye)){if((te=x.offset-te)>x.whave&&x.sane){j.msg="invalid distance too far back",x.mode=30;break}yi=te>x.wnext?x.wsize-(te-=x.wnext):x.wnext-te,te>x.length&&(te=x.length),Ji=x.window}else Ji=Ct,yi=Ft-x.offset,te=x.length;for(Yege?(pe=yi[Ji+R[be]],re[gt+R[be]]):(pe=96,0),V=1<>Ft)+(q-=V)]=Be<<24|pe<<16|$e|0,0!==q;);for(V=1<>=1;if(0!==V?(le&=V-1,le+=V):le=0,be++,0==--tt[j]){if(j===ye)break;j=H[U+R[be]]}if(Ct>>7)]}function gt(E,Y){E.pending_buf[E.pending++]=255&Y,E.pending_buf[E.pending++]=Y>>>8&255}function tt(E,Y,Me){E.bi_valid>I-Me?(E.bi_buf|=Y<>I-E.bi_valid,E.bi_valid+=Me-I):(E.bi_buf|=Y<>>=1,Me<<=1,0<--Y;);return Me>>>1}function Ji(E,Y,Me){var Ie,ne,je=new Array(R+1),it=0;for(Ie=1;Ie<=R;Ie++)je[Ie]=it=it+Me[Ie-1]<<1;for(ne=0;ne<=Y;ne++){var ze=E[2*ne+1];0!==ze&&(E[2*ne]=yi(je[ze]++,ze))}}function rt(E){var Y;for(Y=0;Y>1;1<=Me;Me--)Ge(E,je,Me);for(ne=ut;Me=E.heap[1],E.heap[1]=E.heap[E.heap_len--],Ge(E,je,1),Ie=E.heap[1],E.heap[--E.heap_max]=Me,E.heap[--E.heap_max]=Ie,je[2*ne]=je[2*Me]+je[2*Ie],E.depth[ne]=(E.depth[Me]>=E.depth[Ie]?E.depth[Me]:E.depth[Ie])+1,je[2*Me+1]=je[2*Ie+1]=ne,E.heap[1]=ne++,Ge(E,je,1),2<=E.heap_len;);E.heap[--E.heap_max]=E.heap[1],function(Bt,Zn){var Qa,So,Yn,xi,Ls,Bs,Ho=Zn.dyn_tree,Su=Zn.max_code,yf=Zn.stat_desc.static_tree,xf=Zn.stat_desc.has_stree,wf=Zn.stat_desc.extra_bits,Mu=Zn.stat_desc.extra_base,Xa=Zn.stat_desc.max_length,Vs=0;for(xi=0;xi<=R;xi++)Bt.bl_count[xi]=0;for(Ho[2*Bt.heap[Bt.heap_max]+1]=0,Qa=Bt.heap_max+1;Qa<573;Qa++)Xa<(xi=Ho[2*Ho[2*(So=Bt.heap[Qa])+1]+1]+1)&&(xi=Xa,Vs++),Ho[2*So+1]=xi,Su>=7;ne>>=1)if(1&Jt&&0!==ze.dyn_ltree[2*ut])return 0;if(0!==ze.dyn_ltree[18]||0!==ze.dyn_ltree[20]||0!==ze.dyn_ltree[26])return 1;for(ut=32;ut>>3)<=(ne=E.opt_len+3+7>>>3)&&(ne=je)):ne=je=Me+5,Me+4<=ne&&-1!==Y?N(E,Y,Me,Ie):4===E.strategy||je===ne?(tt(E,2+(Ie?1:0),3),Kn(E,dt,j)):(tt(E,4+(Ie?1:0),3),function(ze,ut,Jt,Bt){var Zn;for(tt(ze,ut-257,5),tt(ze,Jt-1,5),tt(ze,Bt-4,4),Zn=0;Zn>>8&255,E.pending_buf[E.d_buf+2*E.last_lit+1]=255&Y,E.pending_buf[E.l_buf+E.last_lit]=255&Me,E.last_lit++,0===Y?E.dyn_ltree[2*Me]++:(E.matches++,Y--,E.dyn_ltree[2*(x[Me]+H+1)]++,E.dyn_dtree[2*re(Y)]++),E.last_lit===E.lit_bufsize-1},z._tr_align=function(E){var Y;tt(E,2,3),te(E,256,dt),16===(Y=E).bi_valid?(gt(Y,Y.bi_buf),Y.bi_buf=0,Y.bi_valid=0):8<=Y.bi_valid&&(Y.pending_buf[Y.pending++]=255&Y.bi_buf,Y.bi_buf>>=8,Y.bi_valid-=8)}},{"../utils/common":41}],53:[function(G,Pe,z){"use strict";Pe.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(G,Pe,z){(function(F){!function(P,S){"use strict";if(!P.setImmediate){var T,$,K,H,U=1,M={},B=!1,k=P.document,R=Object.getPrototypeOf&&Object.getPrototypeOf(P);R=R&&R.setTimeout?R:P,T="[object process]"==={}.toString.call(P.process)?function(ee){process.nextTick(function(){V(ee)})}:function(){if(P.postMessage&&!P.importScripts){var ee=!0,J=P.onmessage;return P.onmessage=function(){ee=!1},P.postMessage("","*"),P.onmessage=J,ee}}()?(H="setImmediate$"+Math.random()+"$",P.addEventListener?P.addEventListener("message",q,!1):P.attachEvent("onmessage",q),function(ee){P.postMessage(H+ee,"*")}):P.MessageChannel?((K=new MessageChannel).port1.onmessage=function(ee){V(ee.data)},function(ee){K.port2.postMessage(ee)}):k&&"onreadystatechange"in k.createElement("script")?($=k.documentElement,function(ee){var J=k.createElement("script");J.onreadystatechange=function(){V(ee),J.onreadystatechange=null,$.removeChild(J),J=null},$.appendChild(J)}):function(ee){setTimeout(V,0,ee)},R.setImmediate=function(ee){"function"!=typeof ee&&(ee=new Function(""+ee));for(var J=new Array(arguments.length-1),De=0;De"u"?void 0===F?this:F:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)}},vl=>{vl(vl.s=525)}]); \ No newline at end of file diff --git a/ui/docker/docker-compose.yml b/ui/docker/docker-compose.yml new file mode 100644 index 000000000..ccfc705fb --- /dev/null +++ b/ui/docker/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3' +services: + mysql: + image: mysql:latest + container_name: my-mysql-container + environment: + MYSQL_ROOT_PASSWORD: pass123 + ports: + - "3307:3306" + volumes: + - ../../test_data/mysql_interleave_dump.test.out:/docker-entrypoint-initdb.d/dump.sql \ No newline at end of file diff --git a/ui/package-lock.json b/ui/package-lock.json index 935fed531..c1ce77f9a 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -33,6 +33,7 @@ "@angular/compiler-cli": "~16.2.10", "@types/jasmine": "~5.1.1", "@types/node": "^20.8.7", + "cypress": "^13.3.0", "jasmine-core": "~5.1.1", "karma": "~6.4.2", "karma-chrome-launcher": "~3.2.0", @@ -55,12 +56,12 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1602.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1602.6.tgz", - "integrity": "sha512-b1NNV3yNg6Rt86ms20bJIroWUI8ihaEwv5k+EoijEXLoMs4eNs5PhqL+QE8rTj+q9pa1gSrWf2blXor2JGwf1g==", + "version": "0.1602.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1602.10.tgz", + "integrity": "sha512-FwemQXh3edqA/S6zPpsqKei5v7gt0R0WpjJoAJaz+FOpfDwij1fwnKr88XINY8xcefTcQaTDQxJZheJShA/hHw==", "dev": true, "dependencies": { - "@angular-devkit/core": "16.2.6", + "@angular-devkit/core": "16.2.10", "rxjs": "7.8.1" }, "engines": { @@ -70,15 +71,15 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-16.2.6.tgz", - "integrity": "sha512-QdU/q77K1P8CPEEZGxw1QqLcnA9ofboDWS7vcLRBmFmk2zydtLTApbK0P8GNDRbnmROOKkoaLo+xUTDJz9gvPA==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-16.2.10.tgz", + "integrity": "sha512-msB/qjIsAOySDxdU5DpcX2sWGUEJOFIO03O9+HbtLwf3NDfe74mFfejxuKlHJXIJdgpM2Zc948M6+618QKpUYA==", "dev": true, "dependencies": { "@ampproject/remapping": "2.2.1", - "@angular-devkit/architect": "0.1602.6", - "@angular-devkit/build-webpack": "0.1602.6", - "@angular-devkit/core": "16.2.6", + "@angular-devkit/architect": "0.1602.10", + "@angular-devkit/build-webpack": "0.1602.10", + "@angular-devkit/core": "16.2.10", "@babel/core": "7.22.9", "@babel/generator": "7.22.9", "@babel/helper-annotate-as-pure": "7.22.5", @@ -90,7 +91,7 @@ "@babel/runtime": "7.22.6", "@babel/template": "7.22.5", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "16.2.6", + "@ngtools/webpack": "16.2.10", "@vitejs/plugin-basic-ssl": "1.0.1", "ansi-colors": "4.1.3", "autoprefixer": "10.4.14", @@ -191,16 +192,98 @@ } } }, - "node_modules/@angular-devkit/build-angular/node_modules/@vitejs/plugin-basic-ssl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", - "integrity": "sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==", + "node_modules/@angular-devkit/build-angular/node_modules/@babel/core": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.9.tgz", + "integrity": "sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==", "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helpers": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.8", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.1" + }, "engines": { - "node": ">=14.6.0" + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, "peerDependencies": { - "vite": "^3.0.0 || ^4.0.0" + "ajv": "^6.9.1" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/@angular-devkit/build-angular/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/@angular-devkit/build-angular/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, "node_modules/@angular-devkit/build-angular/node_modules/terser": { @@ -227,68 +310,60 @@ "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", "dev": true }, - "node_modules/@angular-devkit/build-angular/node_modules/vite": { - "version": "4.4.7", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.7.tgz", - "integrity": "sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==", + "node_modules/@angular-devkit/build-angular/node_modules/webpack": { + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", "dev": true, "dependencies": { - "esbuild": "^0.18.10", - "postcss": "^8.4.26", - "rollup": "^3.25.2" + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" }, "bin": { - "vite": "bin/vite.js" + "webpack": "bin/webpack.js" }, "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": ">=10.13.0" }, "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - }, - "peerDependencies": { - "@types/node": ">= 14", - "less": "*", - "lightningcss": "^1.21.0", - "sass": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.4.0" + "type": "opencollective", + "url": "https://opencollective.com/webpack" }, "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { + "webpack-cli": { "optional": true } } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1602.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1602.6.tgz", - "integrity": "sha512-BJPR6xdq7gRJ6bVWnZ81xHyH75j7lyLbegCXbvUNaM8TWVBkwWsSdqr2NQ717dNLLn5umg58SFpU/pWMq6CxMQ==", + "version": "0.1602.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1602.10.tgz", + "integrity": "sha512-H7HiFKbZl/xVxpr1RH05SGawTpA1417wvr2nFGRu2OiePd0lPr6pIhcq8F8gt7JcA8yZKKaqjn2gU+6um2MFLg==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1602.6", + "@angular-devkit/architect": "0.1602.10", "rxjs": "7.8.1" }, "engines": { @@ -302,9 +377,9 @@ } }, "node_modules/@angular-devkit/core": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-16.2.6.tgz", - "integrity": "sha512-iez/8NYXQT6fqVQLlKmZUIRkFUEZ88ACKbTwD4lBmk0+hXW+bQBxI7JOnE3C4zkcM2YeuTXIYsC5SebTKYiR4Q==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-16.2.10.tgz", + "integrity": "sha512-eo7suLDjyu5bSlEr4TluYkFm4v2PVLSAPgnau8XHHlN5Yg4P/BZ00ve7LA7C9S1gzRSCrxQhK5ki4rnoFTo5zg==", "dev": true, "dependencies": { "ajv": "8.12.0", @@ -328,38 +403,13 @@ } } }, - "node_modules/@angular-devkit/core/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@angular-devkit/core/node_modules/source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/@angular-devkit/schematics": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-16.2.6.tgz", - "integrity": "sha512-PhpRYHCJ3WvZXmng6Qk8TXeQf83jeBMAf7AIzI8h0fgeBocOl97Xf7bZpLg6GymiU+rVn15igQ4Rz9rKAay8bQ==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-16.2.10.tgz", + "integrity": "sha512-UCfPJKVNekb21bWRbzyx81tfHN3x8vU4ZMX/VA6xALg//QalMB7NOkkXBAssthnLastkyzkUtlvApTp2+R+EkQ==", "dev": true, "dependencies": { - "@angular-devkit/core": "16.2.6", + "@angular-devkit/core": "16.2.10", "jsonc-parser": "3.2.0", "magic-string": "0.30.1", "ora": "5.4.1", @@ -372,9 +422,9 @@ } }, "node_modules/@angular/animations": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-16.2.10.tgz", - "integrity": "sha512-UudunZoyFWWNpuWkwiBxC3cleLCVJGHIfMgypFwC35YjtiIlRJ0r4nVkc96Rq1xd4mT71Dbk1kQHc8urB8A7aw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-16.2.12.tgz", + "integrity": "sha512-MD0ElviEfAJY8qMOd6/jjSSvtqER2RDAi0lxe6EtUacC1DHCYkaPrKW4vLqY+tmZBg1yf+6n+uS77pXcHHcA3w==", "dependencies": { "tslib": "^2.3.0" }, @@ -382,13 +432,13 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "16.2.10" + "@angular/core": "16.2.12" } }, "node_modules/@angular/cdk": { - "version": "16.2.9", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-16.2.9.tgz", - "integrity": "sha512-TrLV68YpddUx3t2rs8W29CPk8YkgNGA8PKHwjB4Xvo1yaEH5XUnsw3MQCh42Ee7FKseaqzFgG85USZXAK0IB0A==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-16.2.12.tgz", + "integrity": "sha512-wT8/265zm2WKY0BDaRoYbrAT4kadrmejTRLjuimQIEUKnw4vBsJMWCwQkpFo3s6zr6eznGqYVAFb8KKPVLKGBg==", "dependencies": { "tslib": "^2.3.0" }, @@ -402,15 +452,15 @@ } }, "node_modules/@angular/cli": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-16.2.6.tgz", - "integrity": "sha512-9poPvUEmlufOAW1Cjk+aA5e2x3mInLtbYYSL/EYviDN2ugmavsSIvxAE/WLnxq6cPWqhNDbHDaqvcmqkcFM3Cw==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-16.2.10.tgz", + "integrity": "sha512-zDqlD+rXFuYZP169c2v35HkMbkchVCft5sS+VpoCCgYTk2rwxpeYkjJ8DQZztZJZRXQ+EMpkv/TubswmDro2zA==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1602.6", - "@angular-devkit/core": "16.2.6", - "@angular-devkit/schematics": "16.2.6", - "@schematics/angular": "16.2.6", + "@angular-devkit/architect": "0.1602.10", + "@angular-devkit/core": "16.2.10", + "@angular-devkit/schematics": "16.2.10", + "@schematics/angular": "16.2.10", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", "ini": "4.1.1", @@ -436,9 +486,9 @@ } }, "node_modules/@angular/common": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-16.2.10.tgz", - "integrity": "sha512-cLth66aboInNcWFjDBRmK30jC5KN10nKDDcv4U/r3TDTBpKOtnmTjNFFr7dmjfUmVhHFy/66piBMfpjZI93Rxg==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-16.2.12.tgz", + "integrity": "sha512-B+WY/cT2VgEaz9HfJitBmgdk4I333XG/ybC98CMC4Wz8E49T8yzivmmxXB3OD6qvjcOB6ftuicl6WBqLbZNg2w==", "dependencies": { "tslib": "^2.3.0" }, @@ -446,14 +496,14 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "16.2.10", + "@angular/core": "16.2.12", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-16.2.10.tgz", - "integrity": "sha512-ty6SfqkZlV2bLU/SSi3wmxrEFgPrK+WVslCNIr3FlTnCBdqpIbadHN2QB3A1d9XaNc7c4Tq5DQKh34cwMwNbuw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-16.2.12.tgz", + "integrity": "sha512-6SMXUgSVekGM7R6l1Z9rCtUGtlg58GFmgbpMCsGf+VXxP468Njw8rjT2YZkf5aEPxEuRpSHhDYjqz7n14cwCXQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -461,7 +511,7 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "16.2.10" + "@angular/core": "16.2.12" }, "peerDependenciesMeta": { "@angular/core": { @@ -470,9 +520,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-16.2.10.tgz", - "integrity": "sha512-swgmtm4R23vQV9nJTXdDEFpOyIw3kz80mdT9qo3VId/2rqenOK253JsFypoqEj/fKzjV9gwXtTbmrMlhVyuyxw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-16.2.12.tgz", + "integrity": "sha512-pWSrr152562ujh6lsFZR8NfNc5Ljj+zSTQO44DsuB0tZjwEpnRcjJEgzuhGXr+CoiBf+jTSPZKemtSktDk5aaA==", "dev": true, "dependencies": { "@babel/core": "7.23.2", @@ -493,7 +543,7 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/compiler": "16.2.10", + "@angular/compiler": "16.2.12", "typescript": ">=4.9.3 <5.2" } }, @@ -543,12 +593,12 @@ } }, "node_modules/@angular/compiler-cli/node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", "dev": true, "dependencies": { - "@babel/types": "^7.23.0", + "@babel/types": "^7.23.4", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -572,9 +622,9 @@ } }, "node_modules/@angular/core": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-16.2.10.tgz", - "integrity": "sha512-0XTsPjNflFhOl2CfNEdGeDOklG2t+m/D3g10Y7hg9dBjC1dURUEqTmM4d6J7JNbBURrP+/iP7uLsn3WRSipGUw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-16.2.12.tgz", + "integrity": "sha512-GLLlDeke/NjroaLYOks0uyzFVo6HyLl7VOm0K1QpLXnYvW63W9Ql/T3yguRZa7tRkOAeFZ3jw+1wnBD4O8MoUA==", "dependencies": { "tslib": "^2.3.0" }, @@ -587,9 +637,9 @@ } }, "node_modules/@angular/forms": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-16.2.10.tgz", - "integrity": "sha512-TZliEtSWIL1UzY8kjed4QcMawWS8gk/H60KVgzCh83NGE0wd1OGv20Z5OR7O8j07dxB9vaxY7CQz/8eCz5KaNQ==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-16.2.12.tgz", + "integrity": "sha512-1Eao89hlBgLR3v8tU91vccn21BBKL06WWxl7zLpQmG6Hun+2jrThgOE4Pf3os4fkkbH4Apj0tWL2fNIWe/blbw==", "dependencies": { "tslib": "^2.3.0" }, @@ -597,16 +647,16 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "16.2.10", - "@angular/core": "16.2.10", - "@angular/platform-browser": "16.2.10", + "@angular/common": "16.2.12", + "@angular/core": "16.2.12", + "@angular/platform-browser": "16.2.12", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/material": { - "version": "16.2.9", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-16.2.9.tgz", - "integrity": "sha512-ppEVvB5+TAqYxEiWCOt56TJbKayuJXPO5gAIaoIgaj7a77A3iuJRBZD/TLldqUxqCI6T5pwuTVzdeDU4tTHGug==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-16.2.12.tgz", + "integrity": "sha512-k1DGRfP1mMmhg/nLJjZBOPzX3SyAjgbRBY2KauKOV8OFCXJGoMn/oLgMBh+qB1WugzIna/31dBV8ruHD3Uvp2w==", "dependencies": { "@material/animation": "15.0.0-canary.bc9ae6c9c.0", "@material/auto-init": "15.0.0-canary.bc9ae6c9c.0", @@ -659,7 +709,7 @@ }, "peerDependencies": { "@angular/animations": "^16.0.0 || ^17.0.0", - "@angular/cdk": "16.2.9", + "@angular/cdk": "16.2.12", "@angular/common": "^16.0.0 || ^17.0.0", "@angular/core": "^16.0.0 || ^17.0.0", "@angular/forms": "^16.0.0 || ^17.0.0", @@ -668,9 +718,9 @@ } }, "node_modules/@angular/platform-browser": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-16.2.10.tgz", - "integrity": "sha512-TOZiK7ji550F8G39Ri255NnK1+2Xlr74RiElJdQct4TzfN0lqNf2KRDFFNwDohkP/78FUzcP4qBxs+Nf8M7OuQ==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-16.2.12.tgz", + "integrity": "sha512-NnH7ju1iirmVEsUq432DTm0nZBGQsBrU40M3ZeVHMQ2subnGiyUs3QyzDz8+VWLL/T5xTxWLt9BkDn65vgzlIQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -678,9 +728,9 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/animations": "16.2.10", - "@angular/common": "16.2.10", - "@angular/core": "16.2.10" + "@angular/animations": "16.2.12", + "@angular/common": "16.2.12", + "@angular/core": "16.2.12" }, "peerDependenciesMeta": { "@angular/animations": { @@ -689,9 +739,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.2.10.tgz", - "integrity": "sha512-YVmhAjOmsp2SWRonv6Mr/qXuKroCiew9asd1IlAZ//wqcml9ZrNAcX3WlDa8ZqdmOplQb0LuvvirfNB/6Is/jg==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.2.12.tgz", + "integrity": "sha512-ya54jerNgreCVAR278wZavwjrUWImMr2F8yM5n9HBvsMBbFaAQ83anwbOEiHEF2BlR+gJiEBLfpuPRMw20pHqw==", "dependencies": { "tslib": "^2.3.0" }, @@ -699,16 +749,16 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "16.2.10", - "@angular/compiler": "16.2.10", - "@angular/core": "16.2.10", - "@angular/platform-browser": "16.2.10" + "@angular/common": "16.2.12", + "@angular/compiler": "16.2.12", + "@angular/core": "16.2.12", + "@angular/platform-browser": "16.2.12" } }, "node_modules/@angular/router": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-16.2.10.tgz", - "integrity": "sha512-ndiq2NkGZ8hTsyL/KK8qsiR3UA0NjOFIn1jtGXOKtHryXZ6vSTtkhtkE4h4+G6/QNTL1IKtocFhOQt/xsc7DUA==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-16.2.12.tgz", + "integrity": "sha512-aU6QnYSza005V9P3W6PpkieL56O0IHps96DjqI1RS8yOJUl3THmokqYN4Fm5+HXy4f390FN9i6ftadYQDKeWmA==", "dependencies": { "tslib": "^2.3.0" }, @@ -716,9 +766,9 @@ "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "16.2.10", - "@angular/core": "16.2.10", - "@angular/platform-browser": "16.2.10", + "@angular/common": "16.2.12", + "@angular/core": "16.2.12", + "@angular/platform-browser": "16.2.12", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -729,11 +779,11 @@ "dev": true }, "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz", + "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==", "dependencies": { - "@babel/highlight": "^7.22.13", + "@babel/highlight": "^7.23.4", "chalk": "^2.4.2" }, "engines": { @@ -741,32 +791,32 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.2.tgz", - "integrity": "sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz", + "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.22.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.9.tgz", - "integrity": "sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.5", - "@babel/generator": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.9", - "@babel/helper-module-transforms": "^7.22.9", - "@babel/helpers": "^7.22.6", - "@babel/parser": "^7.22.7", - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.8", - "@babel/types": "^7.22.5", - "convert-source-map": "^1.7.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.2", + "json5": "^2.2.3", "semver": "^6.3.1" }, "engines": { @@ -777,6 +827,38 @@ "url": "https://opencollective.com/babel" } }, + "node_modules/@babel/core/node_modules/@babel/generator": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", + "dependencies": { + "@babel/types": "^7.23.4", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core/node_modules/@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==" + }, "node_modules/@babel/core/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -789,6 +871,7 @@ "version": "7.22.9", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", + "dev": true, "dependencies": { "@babel/types": "^7.22.5", "@jridgewell/gen-mapping": "^0.3.2", @@ -838,14 +921,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dependencies": { - "yallist": "^3.0.2" - } - }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -854,11 +929,6 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" - }, "node_modules/@babel/helper-create-class-features-plugin": { "version": "7.22.15", "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.15.tgz", @@ -1001,9 +1071,9 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-module-imports": "^7.22.15", @@ -1108,9 +1178,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "engines": { "node": ">=6.9.0" } @@ -1160,13 +1230,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz", - "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.4.tgz", + "integrity": "sha512-HfcMizYz10cr3h29VqyfGL6ZWIjTwWfvYBMsBVGwpcbhNGe3wQ1ZXZRPzZoAHhd9OqHadHqjQ89iVKINXnbzuw==", "dependencies": { "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0" + "@babel/traverse": "^7.23.4", + "@babel/types": "^7.23.4" }, "engines": { "node": ">=6.9.0" @@ -1186,9 +1256,9 @@ } }, "node_modules/@babel/highlight": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", - "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -1199,9 +1269,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz", + "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==", "bin": { "parser": "bin/babel-parser.js" }, @@ -1210,9 +1280,9 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.15.tgz", - "integrity": "sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.23.3.tgz", + "integrity": "sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1225,14 +1295,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.15.tgz", - "integrity": "sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.23.3.tgz", + "integrity": "sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.15" + "@babel/plugin-transform-optional-chaining": "^7.23.3" }, "engines": { "node": ">=6.9.0" @@ -1353,9 +1423,9 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz", - "integrity": "sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz", + "integrity": "sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1368,9 +1438,9 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.22.5.tgz", - "integrity": "sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz", + "integrity": "sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1525,9 +1595,9 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz", - "integrity": "sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz", + "integrity": "sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1540,9 +1610,9 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.2.tgz", - "integrity": "sha512-BBYVGxbDVHfoeXbOwcagAkOQAm9NxoTdMGfTqghu1GrvadSaw6iW3Je6IcL5PNOw8VwjxqBECXy50/iCQSY/lQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz", + "integrity": "sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", @@ -1575,9 +1645,9 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz", - "integrity": "sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz", + "integrity": "sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1590,9 +1660,9 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.0.tgz", - "integrity": "sha512-cOsrbmIOXmf+5YbL99/S49Y3j46k/T16b9ml8bm9lP6N9US5iQ2yBK7gpui1pg0V/WMcXdkfKbTb7HXq9u+v4g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz", + "integrity": "sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1605,12 +1675,12 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.22.5.tgz", - "integrity": "sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.23.3.tgz", + "integrity": "sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1621,12 +1691,12 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.11.tgz", - "integrity": "sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.23.4.tgz", + "integrity": "sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-class-static-block": "^7.14.5" }, @@ -1638,18 +1708,18 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.15.tgz", - "integrity": "sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.3.tgz", + "integrity": "sha512-FGEQmugvAEu2QtgtU0uTASXevfLMFfBeVCIIdcQhn/uBQsMTjBajdnAtanQlOcuihWh10PZ7+HWvc7NtBwP74w==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-replace-supers": "^7.22.20", "@babel/helper-split-export-declaration": "^7.22.6", "globals": "^11.1.0" }, @@ -1661,13 +1731,13 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz", - "integrity": "sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz", + "integrity": "sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/template": "^7.22.5" + "@babel/template": "^7.22.15" }, "engines": { "node": ">=6.9.0" @@ -1676,10 +1746,24 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-computed-properties/node_modules/@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.0.tgz", - "integrity": "sha512-vaMdgNXFkYrB+8lbgniSYWHsgqK5gjaMNcc84bMIOMRLH0L9AqYq3hwMdvnyqj1OPqea8UtjPEuS/DCenah1wg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz", + "integrity": "sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1692,12 +1776,12 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz", - "integrity": "sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.23.3.tgz", + "integrity": "sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1708,9 +1792,9 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz", - "integrity": "sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.23.3.tgz", + "integrity": "sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1723,9 +1807,9 @@ } }, "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.11.tgz", - "integrity": "sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.23.4.tgz", + "integrity": "sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1739,12 +1823,12 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz", - "integrity": "sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.23.3.tgz", + "integrity": "sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==", "dev": true, "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1755,9 +1839,9 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.11.tgz", - "integrity": "sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.23.4.tgz", + "integrity": "sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1771,9 +1855,9 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.15.tgz", - "integrity": "sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz", + "integrity": "sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1786,13 +1870,13 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz", - "integrity": "sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz", + "integrity": "sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==", "dev": true, "dependencies": { - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-function-name": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1803,9 +1887,9 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.11.tgz", - "integrity": "sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.23.4.tgz", + "integrity": "sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1819,9 +1903,9 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz", - "integrity": "sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz", + "integrity": "sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1834,9 +1918,9 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.11.tgz", - "integrity": "sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz", + "integrity": "sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1850,9 +1934,9 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz", - "integrity": "sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz", + "integrity": "sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1865,12 +1949,12 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.0.tgz", - "integrity": "sha512-xWT5gefv2HGSm4QHtgc1sYPbseOyf+FFDo2JbpE25GWl5BqTGO9IMwTYJRoIdjsF85GE+VegHxSCUt5EvoYTAw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.3.tgz", + "integrity": "sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1881,12 +1965,12 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.0.tgz", - "integrity": "sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz", + "integrity": "sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-simple-access": "^7.22.5" }, @@ -1898,13 +1982,13 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.0.tgz", - "integrity": "sha512-qBej6ctXZD2f+DhlOC9yO47yEYgUh5CZNz/aBoH4j/3NOlRfJXJbY7xDQCqQVf9KbrqGzIWER1f23doHGrIHFg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz", + "integrity": "sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==", "dev": true, "dependencies": { "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.20" }, @@ -1916,12 +2000,12 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz", - "integrity": "sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.23.3.tgz", + "integrity": "sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1948,9 +2032,9 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz", - "integrity": "sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.23.3.tgz", + "integrity": "sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1963,9 +2047,9 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.11.tgz", - "integrity": "sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz", + "integrity": "sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1979,9 +2063,9 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.11.tgz", - "integrity": "sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.23.4.tgz", + "integrity": "sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1995,16 +2079,16 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.15.tgz", - "integrity": "sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.23.4.tgz", + "integrity": "sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.22.9", + "@babel/compat-data": "^7.23.3", "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.15" + "@babel/plugin-transform-parameters": "^7.23.3" }, "engines": { "node": ">=6.9.0" @@ -2014,13 +2098,13 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz", - "integrity": "sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz", + "integrity": "sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5" + "@babel/helper-replace-supers": "^7.22.20" }, "engines": { "node": ">=6.9.0" @@ -2030,9 +2114,9 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.11.tgz", - "integrity": "sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.23.4.tgz", + "integrity": "sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -2046,9 +2130,9 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.0.tgz", - "integrity": "sha512-sBBGXbLJjxTzLBF5rFWaikMnOGOk/BmK6vVByIdEggZ7Vn6CvWXZyRkkLFK6WE0IF8jSliyOkUN6SScFgzCM0g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz", + "integrity": "sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -2063,9 +2147,9 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.15.tgz", - "integrity": "sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz", + "integrity": "sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2078,12 +2162,12 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.22.5.tgz", - "integrity": "sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.23.3.tgz", + "integrity": "sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -2094,13 +2178,13 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.11.tgz", - "integrity": "sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz", + "integrity": "sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" }, @@ -2112,9 +2196,9 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz", - "integrity": "sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz", + "integrity": "sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2127,9 +2211,9 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.10.tgz", - "integrity": "sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.23.3.tgz", + "integrity": "sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -2143,9 +2227,9 @@ } }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz", - "integrity": "sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.23.3.tgz", + "integrity": "sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2187,9 +2271,9 @@ } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz", - "integrity": "sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz", + "integrity": "sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2202,9 +2286,9 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz", - "integrity": "sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz", + "integrity": "sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -2218,9 +2302,9 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz", - "integrity": "sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.23.3.tgz", + "integrity": "sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2233,9 +2317,9 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz", - "integrity": "sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz", + "integrity": "sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2248,9 +2332,9 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", - "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.23.3.tgz", + "integrity": "sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2263,9 +2347,9 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.10.tgz", - "integrity": "sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz", + "integrity": "sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -2278,12 +2362,12 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.22.5.tgz", - "integrity": "sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.23.3.tgz", + "integrity": "sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -2294,12 +2378,12 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", - "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.23.3.tgz", + "integrity": "sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -2310,12 +2394,12 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.22.5.tgz", - "integrity": "sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.23.3.tgz", + "integrity": "sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -2466,6 +2550,7 @@ "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "dev": true, "dependencies": { "@babel/code-frame": "^7.22.5", "@babel/parser": "^7.22.5", @@ -2476,18 +2561,18 @@ } }, "node_modules/@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz", + "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==", "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", + "@babel/code-frame": "^7.23.4", + "@babel/generator": "^7.23.4", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", + "@babel/parser": "^7.23.4", + "@babel/types": "^7.23.4", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -2496,11 +2581,11 @@ } }, "node_modules/@babel/traverse/node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", "dependencies": { - "@babel/types": "^7.23.0", + "@babel/types": "^7.23.4", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -2510,11 +2595,11 @@ } }, "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz", + "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==", "dependencies": { - "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, @@ -2531,6 +2616,54 @@ "node": ">=0.1.90" } }, + "node_modules/@cypress/request": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.1.tgz", + "integrity": "sha512-TWivJlJi8ZDx2wGOw1dbLuHJKUYX7bWySw377nlnGOW3hP9/MUKIsEdXT/YngWxVdgNCHRBmFlBipE+5/2ZZlQ==", + "dev": true, + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "http-signature": "~1.3.6", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "performance-now": "^2.1.0", + "qs": "6.10.4", + "safe-buffer": "^5.1.2", + "tough-cookie": "^4.1.3", + "tunnel-agent": "^0.6.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@cypress/xvfb": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", + "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", + "dev": true, + "dependencies": { + "debug": "^3.1.0", + "lodash.once": "^4.1.1" + } + }, + "node_modules/@cypress/xvfb/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", @@ -2892,6 +3025,12 @@ "node": ">=12" } }, + "node_modules/@gar/promisify": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", + "dev": true + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -3027,9 +3166,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", "engines": { "node": ">=6.0.0" } @@ -3043,22 +3182,26 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.4.tgz", - "integrity": "sha512-KE/SxsDqNs3rrWwFHcRh15ZLVFrI0YoZtgAdIyIq9k5hUNmiWRXXThPomIxHuL20sLdgzbDFyvkUMna14bvtrw==" + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, "node_modules/@leichtgewicht/ip-codec": { @@ -3820,9 +3963,9 @@ } }, "node_modules/@ngtools/webpack": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-16.2.6.tgz", - "integrity": "sha512-d8ZlZL6dOtWmHdjG9PTGBkdiJMcsXD2tp6WeFRVvTEuvCI3XvKsUXBvJDE+mZOhzn5pUEYt+1TR5DHjDZbME3w==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-16.2.10.tgz", + "integrity": "sha512-XAVn59zP3ztuKDtw92Xc9+64RK4u4c9g8y5GgtjIWeOwgNXl8bYhAo3uTZzrSrOu96DFZGjsmghFab/7/C2pDg==", "dev": true, "engines": { "node": "^16.14.0 || >=18.10.0", @@ -3941,6 +4084,32 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/@npmcli/move-file": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", + "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", + "deprecated": "This functionality has been moved to @npmcli/fs", + "dev": true, + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/move-file/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@npmcli/node-gyp": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", @@ -4019,13 +4188,13 @@ } }, "node_modules/@schematics/angular": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-16.2.6.tgz", - "integrity": "sha512-fM09WPqST+nhVGV5Q3fhG7WKo96kgSVMsbz3wGS0DmTn4zge7ZWnrW3VvbxnMapmGoKa9DFPqdqNln4ADcdIMQ==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-16.2.10.tgz", + "integrity": "sha512-PXmoswvN7qknTsXDmEvhZ9UG+awwWnQ/1Jd/eqqQx08iAaAT81OsXj1bN7eSs6tEGBKGjPb6q2xzuiECAdymzg==", "dev": true, "dependencies": { - "@angular-devkit/core": "16.2.6", - "@angular-devkit/schematics": "16.2.6", + "@angular-devkit/core": "16.2.10", + "@angular-devkit/schematics": "16.2.10", "jsonc-parser": "3.2.0" }, "engines": { @@ -4069,6 +4238,90 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/@sigstore/sign/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@sigstore/sign/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@sigstore/sign/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/@sigstore/sign/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/@sigstore/tuf": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-1.0.3.tgz", @@ -4144,9 +4397,9 @@ } }, "node_modules/@types/body-parser": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.3.tgz", - "integrity": "sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==", + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", "dev": true, "dependencies": { "@types/connect": "*", @@ -4154,27 +4407,27 @@ } }, "node_modules/@types/bonjour": { - "version": "3.5.11", - "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.11.tgz", - "integrity": "sha512-isGhjmBtLIxdHBDl2xGwUzEM8AOyOvWsADWq7rqirdi/ZQoHnLWErHvsThcEzTX8juDRiZtzp2Qkv5bgNh6mAg==", + "version": "3.5.13", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz", + "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/connect": { - "version": "3.4.36", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.36.tgz", - "integrity": "sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==", + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/connect-history-api-fallback": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.1.tgz", - "integrity": "sha512-iaQslNbARe8fctL5Lk+DsmgWOM83lM+7FzP0eQUJs1jd3kBE8NWqBTIT2S8SqQOJjxvt2eyIjpOuYeRXq2AdMw==", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz", + "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", "dev": true, "dependencies": { "@types/express-serve-static-core": "*", @@ -4188,41 +4441,41 @@ "dev": true }, "node_modules/@types/cors": { - "version": "2.8.15", - "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.15.tgz", - "integrity": "sha512-n91JxbNLD8eQIuXDIChAN1tCKNWCEgpceU9b7ZMbFA+P+Q4yIeh80jizFLEvolRPc1ES0VdwFlGv+kJTSirogw==", + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", + "integrity": "sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/eslint": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", - "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", + "version": "8.44.7", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz", + "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" } }, "node_modules/@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "dependencies": { "@types/eslint": "*", "@types/estree": "*" } }, "node_modules/@types/estree": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz", - "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, "node_modules/@types/express": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.19.tgz", - "integrity": "sha512-UtOfBtzN9OvpZPPbnnYunfjM7XCI4jyk1NvnFhTVz5krYAnW4o5DCoIekvms+8ApqhB4+9wSge1kBijdfTSmfg==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", "dev": true, "dependencies": { "@types/body-parser": "*", @@ -4232,9 +4485,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.17.37", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.37.tgz", - "integrity": "sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==", + "version": "4.17.41", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz", + "integrity": "sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==", "dev": true, "dependencies": { "@types/node": "*", @@ -4244,55 +4497,64 @@ } }, "node_modules/@types/http-errors": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.2.tgz", - "integrity": "sha512-lPG6KlZs88gef6aD85z3HNkztpj7w2R7HmR3gygjfXCQmsLloWNARFkMuzKiiY8FGdh1XDpgBdrSf4aKDiA7Kg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", "dev": true }, "node_modules/@types/http-proxy": { - "version": "1.17.12", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.12.tgz", - "integrity": "sha512-kQtujO08dVtQ2wXAuSFfk9ASy3sug4+ogFR8Kd8UgP8PEuc1/G/8yjYRmp//PcDNJEUKOza/MrQu15bouEUCiw==", + "version": "1.17.14", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", + "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/jasmine": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-5.1.1.tgz", - "integrity": "sha512-qL4GoZHHJl1JQ0vK31OtXMfkfGxYJnysmYz9kk0E8j5W96ThKykBF90uD3PcVmQUAzulbsaus2eFiBhCH5itfw==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-5.1.4.tgz", + "integrity": "sha512-px7OMFO/ncXxixDe1zR13V1iycqWae0MxTaw62RpFlksUi5QuNWgQJFkTQjIOvrmutJbI7Fp2Y2N1F6D2R4G6w==", "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "node_modules/@types/mime": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.3.tgz", - "integrity": "sha512-Ys+/St+2VF4+xuY6+kDIXGxbNRO0mesVg0bbxEfB97Od1Vjpjx9KD1qxs64Gcb3CWPirk9Xe+PT4YiiHQ9T+eg==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", "dev": true }, "node_modules/@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "version": "20.9.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.4.tgz", + "integrity": "sha512-wmyg8HUhcn6ACjsn8oKYjkN/zUzQeNtMy44weTJSM6p4MMzEOuKbA3OjJ267uPCOW7Xex9dyrNTful8XTQYoDA==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/node-forge": { + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.10.tgz", + "integrity": "sha512-y6PJDYN4xYBxwd22l+OVH35N+1fCYWiuC3aiP2SlXVE6Lo7SS+rSx9r89hLxrP4pn6n1lBGhHJ12pj3F3Mpttw==", + "dev": true, "dependencies": { - "undici-types": "~5.25.1" + "@types/node": "*" } }, "node_modules/@types/qs": { - "version": "6.9.8", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.8.tgz", - "integrity": "sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg==", + "version": "6.9.10", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz", + "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw==", "dev": true }, "node_modules/@types/range-parser": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.5.tgz", - "integrity": "sha512-xrO9OoVPqFuYyR/loIHjnbvvyRZREYKLjxV4+dY6v3FQR3stQ9ZxIGkaclF7YhI9hfjpuTbu14hZEy94qKLtOA==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", "dev": true }, "node_modules/@types/retry": { @@ -4302,9 +4564,9 @@ "dev": true }, "node_modules/@types/send": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.2.tgz", - "integrity": "sha512-aAG6yRf6r0wQ29bkS+x97BIs64ZLxeE/ARwyS6wrldMm3C1MdKwCcnnEwMC1slI8wuxJOpiUH9MioC0A0i+GJw==", + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", "dev": true, "dependencies": { "@types/mime": "^1", @@ -4312,18 +4574,18 @@ } }, "node_modules/@types/serve-index": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.2.tgz", - "integrity": "sha512-asaEIoc6J+DbBKXtO7p2shWUpKacZOoMBEGBgPG91P8xhO53ohzHWGCs4ScZo5pQMf5ukQzVT9fhX1WzpHihig==", + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz", + "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", "dev": true, "dependencies": { "@types/express": "*" } }, "node_modules/@types/serve-static": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.3.tgz", - "integrity": "sha512-yVRvFsEMrv7s0lGhzrggJjNOSmZCdgCjw9xWrPr/kNNLp6FaDfMC1KaYl3TSJ0c58bECwNBMoQrZJ8hA8E1eFg==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", + "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", "dev": true, "dependencies": { "@types/http-errors": "*", @@ -4331,24 +4593,58 @@ "@types/node": "*" } }, + "node_modules/@types/sinonjs__fake-timers": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", + "integrity": "sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==", + "dev": true + }, + "node_modules/@types/sizzle": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.8.tgz", + "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==", + "dev": true + }, "node_modules/@types/sockjs": { - "version": "0.3.34", - "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.34.tgz", - "integrity": "sha512-R+n7qBFnm/6jinlteC9DBL5dGiDGjWAvjo4viUanpnc/dG1y7uDoacXPIQ/PQEg1fI912SMHIa014ZjRpvDw4g==", + "version": "0.3.36", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz", + "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/ws": { - "version": "8.5.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.7.tgz", - "integrity": "sha512-6UrLjiDUvn40CMrAubXuIVtj2PEfKDffJS7ychvnPU44j+KVeXmdHHTgqcM/dxLUTHxlXHiFM8Skmb8ozGdTnQ==", + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", + "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/yauzl": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", "dev": true, + "optional": true, "dependencies": { "@types/node": "*" } }, + "node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", + "integrity": "sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==", + "dev": true, + "engines": { + "node": ">=14.6.0" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0" + } + }, "node_modules/@webassemblyjs/ast": { "version": "1.11.6", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", @@ -4615,9 +4911,9 @@ } }, "node_modules/acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", "bin": { "acorn": "bin/acorn" }, @@ -4714,9 +5010,9 @@ } }, "node_modules/ajv": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", - "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -4830,12 +5126,32 @@ "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "dev": true }, - "node_modules/are-we-there-yet": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", + "node_modules/arch": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz", + "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", "dev": true, - "dependencies": { + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/are-we-there-yet": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", + "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", + "dev": true, + "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" }, @@ -4843,6 +5159,20 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -4858,12 +5188,54 @@ "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", "dev": true }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/async": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "dev": true + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, + "node_modules/at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/autoprefixer": { "version": "10.4.14", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", @@ -4897,6 +5269,21 @@ "postcss": "^8.1.0" } }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.12.0.tgz", + "integrity": "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==", + "dev": true + }, "node_modules/babel-loader": { "version": "9.1.3", "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz", @@ -4953,13 +5340,13 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.5.tgz", - "integrity": "sha512-Q6CdATeAvbScWPNLB8lzSO7fgUVBkQt6zLgNlfyeCr/EQaEQR+bWiBYYPYAFyE528BMjRhL+1QBMOI4jc/c5TA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.6.tgz", + "integrity": "sha512-leDIc4l4tUgU7str5BWLS2h8q2N4Nf6lGZP6UrNDxdtfF2g69eJ5L0H7S8A5Ln/arfFAfHor5InAdZuIOwZdgQ==", "dev": true, "dependencies": { "@babel/helper-define-polyfill-provider": "^0.4.3", - "core-js-compat": "^3.32.2" + "core-js-compat": "^3.33.1" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -5018,6 +5405,15 @@ "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", + "dev": true, + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, "node_modules/big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -5047,14 +5443,40 @@ "readable-stream": "^3.4.0" } }, + "node_modules/bl/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/blob-util": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz", + "integrity": "sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==", + "dev": true + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, "node_modules/body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "dependencies": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -5062,7 +5484,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -5086,6 +5508,21 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, + "node_modules/body-parser/node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/bonjour-service": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.1.1.tgz", @@ -5187,6 +5624,15 @@ "ieee754": "^1.1.13" } }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "dev": true, + "engines": { + "node": "*" + } + }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -5297,14 +5743,24 @@ "node": ">=16 || 14 >=14.17" } }, + "node_modules/cachedir": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.4.0.tgz", + "integrity": "sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5329,9 +5785,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001547", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001547.tgz", - "integrity": "sha512-W7CrtIModMAxobGhz8iXmDfuJiiKg1WADMO/9x7/CLNin5cpSbuBjooyoIUVB5eyCc36QuTVlkVa1iB2S5+/eA==", + "version": "1.0.30001564", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001564.tgz", + "integrity": "sha512-DqAOf+rhof+6GVx1y+xzbFPeOumfQnhYzVnZD6LAXijR77yPtm9mfOcqOnT3mpnJiZVT+kwLAFnRlZcIz+c6bg==", "funding": [ { "type": "opencollective", @@ -5347,6 +5803,12 @@ } ] }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", + "dev": true + }, "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -5366,6 +5828,15 @@ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, + "node_modules/check-more-types": { + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", + "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", @@ -5410,6 +5881,21 @@ "node": ">=6.0" } }, + "node_modules/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "engines": { + "node": ">=8" + } + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -5432,9 +5918,9 @@ } }, "node_modules/cli-spinners": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.1.tgz", + "integrity": "sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==", "dev": true, "engines": { "node": ">=6" @@ -5443,6 +5929,37 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/cli-table3": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", + "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "@colors/colors": "1.5.0" + } + }, + "node_modules/cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "dev": true, + "dependencies": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", @@ -5530,15 +6047,28 @@ } }, "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true, + "engines": { + "node": ">= 6" + } }, "node_modules/common-path-prefix": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==" }, + "node_modules/common-tags": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.2.tgz", + "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", + "dev": true, + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/compressible": { "version": "2.0.18", "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", @@ -5593,6 +6123,12 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, + "node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -5656,42 +6192,20 @@ "node": ">= 0.6" } }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "dev": true, "engines": { "node": ">= 0.6" } }, "node_modules/convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "dependencies": { - "safe-buffer": "~5.1.1" - } + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true }, "node_modules/cookie": { "version": "0.4.2", @@ -5757,9 +6271,9 @@ } }, "node_modules/core-js-compat": { - "version": "3.33.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.33.0.tgz", - "integrity": "sha512-0w4LcLXsVEuNkIqwjjf9rjCoPhK8uqA4tMRh4Ge26vfLtUutshn+aRJU21I9LCJlh2QQHfisNToLjw1XEJLTWw==", + "version": "3.33.3", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.33.3.tgz", + "integrity": "sha512-cNzGqFsh3Ot+529GIXacjTJ7kegdt5fPXxCBVS1G0iaZpuo/tBz399ymceLJveQhFFZ8qThHiP3fzuoQjKN2ow==", "dev": true, "dependencies": { "browserslist": "^4.22.1" @@ -5787,6 +6301,50 @@ "node": ">= 0.10" } }, + "node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cosmiconfig/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/cosmiconfig/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/critters": { "version": "0.0.20", "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.20.tgz", @@ -5886,21 +6444,6 @@ "node": ">= 8" } }, - "node_modules/cross-spawn/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/css-loader": { "version": "6.8.1", "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz", @@ -5997,13 +6540,177 @@ "integrity": "sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==", "dev": true }, - "node_modules/data-urls": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", - "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "node_modules/cypress": { + "version": "13.6.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.6.0.tgz", + "integrity": "sha512-quIsnFmtj4dBUEJYU4OH0H12bABJpSujvWexC24Ju1gTlKMJbeT6tTO0vh7WNfiBPPjoIXLN+OUqVtiKFs6SGw==", "dev": true, + "hasInstallScript": true, "dependencies": { - "abab": "^2.0.3", + "@cypress/request": "^3.0.0", + "@cypress/xvfb": "^1.2.4", + "@types/node": "^18.17.5", + "@types/sinonjs__fake-timers": "8.1.1", + "@types/sizzle": "^2.3.2", + "arch": "^2.2.0", + "blob-util": "^2.0.2", + "bluebird": "^3.7.2", + "buffer": "^5.6.0", + "cachedir": "^2.3.0", + "chalk": "^4.1.0", + "check-more-types": "^2.24.0", + "cli-cursor": "^3.1.0", + "cli-table3": "~0.6.1", + "commander": "^6.2.1", + "common-tags": "^1.8.0", + "dayjs": "^1.10.4", + "debug": "^4.3.4", + "enquirer": "^2.3.6", + "eventemitter2": "6.4.7", + "execa": "4.1.0", + "executable": "^4.1.1", + "extract-zip": "2.0.1", + "figures": "^3.2.0", + "fs-extra": "^9.1.0", + "getos": "^3.2.1", + "is-ci": "^3.0.0", + "is-installed-globally": "~0.4.0", + "lazy-ass": "^1.6.0", + "listr2": "^3.8.3", + "lodash": "^4.17.21", + "log-symbols": "^4.0.0", + "minimist": "^1.2.8", + "ospath": "^1.2.2", + "pretty-bytes": "^5.6.0", + "process": "^0.11.10", + "proxy-from-env": "1.0.0", + "request-progress": "^3.0.0", + "semver": "^7.5.3", + "supports-color": "^8.1.1", + "tmp": "~0.2.1", + "untildify": "^4.0.0", + "yauzl": "^2.10.0" + }, + "bin": { + "cypress": "bin/cypress" + }, + "engines": { + "node": "^16.0.0 || ^18.0.0 || >=20.0.0" + } + }, + "node_modules/cypress/node_modules/@types/node": { + "version": "18.18.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.12.tgz", + "integrity": "sha512-G7slVfkwOm7g8VqcEF1/5SXiMjP3Tbt+pXDU3r/qhlM2KkGm786DUD4xyMA2QzEElFrv/KZV9gjygv4LnkpbMQ==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/cypress/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cypress/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cypress/node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cypress/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/cypress/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/cypress/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/cypress/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", "whatwg-mimetype": "^2.3.0", "whatwg-url": "^8.0.0" }, @@ -6020,6 +6727,12 @@ "node": ">=4.0" } }, + "node_modules/dayjs": { + "version": "1.11.10", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==", + "dev": true + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -6054,6 +6767,50 @@ "node": ">= 10" } }, + "node_modules/default-gateway/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/default-gateway/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-gateway/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, "node_modules/defaults": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", @@ -6066,6 +6823,20 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/define-lazy-prop": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", @@ -6245,6 +7016,16 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", + "dev": true, + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -6252,9 +7033,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.551", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.551.tgz", - "integrity": "sha512-/Ng/W/kFv7wdEHYzxdK7Cv0BHEGSkSB3M0Ssl8Ndr1eMiYeas/+Mv4cNaDqamqWx6nd2uQZfPz6g25z25M/sdw==" + "version": "1.4.591", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.591.tgz", + "integrity": "sha512-vLv/P7wwAPKQoY+CVMyyI6rsTp+A14KGtPXx92oz1FY41AAqa9l6Wkizcixg0LDuJgyeo8xgNN9+9hsnGp66UA==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -6303,10 +7084,19 @@ "node": ">=0.10.0" } }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, "node_modules/engine.io": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.3.tgz", - "integrity": "sha512-IML/R4eG/pUS5w7OfcDE0jKrljWS9nwnEfsxWCIJF5eO6AHo6+Hlv+lQbdlAYsiJPHzUthLm1RUjnBzWOs45cw==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.4.tgz", + "integrity": "sha512-KdVSDKhVKyOi+r5uEabrDLZw2qXStVvCsEB/LN3mw4WFi6Gx50jTyuxYVCwAAC0U46FdnzP/ScKRBTXb/NiEOg==", "dev": true, "dependencies": { "@types/cookie": "^0.4.1", @@ -6333,6 +7123,27 @@ "node": ">=10.0.0" } }, + "node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/enhanced-resolve": { "version": "5.15.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", @@ -6345,6 +7156,19 @@ "node": ">=10.13.0" } }, + "node_modules/enquirer": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/ent": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", @@ -6401,9 +7225,9 @@ } }, "node_modules/es-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", - "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==" }, "node_modules/esbuild": { "version": "0.18.17", @@ -6471,7 +7295,7 @@ "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "engines": { "node": ">=0.8.0" } @@ -6497,15 +7321,6 @@ "source-map": "~0.6.1" } }, - "node_modules/escodegen/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/escodegen/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -6528,6 +7343,14 @@ "node": ">=8.0.0" } }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -6552,7 +7375,7 @@ "node": ">=4.0" } }, - "node_modules/esrecurse/node_modules/estraverse": { + "node_modules/estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", @@ -6560,14 +7383,6 @@ "node": ">=4.0" } }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "engines": { - "node": ">=4.0" - } - }, "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", @@ -6592,6 +7407,12 @@ "integrity": "sha512-39F7TBIV0G7gTelxwbEqnwhp90eqCPON1k0NwNfwhgKn4Co4ybUbj2pECcXT0B3ztRKZ7Pw1JujUUgmQJHcVAQ==", "dev": true }, + "node_modules/eventemitter2": { + "version": "6.4.7", + "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz", + "integrity": "sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg==", + "dev": true + }, "node_modules/eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", @@ -6607,19 +7428,19 @@ } }, "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", "strip-final-newline": "^2.0.0" }, "engines": { @@ -6629,6 +7450,18 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, + "node_modules/executable": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz", + "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==", + "dev": true, + "dependencies": { + "pify": "^2.2.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/exponential-backoff": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", @@ -6683,17 +7516,41 @@ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "dev": true }, - "node_modules/express/node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", + "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/express/node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, @@ -6725,25 +7582,35 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "node_modules/express/node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/express/node_modules/raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dev": true, + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } }, "node_modules/express/node_modules/statuses": { "version": "2.0.1", @@ -6774,6 +7641,47 @@ "node": ">=4" } }, + "node_modules/external-editor/node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" + }, + "engines": { + "node": ">= 10.17.0" + }, + "optionalDependencies": { + "@types/yauzl": "^2.9.1" + } + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", + "dev": true, + "engines": [ + "node >=0.6.0" + ] + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -6821,6 +7729,15 @@ "node": ">=0.8.0" } }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, + "dependencies": { + "pend": "~1.2.0" + } + }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -6922,15 +7839,15 @@ } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "dev": true, "funding": [ { @@ -6975,18 +7892,27 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", + "dev": true, + "engines": { + "node": "*" + } + }, "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "dependencies": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", + "combined-stream": "^1.0.6", "mime-types": "^2.1.12" }, "engines": { - "node": ">= 6" + "node": ">= 0.12" } }, "node_modules/forwarded": { @@ -6999,9 +7925,9 @@ } }, "node_modules/fraction.js": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", - "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true, "engines": { "node": "*" @@ -7021,17 +7947,18 @@ } }, "node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, "dependencies": { + "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" }, "engines": { - "node": ">=6 <7 || >=8" + "node": ">=10" } }, "node_modules/fs-minipass": { @@ -7068,9 +7995,9 @@ "dev": true }, "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, "optional": true, @@ -7082,10 +8009,13 @@ } }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/gauge": { "version": "4.0.4", @@ -7124,14 +8054,15 @@ } }, "node_modules/get-intrinsic": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", - "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -7147,27 +8078,48 @@ } }, "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, "engines": { - "node": ">=10" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/getos": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz", + "integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==", + "dev": true, + "dependencies": { + "async": "^3.2.0" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + } + }, "node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, @@ -7195,6 +8147,30 @@ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, + "node_modules/global-dirs": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz", + "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==", + "dev": true, + "dependencies": { + "ini": "2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/global-dirs/node_modules/ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -7222,10 +8198,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "node_modules/guess-parser": { "version": "0.4.22", @@ -7245,18 +8233,6 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -7265,6 +8241,30 @@ "node": ">=4" } }, + "node_modules/has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", @@ -7283,6 +8283,18 @@ "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", "dev": true }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/hdr-histogram-js": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/hdr-histogram-js/-/hdr-histogram-js-2.0.3.tgz", @@ -7333,30 +8345,6 @@ "wbuf": "^1.1.0" } }, - "node_modules/hpack.js/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/hpack.js/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/html-encoding-sniffer": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", @@ -7505,6 +8493,20 @@ } } }, + "node_modules/http-signature": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.3.6.tgz", + "integrity": "sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^2.0.2", + "sshpk": "^1.14.1" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/https-proxy-agent": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", @@ -7519,12 +8521,12 @@ } }, "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true, "engines": { - "node": ">=10.17.0" + "node": ">=8.12.0" } }, "node_modules/humanize-ms": { @@ -7581,9 +8583,9 @@ ] }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true, "engines": { "node": ">= 4" @@ -7692,6 +8694,12 @@ "node": ">=8" } }, + "node_modules/infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true + }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -7845,16 +8853,28 @@ "node": ">=8" } }, - "node_modules/is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "node_modules/is-ci": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", + "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", "dev": true, "dependencies": { - "has": "^1.0.3" + "ci-info": "^3.2.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-docker": { @@ -7902,6 +8922,22 @@ "node": ">=0.10.0" } }, + "node_modules/is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "dev": true, + "dependencies": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", @@ -7926,6 +8962,15 @@ "node": ">=0.12.0" } }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-plain-obj": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", @@ -7968,6 +9013,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "dev": true + }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -8030,10 +9081,16 @@ "node": ">=0.10.0" } }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", + "dev": true + }, "node_modules/istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, "engines": { "node": ">=8" @@ -8065,17 +9122,17 @@ } }, "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "dependencies": { "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", + "make-dir": "^4.0.0", "supports-color": "^7.1.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/istanbul-lib-report/node_modules/has-flag": { @@ -8123,9 +9180,9 @@ } }, "node_modules/istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", "dev": true, "dependencies": { "html-escaper": "^2.0.0", @@ -8195,9 +9252,9 @@ } }, "node_modules/jiti": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.20.0.tgz", - "integrity": "sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", "dev": true, "bin": { "jiti": "bin/jiti.js" @@ -8221,6 +9278,12 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==", + "dev": true + }, "node_modules/jsdom": { "version": "16.7.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", @@ -8267,33 +9330,26 @@ } } }, + "node_modules/jsdom/node_modules/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/jsdom/node_modules/parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", "dev": true }, - "node_modules/jsdom/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", @@ -8310,11 +9366,23 @@ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true + }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -8333,10 +9401,13 @@ "dev": true }, "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, "optionalDependencies": { "graceful-fs": "^4.1.6" } @@ -8350,6 +9421,21 @@ "node >= 0.2.0" ] }, + "node_modules/jsprim": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-2.0.2.tgz", + "integrity": "sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, "node_modules/jszip": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", @@ -8361,28 +9447,6 @@ "setimmediate": "^1.0.5" } }, - "node_modules/jszip/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/jszip/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/karma": { "version": "6.4.2", "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz", @@ -8430,6 +9494,18 @@ "which": "^1.2.1" } }, + "node_modules/karma-chrome-launcher/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, "node_modules/karma-coverage": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-2.2.1.tgz", @@ -8499,18 +9575,6 @@ "wrap-ansi": "^7.0.0" } }, - "node_modules/karma/node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/karma/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -8520,18 +9584,6 @@ "node": ">=0.10.0" } }, - "node_modules/karma/node_modules/tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, - "dependencies": { - "rimraf": "^3.0.0" - }, - "engines": { - "node": ">=8.17.0" - } - }, "node_modules/karma/node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -8587,6 +9639,15 @@ "shell-quote": "^1.8.1" } }, + "node_modules/lazy-ass": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", + "integrity": "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw==", + "dev": true, + "engines": { + "node": "> 0.8" + } + }, "node_modules/less": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", @@ -8660,6 +9721,16 @@ "node": ">=4" } }, + "node_modules/less/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "optional": true, + "engines": { + "node": ">=6" + } + }, "node_modules/less/node_modules/semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", @@ -8711,10 +9782,37 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, + "node_modules/listr2": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.14.0.tgz", + "integrity": "sha512-TyWI8G99GX9GjE54cJ+RrNMcIFBfwMPxc3XTFiAYGN4s10hWROGtOg7+O6u6LE3mNkyld7RSLE6nrKBvTfcs3g==", + "dev": true, + "dependencies": { + "cli-truncate": "^2.1.0", + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.5.1", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "enquirer": ">= 2.3.0 < 3" + }, + "peerDependenciesMeta": { + "enquirer": { + "optional": true + } + } + }, "node_modules/loader-runner": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", - "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "engines": { "node": ">=6.11.5" } @@ -8751,6 +9849,12 @@ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "dev": true + }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -8837,32 +9941,110 @@ "node": ">=8" } }, + "node_modules/log-update": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", + "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.3.0", + "cli-cursor": "^3.1.0", + "slice-ansi": "^4.0.0", + "wrap-ansi": "^6.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-update/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-update/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/log4js": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.7.1.tgz", - "integrity": "sha512-lzbd0Eq1HRdWM2abSD7mk6YIVY0AogGJzb/z+lqzRk+8+XJP+M6L1MS5FUSc3jjGru4dbKjEMJmqlsoYYpuivQ==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", + "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", "dev": true, "dependencies": { "date-format": "^4.0.14", "debug": "^4.3.4", "flatted": "^3.2.7", "rfdc": "^1.3.0", - "streamroller": "^3.1.3" + "streamroller": "^3.1.5" }, "engines": { "node": ">=8.0" } }, "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" + "yallist": "^3.0.2" } }, "node_modules/magic-string": { @@ -8877,69 +10059,137 @@ "node": ">=12" } }, - "node_modules/magic-string/node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true - }, "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "dependencies": { - "semver": "^6.0.0" + "semver": "^7.5.3" }, "engines": { - "node": ">=8" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/make-fetch-happen": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", - "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", + "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", "dev": true, "dependencies": { "agentkeepalive": "^4.2.1", - "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.1", + "cacache": "^16.1.0", + "http-cache-semantics": "^4.1.0", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^5.0.0", - "minipass-fetch": "^3.0.0", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^2.0.3", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^0.6.3", "promise-retry": "^2.0.1", "socks-proxy-agent": "^7.0.0", - "ssri": "^10.0.0" + "ssri": "^9.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/@npmcli/fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", + "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "dev": true, + "dependencies": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/make-fetch-happen/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/cacache": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", + "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", + "dev": true, + "dependencies": { + "@npmcli/fs": "^2.1.0", + "@npmcli/move-file": "^2.0.0", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "glob": "^8.0.1", + "infer-owner": "^1.0.4", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "mkdirp": "^1.0.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11", + "unique-filename": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" } }, - "node_modules/make-fetch-happen/node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "node_modules/make-fetch-happen/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, "engines": { - "node": ">= 10" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/make-fetch-happen/node_modules/http-proxy-agent": { @@ -8965,6 +10215,84 @@ "node": ">=12" } }, + "node_modules/make-fetch-happen/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/make-fetch-happen/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-fetch-happen/node_modules/ssri": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "dev": true, + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/unique-filename": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", + "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", + "dev": true, + "dependencies": { + "unique-slug": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/unique-slug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", + "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -9049,9 +10377,9 @@ } }, "node_modules/mime-types": { - "version": "2.1.34", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", - "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dependencies": { "mime-db": "1.52.0" }, @@ -9094,9 +10422,9 @@ "dev": true }, "node_modules/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -9106,10 +10434,13 @@ } }, "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/minipass": { "version": "5.0.0", @@ -9144,32 +10475,47 @@ "node": ">=8" } }, + "node_modules/minipass-collect/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/minipass-fetch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", - "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", + "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", "dev": true, "dependencies": { - "minipass": "^7.0.3", + "minipass": "^3.1.6", "minipass-sized": "^1.0.3", "minizlib": "^2.1.2" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" }, "optionalDependencies": { "encoding": "^0.1.13" } }, "node_modules/minipass-fetch/node_modules/minipass": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", - "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=8" } }, + "node_modules/minipass-fetch/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/minipass-flush": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", @@ -9194,6 +10540,12 @@ "node": ">=8" } }, + "node_modules/minipass-flush/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/minipass-json-stream": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", @@ -9216,6 +10568,12 @@ "node": ">=8" } }, + "node_modules/minipass-json-stream/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/minipass-pipeline": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", @@ -9240,6 +10598,12 @@ "node": ">=8" } }, + "node_modules/minipass-pipeline/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/minipass-sized": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", @@ -9264,6 +10628,12 @@ "node": ">=8" } }, + "node_modules/minipass-sized/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/minizlib": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", @@ -9289,16 +10659,22 @@ "node": ">=8" } }, + "node_modules/minizlib/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, "bin": { "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" } }, "node_modules/mrmime": { @@ -9335,9 +10711,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", "dev": true, "funding": [ { @@ -9439,16 +10815,16 @@ } }, "node_modules/node-gyp": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", - "integrity": "sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz", + "integrity": "sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==", "dev": true, "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", "glob": "^7.1.4", "graceful-fs": "^4.2.6", - "make-fetch-happen": "^11.0.3", + "make-fetch-happen": "^10.0.3", "nopt": "^6.0.0", "npmlog": "^6.0.0", "rimraf": "^3.0.2", @@ -9464,9 +10840,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz", - "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.7.0.tgz", + "integrity": "sha512-PbZERfeFdrHQOOXiAKOY0VPbykZy90ndPKk0d+CFDegTKmWp1VgOTz2xACVbr1BjCWxrQp68CXtvNsveFhqDJg==", "dev": true, "optional": true, "bin": { @@ -9475,21 +10851,6 @@ "node-gyp-build-test": "build-test.js" } }, - "node_modules/node-gyp/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/node-releases": { "version": "2.0.13", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", @@ -9636,6 +10997,90 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/npm-registry-fetch/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm-registry-fetch/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm-registry-fetch/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -9691,9 +11136,9 @@ } }, "node_modules/object-inspect": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -9878,6 +11323,12 @@ "node": ">=0.10.0" } }, + "node_modules/ospath": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz", + "integrity": "sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA==", + "dev": true + }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -10124,9 +11575,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", - "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", "dev": true, "engines": { "node": "14 || >=16.14" @@ -10147,6 +11598,18 @@ "node": ">=8" } }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "dev": true + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -10163,15 +11626,14 @@ "funding": { "url": "https://github.com/sponsors/jonschlinkert" } - }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, - "optional": true, "engines": { - "node": ">=6" + "node": ">=0.10.0" } }, "node_modules/piscina": { @@ -10317,50 +11779,6 @@ "webpack": "^5.0.0" } }, - "node_modules/postcss-loader/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/postcss-loader/node_modules/cosmiconfig": { - "version": "8.3.6", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", - "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", - "dev": true, - "dependencies": { - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0", - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/d-fischer" - }, - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/postcss-loader/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, "node_modules/postcss-modules-extract-imports": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", @@ -10460,6 +11878,15 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -10506,6 +11933,12 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz", + "integrity": "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A==", + "dev": true + }, "node_modules/prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -10519,10 +11952,20 @@ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", "dev": true }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "engines": { "node": ">=6" } @@ -10537,9 +11980,9 @@ } }, "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.10.4", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz", + "integrity": "sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==", "dev": true, "dependencies": { "side-channel": "^1.0.4" @@ -10595,9 +12038,9 @@ } }, "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "dependencies": { "bytes": "3.1.2", @@ -10702,19 +12145,24 @@ } }, "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -10809,6 +12257,15 @@ "jsesc": "bin/jsesc" } }, + "node_modules/request-progress": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-3.0.0.tgz", + "integrity": "sha512-MnWzEHHaxHO2iWiQuHrUPBi/1WeBf5PkxQqNyNvLl9VAYSdXkP8tQ3pBSeCPD+yw0v0Aq1zosWLz0BdeXpWwZg==", + "dev": true, + "dependencies": { + "throttleit": "^1.0.0" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -11020,9 +12477,23 @@ } }, "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, "node_modules/safer-buffer": { "version": "2.1.2", @@ -11109,14 +12580,14 @@ } }, "node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dependencies": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" }, "engines": { "node": ">= 12.13.0" @@ -11133,11 +12604,12 @@ "dev": true }, "node_modules/selfsigned": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.1.1.tgz", - "integrity": "sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", + "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", "dev": true, "dependencies": { + "@types/node-forge": "^1.3.0", "node-forge": "^1" }, "engines": { @@ -11159,6 +12631,24 @@ "node": ">=10" } }, + "node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", @@ -11323,6 +12813,21 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, + "node_modules/set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -11415,18 +12920,149 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/slash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", - "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "node_modules/sigstore/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/sigstore/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/sigstore/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/sigstore/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, - "engines": { - "node": ">=12" + "dependencies": { + "color-name": "~1.1.4" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=7.0.0" } }, + "node_modules/slice-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -11464,6 +13100,27 @@ "ws": "~8.11.0" } }, + "node_modules/socket.io-adapter/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/socket.io-parser": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", @@ -11516,6 +13173,15 @@ "node": ">= 10" } }, + "node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", @@ -11637,12 +13303,51 @@ "wbuf": "^1.7.3" } }, + "node_modules/spdy-transport/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, + "node_modules/sshpk": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", + "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", + "dev": true, + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/ssri": { "version": "10.0.5", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", @@ -11674,9 +13379,9 @@ } }, "node_modules/streamroller": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.3.tgz", - "integrity": "sha512-CphIJyFx2SALGHeINanjFRKQ4l7x2c+rXYJ4BMq0gd+ZK0gi4VT8b+eHe2wi58x4UayBAKx4xtHpXT/ea1cz8w==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz", + "integrity": "sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==", "dev": true, "dependencies": { "date-format": "^4.0.14", @@ -11687,34 +13392,50 @@ "node": ">=8.0" } }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "node_modules/streamroller/node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dev": true, "dependencies": { - "safe-buffer": "~5.2.0" + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" } }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "node_modules/streamroller/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/streamroller/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/string-width": { "version": "4.2.3", @@ -11866,10 +13587,28 @@ "node": ">=8" } }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/terser": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.22.0.tgz", - "integrity": "sha512-hHZVLgRA2z4NWcN6aS5rQDc+7Dcy58HOf2zbYwmFcQ+ua3h6eEFf5lIDKTzbWwlazPyOZsFQO8V80/IjVNExEw==", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.24.0.tgz", + "integrity": "sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -11961,6 +13700,11 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, "node_modules/test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -11981,6 +13725,15 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "node_modules/throttleit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.1.tgz", + "integrity": "sha512-vDZpf9Chs9mAdfY046mcPt8fg5QSZr37hEH4TXYBnDF+izxgrbRGUAAaBvIk/fJm9aOFCGFd1EsNg5AZCbnQCQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -11994,15 +13747,15 @@ "dev": true }, "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "dev": true, "dependencies": { - "os-tmpdir": "~1.0.2" + "rimraf": "^3.0.0" }, "engines": { - "node": ">=0.6.0" + "node": ">=8.17.0" } }, "node_modules/to-fast-properties": { @@ -12098,6 +13851,108 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/tuf-js/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tuf-js/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/tuf-js/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", + "dev": true + }, "node_modules/type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", @@ -12143,9 +13998,9 @@ } }, "node_modules/ua-parser-js": { - "version": "0.7.33", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.33.tgz", - "integrity": "sha512-s8ax/CeZdK9R/56Sui0WM6y9OFREJarMRHqLB2EwkovemBxNQ+Bqu8GAsUnVcXKgphb++ghr/B2BZx4mahujPw==", + "version": "0.7.37", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.37.tgz", + "integrity": "sha512-xV8kqRKM+jhMvcHWUKthV9fNebIzrNy//2O9ZwWcfiBFR5f25XVZPLlEajk/sf3Ra15V92isyQqnIEXRDaZWEA==", "dev": true, "funding": [ { @@ -12155,6 +14010,10 @@ { "type": "paypal", "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" } ], "engines": { @@ -12162,9 +14021,9 @@ } }, "node_modules/undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==" + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", @@ -12231,12 +14090,12 @@ } }, "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { - "node": ">= 4.0.0" + "node": ">= 10.0.0" } }, "node_modules/unpipe": { @@ -12248,6 +14107,15 @@ "node": ">= 0.8" } }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/update-browserslist-db": { "version": "1.0.13", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", @@ -12349,6 +14217,81 @@ "node": ">= 0.8" } }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/verror/node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", + "dev": true + }, + "node_modules/vite": { + "version": "4.4.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.7.tgz", + "integrity": "sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==", + "dev": true, + "dependencies": { + "esbuild": "^0.18.10", + "postcss": "^8.4.26", + "rollup": "^3.25.2" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, "node_modules/void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", @@ -12420,9 +14363,10 @@ } }, "node_modules/webpack": { - "version": "5.88.2", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", - "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -12642,6 +14586,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -12657,6 +14602,7 @@ "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peer": true, "peerDependencies": { "ajv": "^6.9.1" } @@ -12664,12 +14610,14 @@ "node_modules/webpack/node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "peer": true }, "node_modules/webpack/node_modules/schema-utils": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -12736,15 +14684,18 @@ } }, "node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { - "which": "bin/which" + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" } }, "node_modules/wide-align": { @@ -12870,12 +14821,12 @@ "dev": true }, "node_modules/ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", "dev": true, "engines": { - "node": ">=10.0.0" + "node": ">=8.3.0" }, "peerDependencies": { "bufferutil": "^4.0.1", @@ -12912,10 +14863,9 @@ } }, "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" }, "node_modules/yargs": { "version": "17.7.2", @@ -12944,6 +14894,16 @@ "node": ">=12" } }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "node_modules/yocto-queue": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", @@ -12975,25 +14935,25 @@ } }, "@angular-devkit/architect": { - "version": "0.1602.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1602.6.tgz", - "integrity": "sha512-b1NNV3yNg6Rt86ms20bJIroWUI8ihaEwv5k+EoijEXLoMs4eNs5PhqL+QE8rTj+q9pa1gSrWf2blXor2JGwf1g==", + "version": "0.1602.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1602.10.tgz", + "integrity": "sha512-FwemQXh3edqA/S6zPpsqKei5v7gt0R0WpjJoAJaz+FOpfDwij1fwnKr88XINY8xcefTcQaTDQxJZheJShA/hHw==", "dev": true, "requires": { - "@angular-devkit/core": "16.2.6", + "@angular-devkit/core": "16.2.10", "rxjs": "7.8.1" } }, "@angular-devkit/build-angular": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-16.2.6.tgz", - "integrity": "sha512-QdU/q77K1P8CPEEZGxw1QqLcnA9ofboDWS7vcLRBmFmk2zydtLTApbK0P8GNDRbnmROOKkoaLo+xUTDJz9gvPA==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-16.2.10.tgz", + "integrity": "sha512-msB/qjIsAOySDxdU5DpcX2sWGUEJOFIO03O9+HbtLwf3NDfe74mFfejxuKlHJXIJdgpM2Zc948M6+618QKpUYA==", "dev": true, "requires": { "@ampproject/remapping": "2.2.1", - "@angular-devkit/architect": "0.1602.6", - "@angular-devkit/build-webpack": "0.1602.6", - "@angular-devkit/core": "16.2.6", + "@angular-devkit/architect": "0.1602.10", + "@angular-devkit/build-webpack": "0.1602.10", + "@angular-devkit/core": "16.2.10", "@babel/core": "7.22.9", "@babel/generator": "7.22.9", "@babel/helper-annotate-as-pure": "7.22.5", @@ -13005,7 +14965,7 @@ "@babel/runtime": "7.22.6", "@babel/template": "7.22.5", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "16.2.6", + "@ngtools/webpack": "16.2.10", "@vitejs/plugin-basic-ssl": "1.0.1", "ansi-colors": "4.1.3", "autoprefixer": "10.4.14", @@ -13057,13 +15017,79 @@ "webpack-subresource-integrity": "5.1.0" }, "dependencies": { - "@vitejs/plugin-basic-ssl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", - "integrity": "sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==", + "@babel/core": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.9.tgz", + "integrity": "sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helpers": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.8", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.1" + }, + "dependencies": { + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, "requires": {} }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + }, "terser": { "version": "5.19.2", "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", @@ -13082,34 +15108,54 @@ "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", "dev": true }, - "vite": { - "version": "4.4.7", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.7.tgz", - "integrity": "sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==", + "webpack": { + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", "dev": true, "requires": { - "esbuild": "^0.18.10", - "fsevents": "~2.3.2", - "postcss": "^8.4.26", - "rollup": "^3.25.2" + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" } } } }, "@angular-devkit/build-webpack": { - "version": "0.1602.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1602.6.tgz", - "integrity": "sha512-BJPR6xdq7gRJ6bVWnZ81xHyH75j7lyLbegCXbvUNaM8TWVBkwWsSdqr2NQ717dNLLn5umg58SFpU/pWMq6CxMQ==", + "version": "0.1602.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1602.10.tgz", + "integrity": "sha512-H7HiFKbZl/xVxpr1RH05SGawTpA1417wvr2nFGRu2OiePd0lPr6pIhcq8F8gt7JcA8yZKKaqjn2gU+6um2MFLg==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1602.6", + "@angular-devkit/architect": "0.1602.10", "rxjs": "7.8.1" } }, "@angular-devkit/core": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-16.2.6.tgz", - "integrity": "sha512-iez/8NYXQT6fqVQLlKmZUIRkFUEZ88ACKbTwD4lBmk0+hXW+bQBxI7JOnE3C4zkcM2YeuTXIYsC5SebTKYiR4Q==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-16.2.10.tgz", + "integrity": "sha512-eo7suLDjyu5bSlEr4TluYkFm4v2PVLSAPgnau8XHHlN5Yg4P/BZ00ve7LA7C9S1gzRSCrxQhK5ki4rnoFTo5zg==", "dev": true, "requires": { "ajv": "8.12.0", @@ -13118,35 +15164,15 @@ "picomatch": "2.3.1", "rxjs": "7.8.1", "source-map": "0.7.4" - }, - "dependencies": { - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", - "dev": true - } } }, "@angular-devkit/schematics": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-16.2.6.tgz", - "integrity": "sha512-PhpRYHCJ3WvZXmng6Qk8TXeQf83jeBMAf7AIzI8h0fgeBocOl97Xf7bZpLg6GymiU+rVn15igQ4Rz9rKAay8bQ==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-16.2.10.tgz", + "integrity": "sha512-UCfPJKVNekb21bWRbzyx81tfHN3x8vU4ZMX/VA6xALg//QalMB7NOkkXBAssthnLastkyzkUtlvApTp2+R+EkQ==", "dev": true, "requires": { - "@angular-devkit/core": "16.2.6", + "@angular-devkit/core": "16.2.10", "jsonc-parser": "3.2.0", "magic-string": "0.30.1", "ora": "5.4.1", @@ -13154,32 +15180,32 @@ } }, "@angular/animations": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-16.2.10.tgz", - "integrity": "sha512-UudunZoyFWWNpuWkwiBxC3cleLCVJGHIfMgypFwC35YjtiIlRJ0r4nVkc96Rq1xd4mT71Dbk1kQHc8urB8A7aw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-16.2.12.tgz", + "integrity": "sha512-MD0ElviEfAJY8qMOd6/jjSSvtqER2RDAi0lxe6EtUacC1DHCYkaPrKW4vLqY+tmZBg1yf+6n+uS77pXcHHcA3w==", "requires": { "tslib": "^2.3.0" } }, "@angular/cdk": { - "version": "16.2.9", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-16.2.9.tgz", - "integrity": "sha512-TrLV68YpddUx3t2rs8W29CPk8YkgNGA8PKHwjB4Xvo1yaEH5XUnsw3MQCh42Ee7FKseaqzFgG85USZXAK0IB0A==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-16.2.12.tgz", + "integrity": "sha512-wT8/265zm2WKY0BDaRoYbrAT4kadrmejTRLjuimQIEUKnw4vBsJMWCwQkpFo3s6zr6eznGqYVAFb8KKPVLKGBg==", "requires": { "parse5": "^7.1.2", "tslib": "^2.3.0" } }, "@angular/cli": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-16.2.6.tgz", - "integrity": "sha512-9poPvUEmlufOAW1Cjk+aA5e2x3mInLtbYYSL/EYviDN2ugmavsSIvxAE/WLnxq6cPWqhNDbHDaqvcmqkcFM3Cw==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-16.2.10.tgz", + "integrity": "sha512-zDqlD+rXFuYZP169c2v35HkMbkchVCft5sS+VpoCCgYTk2rwxpeYkjJ8DQZztZJZRXQ+EMpkv/TubswmDro2zA==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1602.6", - "@angular-devkit/core": "16.2.6", - "@angular-devkit/schematics": "16.2.6", - "@schematics/angular": "16.2.6", + "@angular-devkit/architect": "0.1602.10", + "@angular-devkit/core": "16.2.10", + "@angular-devkit/schematics": "16.2.10", + "@schematics/angular": "16.2.10", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", "ini": "4.1.1", @@ -13197,25 +15223,25 @@ } }, "@angular/common": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-16.2.10.tgz", - "integrity": "sha512-cLth66aboInNcWFjDBRmK30jC5KN10nKDDcv4U/r3TDTBpKOtnmTjNFFr7dmjfUmVhHFy/66piBMfpjZI93Rxg==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-16.2.12.tgz", + "integrity": "sha512-B+WY/cT2VgEaz9HfJitBmgdk4I333XG/ybC98CMC4Wz8E49T8yzivmmxXB3OD6qvjcOB6ftuicl6WBqLbZNg2w==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-16.2.10.tgz", - "integrity": "sha512-ty6SfqkZlV2bLU/SSi3wmxrEFgPrK+WVslCNIr3FlTnCBdqpIbadHN2QB3A1d9XaNc7c4Tq5DQKh34cwMwNbuw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-16.2.12.tgz", + "integrity": "sha512-6SMXUgSVekGM7R6l1Z9rCtUGtlg58GFmgbpMCsGf+VXxP468Njw8rjT2YZkf5aEPxEuRpSHhDYjqz7n14cwCXQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler-cli": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-16.2.10.tgz", - "integrity": "sha512-swgmtm4R23vQV9nJTXdDEFpOyIw3kz80mdT9qo3VId/2rqenOK253JsFypoqEj/fKzjV9gwXtTbmrMlhVyuyxw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-16.2.12.tgz", + "integrity": "sha512-pWSrr152562ujh6lsFZR8NfNc5Ljj+zSTQO44DsuB0tZjwEpnRcjJEgzuhGXr+CoiBf+jTSPZKemtSktDk5aaA==", "dev": true, "requires": { "@babel/core": "7.23.2", @@ -13266,12 +15292,12 @@ } }, "@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", "dev": true, "requires": { - "@babel/types": "^7.23.0", + "@babel/types": "^7.23.4", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -13291,25 +15317,25 @@ } }, "@angular/core": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-16.2.10.tgz", - "integrity": "sha512-0XTsPjNflFhOl2CfNEdGeDOklG2t+m/D3g10Y7hg9dBjC1dURUEqTmM4d6J7JNbBURrP+/iP7uLsn3WRSipGUw==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-16.2.12.tgz", + "integrity": "sha512-GLLlDeke/NjroaLYOks0uyzFVo6HyLl7VOm0K1QpLXnYvW63W9Ql/T3yguRZa7tRkOAeFZ3jw+1wnBD4O8MoUA==", "requires": { "tslib": "^2.3.0" } }, "@angular/forms": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-16.2.10.tgz", - "integrity": "sha512-TZliEtSWIL1UzY8kjed4QcMawWS8gk/H60KVgzCh83NGE0wd1OGv20Z5OR7O8j07dxB9vaxY7CQz/8eCz5KaNQ==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-16.2.12.tgz", + "integrity": "sha512-1Eao89hlBgLR3v8tU91vccn21BBKL06WWxl7zLpQmG6Hun+2jrThgOE4Pf3os4fkkbH4Apj0tWL2fNIWe/blbw==", "requires": { "tslib": "^2.3.0" } }, "@angular/material": { - "version": "16.2.9", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-16.2.9.tgz", - "integrity": "sha512-ppEVvB5+TAqYxEiWCOt56TJbKayuJXPO5gAIaoIgaj7a77A3iuJRBZD/TLldqUxqCI6T5pwuTVzdeDU4tTHGug==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-16.2.12.tgz", + "integrity": "sha512-k1DGRfP1mMmhg/nLJjZBOPzX3SyAjgbRBY2KauKOV8OFCXJGoMn/oLgMBh+qB1WugzIna/31dBV8ruHD3Uvp2w==", "requires": { "@material/animation": "15.0.0-canary.bc9ae6c9c.0", "@material/auto-init": "15.0.0-canary.bc9ae6c9c.0", @@ -13362,25 +15388,25 @@ } }, "@angular/platform-browser": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-16.2.10.tgz", - "integrity": "sha512-TOZiK7ji550F8G39Ri255NnK1+2Xlr74RiElJdQct4TzfN0lqNf2KRDFFNwDohkP/78FUzcP4qBxs+Nf8M7OuQ==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-16.2.12.tgz", + "integrity": "sha512-NnH7ju1iirmVEsUq432DTm0nZBGQsBrU40M3ZeVHMQ2subnGiyUs3QyzDz8+VWLL/T5xTxWLt9BkDn65vgzlIQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser-dynamic": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.2.10.tgz", - "integrity": "sha512-YVmhAjOmsp2SWRonv6Mr/qXuKroCiew9asd1IlAZ//wqcml9ZrNAcX3WlDa8ZqdmOplQb0LuvvirfNB/6Is/jg==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.2.12.tgz", + "integrity": "sha512-ya54jerNgreCVAR278wZavwjrUWImMr2F8yM5n9HBvsMBbFaAQ83anwbOEiHEF2BlR+gJiEBLfpuPRMw20pHqw==", "requires": { "tslib": "^2.3.0" } }, "@angular/router": { - "version": "16.2.10", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-16.2.10.tgz", - "integrity": "sha512-ndiq2NkGZ8hTsyL/KK8qsiR3UA0NjOFIn1jtGXOKtHryXZ6vSTtkhtkE4h4+G6/QNTL1IKtocFhOQt/xsc7DUA==", + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-16.2.12.tgz", + "integrity": "sha512-aU6QnYSza005V9P3W6PpkieL56O0IHps96DjqI1RS8yOJUl3THmokqYN4Fm5+HXy4f390FN9i6ftadYQDKeWmA==", "requires": { "tslib": "^2.3.0" } @@ -13392,41 +15418,67 @@ "dev": true }, "@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz", + "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==", "requires": { - "@babel/highlight": "^7.22.13", + "@babel/highlight": "^7.23.4", "chalk": "^2.4.2" } }, "@babel/compat-data": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.2.tgz", - "integrity": "sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ==" + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz", + "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==" }, "@babel/core": { - "version": "7.22.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.9.tgz", - "integrity": "sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", "requires": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.5", - "@babel/generator": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.9", - "@babel/helper-module-transforms": "^7.22.9", - "@babel/helpers": "^7.22.6", - "@babel/parser": "^7.22.7", - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.8", - "@babel/types": "^7.22.5", - "convert-source-map": "^1.7.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.2", + "json5": "^2.2.3", "semver": "^6.3.1" }, "dependencies": { + "@babel/generator": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", + "requires": { + "@babel/types": "^7.23.4", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + } + }, + "@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "requires": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + } + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==" + }, "semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -13438,6 +15490,7 @@ "version": "7.22.9", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", + "dev": true, "requires": { "@babel/types": "^7.22.5", "@jridgewell/gen-mapping": "^0.3.2", @@ -13475,23 +15528,10 @@ "semver": "^6.3.1" }, "dependencies": { - "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "requires": { - "yallist": "^3.0.2" - } - }, "semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==" - }, - "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" } } }, @@ -13604,9 +15644,9 @@ } }, "@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", "requires": { "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-module-imports": "^7.22.15", @@ -13678,9 +15718,9 @@ } }, "@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==" + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==" }, "@babel/helper-validator-identifier": { "version": "7.22.20", @@ -13717,13 +15757,13 @@ } }, "@babel/helpers": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz", - "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.4.tgz", + "integrity": "sha512-HfcMizYz10cr3h29VqyfGL6ZWIjTwWfvYBMsBVGwpcbhNGe3wQ1ZXZRPzZoAHhd9OqHadHqjQ89iVKINXnbzuw==", "requires": { "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0" + "@babel/traverse": "^7.23.4", + "@babel/types": "^7.23.4" }, "dependencies": { "@babel/template": { @@ -13739,9 +15779,9 @@ } }, "@babel/highlight": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", - "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "requires": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -13749,28 +15789,28 @@ } }, "@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==" + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz", + "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==" }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.15.tgz", - "integrity": "sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.23.3.tgz", + "integrity": "sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.15.tgz", - "integrity": "sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.23.3.tgz", + "integrity": "sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.15" + "@babel/plugin-transform-optional-chaining": "^7.23.3" } }, "@babel/plugin-proposal-async-generator-functions": { @@ -13848,18 +15888,18 @@ } }, "@babel/plugin-syntax-import-assertions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz", - "integrity": "sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz", + "integrity": "sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-syntax-import-attributes": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.22.5.tgz", - "integrity": "sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz", + "integrity": "sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" @@ -13966,18 +16006,18 @@ } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz", - "integrity": "sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz", + "integrity": "sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-async-generator-functions": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.2.tgz", - "integrity": "sha512-BBYVGxbDVHfoeXbOwcagAkOQAm9NxoTdMGfTqghu1GrvadSaw6iW3Je6IcL5PNOw8VwjxqBECXy50/iCQSY/lQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz", + "integrity": "sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw==", "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.22.20", @@ -13998,103 +16038,116 @@ } }, "@babel/plugin-transform-block-scoped-functions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz", - "integrity": "sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz", + "integrity": "sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.0.tgz", - "integrity": "sha512-cOsrbmIOXmf+5YbL99/S49Y3j46k/T16b9ml8bm9lP6N9US5iQ2yBK7gpui1pg0V/WMcXdkfKbTb7HXq9u+v4g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz", + "integrity": "sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-class-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.22.5.tgz", - "integrity": "sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.23.3.tgz", + "integrity": "sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-class-static-block": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.11.tgz", - "integrity": "sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.23.4.tgz", + "integrity": "sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-class-static-block": "^7.14.5" } }, "@babel/plugin-transform-classes": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.15.tgz", - "integrity": "sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.3.tgz", + "integrity": "sha512-FGEQmugvAEu2QtgtU0uTASXevfLMFfBeVCIIdcQhn/uBQsMTjBajdnAtanQlOcuihWh10PZ7+HWvc7NtBwP74w==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-replace-supers": "^7.22.20", "@babel/helper-split-export-declaration": "^7.22.6", "globals": "^11.1.0" } }, "@babel/plugin-transform-computed-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz", - "integrity": "sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz", + "integrity": "sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/template": "^7.22.5" + "@babel/template": "^7.22.15" + }, + "dependencies": { + "@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + } + } } }, "@babel/plugin-transform-destructuring": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.0.tgz", - "integrity": "sha512-vaMdgNXFkYrB+8lbgniSYWHsgqK5gjaMNcc84bMIOMRLH0L9AqYq3hwMdvnyqj1OPqea8UtjPEuS/DCenah1wg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz", + "integrity": "sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz", - "integrity": "sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.23.3.tgz", + "integrity": "sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz", - "integrity": "sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.23.3.tgz", + "integrity": "sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-dynamic-import": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.11.tgz", - "integrity": "sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.23.4.tgz", + "integrity": "sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14102,19 +16155,19 @@ } }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz", - "integrity": "sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.23.3.tgz", + "integrity": "sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-export-namespace-from": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.11.tgz", - "integrity": "sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.23.4.tgz", + "integrity": "sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14122,29 +16175,29 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.15.tgz", - "integrity": "sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz", + "integrity": "sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz", - "integrity": "sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz", + "integrity": "sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==", "dev": true, "requires": { - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-function-name": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-json-strings": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.11.tgz", - "integrity": "sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.23.4.tgz", + "integrity": "sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14152,18 +16205,18 @@ } }, "@babel/plugin-transform-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz", - "integrity": "sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz", + "integrity": "sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-logical-assignment-operators": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.11.tgz", - "integrity": "sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz", + "integrity": "sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14171,54 +16224,54 @@ } }, "@babel/plugin-transform-member-expression-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz", - "integrity": "sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz", + "integrity": "sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-modules-amd": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.0.tgz", - "integrity": "sha512-xWT5gefv2HGSm4QHtgc1sYPbseOyf+FFDo2JbpE25GWl5BqTGO9IMwTYJRoIdjsF85GE+VegHxSCUt5EvoYTAw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.3.tgz", + "integrity": "sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.0.tgz", - "integrity": "sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz", + "integrity": "sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-simple-access": "^7.22.5" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.0.tgz", - "integrity": "sha512-qBej6ctXZD2f+DhlOC9yO47yEYgUh5CZNz/aBoH4j/3NOlRfJXJbY7xDQCqQVf9KbrqGzIWER1f23doHGrIHFg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz", + "integrity": "sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==", "dev": true, "requires": { "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.20" } }, "@babel/plugin-transform-modules-umd": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz", - "integrity": "sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.23.3.tgz", + "integrity": "sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5" } }, @@ -14233,18 +16286,18 @@ } }, "@babel/plugin-transform-new-target": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz", - "integrity": "sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.23.3.tgz", + "integrity": "sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.11.tgz", - "integrity": "sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz", + "integrity": "sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14252,9 +16305,9 @@ } }, "@babel/plugin-transform-numeric-separator": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.11.tgz", - "integrity": "sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.23.4.tgz", + "integrity": "sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14262,32 +16315,32 @@ } }, "@babel/plugin-transform-object-rest-spread": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.15.tgz", - "integrity": "sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.23.4.tgz", + "integrity": "sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==", "dev": true, "requires": { - "@babel/compat-data": "^7.22.9", + "@babel/compat-data": "^7.23.3", "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.15" + "@babel/plugin-transform-parameters": "^7.23.3" } }, "@babel/plugin-transform-object-super": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz", - "integrity": "sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz", + "integrity": "sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5" + "@babel/helper-replace-supers": "^7.22.20" } }, "@babel/plugin-transform-optional-catch-binding": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.11.tgz", - "integrity": "sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.23.4.tgz", + "integrity": "sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14295,9 +16348,9 @@ } }, "@babel/plugin-transform-optional-chaining": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.0.tgz", - "integrity": "sha512-sBBGXbLJjxTzLBF5rFWaikMnOGOk/BmK6vVByIdEggZ7Vn6CvWXZyRkkLFK6WE0IF8jSliyOkUN6SScFgzCM0g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz", + "integrity": "sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14306,49 +16359,49 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.15.tgz", - "integrity": "sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz", + "integrity": "sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-private-methods": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.22.5.tgz", - "integrity": "sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.23.3.tgz", + "integrity": "sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-private-property-in-object": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.11.tgz", - "integrity": "sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz", + "integrity": "sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" } }, "@babel/plugin-transform-property-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz", - "integrity": "sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz", + "integrity": "sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-regenerator": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.10.tgz", - "integrity": "sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.23.3.tgz", + "integrity": "sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14356,9 +16409,9 @@ } }, "@babel/plugin-transform-reserved-words": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz", - "integrity": "sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.23.3.tgz", + "integrity": "sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" @@ -14387,18 +16440,18 @@ } }, "@babel/plugin-transform-shorthand-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz", - "integrity": "sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz", + "integrity": "sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-spread": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz", - "integrity": "sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz", + "integrity": "sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -14406,68 +16459,68 @@ } }, "@babel/plugin-transform-sticky-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz", - "integrity": "sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.23.3.tgz", + "integrity": "sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-template-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz", - "integrity": "sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz", + "integrity": "sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", - "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.23.3.tgz", + "integrity": "sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-unicode-escapes": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.10.tgz", - "integrity": "sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz", + "integrity": "sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-unicode-property-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.22.5.tgz", - "integrity": "sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.23.3.tgz", + "integrity": "sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-unicode-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", - "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.23.3.tgz", + "integrity": "sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-unicode-sets-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.22.5.tgz", - "integrity": "sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.23.3.tgz", + "integrity": "sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-create-regexp-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5" } }, @@ -14599,6 +16652,7 @@ "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "dev": true, "requires": { "@babel/code-frame": "^7.22.5", "@babel/parser": "^7.22.5", @@ -14606,28 +16660,28 @@ } }, "@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz", + "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==", "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", + "@babel/code-frame": "^7.23.4", + "@babel/generator": "^7.23.4", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", + "@babel/parser": "^7.23.4", + "@babel/types": "^7.23.4", "debug": "^4.1.0", "globals": "^11.1.0" }, "dependencies": { "@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", "requires": { - "@babel/types": "^7.23.0", + "@babel/types": "^7.23.4", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -14636,11 +16690,11 @@ } }, "@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz", + "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==", "requires": { - "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" } @@ -14651,6 +16705,53 @@ "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "dev": true }, + "@cypress/request": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.1.tgz", + "integrity": "sha512-TWivJlJi8ZDx2wGOw1dbLuHJKUYX7bWySw377nlnGOW3hP9/MUKIsEdXT/YngWxVdgNCHRBmFlBipE+5/2ZZlQ==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "http-signature": "~1.3.6", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "performance-now": "^2.1.0", + "qs": "6.10.4", + "safe-buffer": "^5.1.2", + "tough-cookie": "^4.1.3", + "tunnel-agent": "^0.6.0", + "uuid": "^8.3.2" + } + }, + "@cypress/xvfb": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", + "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", + "dev": true, + "requires": { + "debug": "^3.1.0", + "lodash.once": "^4.1.1" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, "@discoveryjs/json-ext": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", @@ -14811,6 +16912,12 @@ "dev": true, "optional": true }, + "@gar/promisify": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", + "dev": true + }, "@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -14906,9 +17013,9 @@ } }, "@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==" }, "@jridgewell/set-array": { "version": "1.1.2", @@ -14916,22 +17023,26 @@ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" }, "@jridgewell/source-map": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.4.tgz", - "integrity": "sha512-KE/SxsDqNs3rrWwFHcRh15ZLVFrI0YoZtgAdIyIq9k5hUNmiWRXXThPomIxHuL20sLdgzbDFyvkUMna14bvtrw==" + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "requires": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } }, "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", "requires": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, "@leichtgewicht/ip-codec": { @@ -15693,9 +17804,9 @@ } }, "@ngtools/webpack": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-16.2.6.tgz", - "integrity": "sha512-d8ZlZL6dOtWmHdjG9PTGBkdiJMcsXD2tp6WeFRVvTEuvCI3XvKsUXBvJDE+mZOhzn5pUEYt+1TR5DHjDZbME3w==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-16.2.10.tgz", + "integrity": "sha512-XAVn59zP3ztuKDtw92Xc9+64RK4u4c9g8y5GgtjIWeOwgNXl8bYhAo3uTZzrSrOu96DFZGjsmghFab/7/C2pDg==", "dev": true, "requires": {} }, @@ -15777,6 +17888,24 @@ "npm-normalize-package-bin": "^3.0.0" } }, + "@npmcli/move-file": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", + "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", + "dev": true, + "requires": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "dependencies": { + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + } + } + }, "@npmcli/node-gyp": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", @@ -15835,13 +17964,13 @@ "optional": true }, "@schematics/angular": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-16.2.6.tgz", - "integrity": "sha512-fM09WPqST+nhVGV5Q3fhG7WKo96kgSVMsbz3wGS0DmTn4zge7ZWnrW3VvbxnMapmGoKa9DFPqdqNln4ADcdIMQ==", + "version": "16.2.10", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-16.2.10.tgz", + "integrity": "sha512-PXmoswvN7qknTsXDmEvhZ9UG+awwWnQ/1Jd/eqqQx08iAaAT81OsXj1bN7eSs6tEGBKGjPb6q2xzuiECAdymzg==", "dev": true, "requires": { - "@angular-devkit/core": "16.2.6", - "@angular-devkit/schematics": "16.2.6", + "@angular-devkit/core": "16.2.10", + "@angular-devkit/schematics": "16.2.10", "jsonc-parser": "3.2.0" } }, @@ -15869,6 +17998,74 @@ "@sigstore/bundle": "^1.1.0", "@sigstore/protobuf-specs": "^0.2.0", "make-fetch-happen": "^11.0.1" + }, + "dependencies": { + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "requires": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true + } + } + } } }, "@sigstore/tuf": { @@ -15930,9 +18127,9 @@ } }, "@types/body-parser": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.3.tgz", - "integrity": "sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==", + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", "dev": true, "requires": { "@types/connect": "*", @@ -15940,27 +18137,27 @@ } }, "@types/bonjour": { - "version": "3.5.11", - "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.11.tgz", - "integrity": "sha512-isGhjmBtLIxdHBDl2xGwUzEM8AOyOvWsADWq7rqirdi/ZQoHnLWErHvsThcEzTX8juDRiZtzp2Qkv5bgNh6mAg==", + "version": "3.5.13", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz", + "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", "dev": true, "requires": { "@types/node": "*" } }, "@types/connect": { - "version": "3.4.36", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.36.tgz", - "integrity": "sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==", + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", "dev": true, "requires": { "@types/node": "*" } }, "@types/connect-history-api-fallback": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.1.tgz", - "integrity": "sha512-iaQslNbARe8fctL5Lk+DsmgWOM83lM+7FzP0eQUJs1jd3kBE8NWqBTIT2S8SqQOJjxvt2eyIjpOuYeRXq2AdMw==", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz", + "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", "dev": true, "requires": { "@types/express-serve-static-core": "*", @@ -15974,41 +18171,41 @@ "dev": true }, "@types/cors": { - "version": "2.8.15", - "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.15.tgz", - "integrity": "sha512-n91JxbNLD8eQIuXDIChAN1tCKNWCEgpceU9b7ZMbFA+P+Q4yIeh80jizFLEvolRPc1ES0VdwFlGv+kJTSirogw==", + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", + "integrity": "sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==", "dev": true, "requires": { "@types/node": "*" } }, "@types/eslint": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", - "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", + "version": "8.44.7", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz", + "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==", "requires": { "@types/estree": "*", "@types/json-schema": "*" } }, "@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "requires": { "@types/eslint": "*", "@types/estree": "*" } }, "@types/estree": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz", - "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, "@types/express": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.19.tgz", - "integrity": "sha512-UtOfBtzN9OvpZPPbnnYunfjM7XCI4jyk1NvnFhTVz5krYAnW4o5DCoIekvms+8ApqhB4+9wSge1kBijdfTSmfg==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", "dev": true, "requires": { "@types/body-parser": "*", @@ -16018,9 +18215,9 @@ } }, "@types/express-serve-static-core": { - "version": "4.17.37", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.37.tgz", - "integrity": "sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==", + "version": "4.17.41", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz", + "integrity": "sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==", "dev": true, "requires": { "@types/node": "*", @@ -16030,55 +18227,64 @@ } }, "@types/http-errors": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.2.tgz", - "integrity": "sha512-lPG6KlZs88gef6aD85z3HNkztpj7w2R7HmR3gygjfXCQmsLloWNARFkMuzKiiY8FGdh1XDpgBdrSf4aKDiA7Kg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", "dev": true }, "@types/http-proxy": { - "version": "1.17.12", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.12.tgz", - "integrity": "sha512-kQtujO08dVtQ2wXAuSFfk9ASy3sug4+ogFR8Kd8UgP8PEuc1/G/8yjYRmp//PcDNJEUKOza/MrQu15bouEUCiw==", + "version": "1.17.14", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", + "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", "dev": true, "requires": { "@types/node": "*" } }, "@types/jasmine": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-5.1.1.tgz", - "integrity": "sha512-qL4GoZHHJl1JQ0vK31OtXMfkfGxYJnysmYz9kk0E8j5W96ThKykBF90uD3PcVmQUAzulbsaus2eFiBhCH5itfw==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-5.1.4.tgz", + "integrity": "sha512-px7OMFO/ncXxixDe1zR13V1iycqWae0MxTaw62RpFlksUi5QuNWgQJFkTQjIOvrmutJbI7Fp2Y2N1F6D2R4G6w==", "dev": true }, "@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "@types/mime": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.3.tgz", - "integrity": "sha512-Ys+/St+2VF4+xuY6+kDIXGxbNRO0mesVg0bbxEfB97Od1Vjpjx9KD1qxs64Gcb3CWPirk9Xe+PT4YiiHQ9T+eg==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", "dev": true }, "@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "version": "20.9.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.4.tgz", + "integrity": "sha512-wmyg8HUhcn6ACjsn8oKYjkN/zUzQeNtMy44weTJSM6p4MMzEOuKbA3OjJ267uPCOW7Xex9dyrNTful8XTQYoDA==", + "requires": { + "undici-types": "~5.26.4" + } + }, + "@types/node-forge": { + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.10.tgz", + "integrity": "sha512-y6PJDYN4xYBxwd22l+OVH35N+1fCYWiuC3aiP2SlXVE6Lo7SS+rSx9r89hLxrP4pn6n1lBGhHJ12pj3F3Mpttw==", + "dev": true, "requires": { - "undici-types": "~5.25.1" + "@types/node": "*" } }, "@types/qs": { - "version": "6.9.8", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.8.tgz", - "integrity": "sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg==", + "version": "6.9.10", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz", + "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw==", "dev": true }, "@types/range-parser": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.5.tgz", - "integrity": "sha512-xrO9OoVPqFuYyR/loIHjnbvvyRZREYKLjxV4+dY6v3FQR3stQ9ZxIGkaclF7YhI9hfjpuTbu14hZEy94qKLtOA==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", "dev": true }, "@types/retry": { @@ -16088,9 +18294,9 @@ "dev": true }, "@types/send": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.2.tgz", - "integrity": "sha512-aAG6yRf6r0wQ29bkS+x97BIs64ZLxeE/ARwyS6wrldMm3C1MdKwCcnnEwMC1slI8wuxJOpiUH9MioC0A0i+GJw==", + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", "dev": true, "requires": { "@types/mime": "^1", @@ -16098,18 +18304,18 @@ } }, "@types/serve-index": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.2.tgz", - "integrity": "sha512-asaEIoc6J+DbBKXtO7p2shWUpKacZOoMBEGBgPG91P8xhO53ohzHWGCs4ScZo5pQMf5ukQzVT9fhX1WzpHihig==", + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz", + "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", "dev": true, "requires": { "@types/express": "*" } }, "@types/serve-static": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.3.tgz", - "integrity": "sha512-yVRvFsEMrv7s0lGhzrggJjNOSmZCdgCjw9xWrPr/kNNLp6FaDfMC1KaYl3TSJ0c58bECwNBMoQrZJ8hA8E1eFg==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", + "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", "dev": true, "requires": { "@types/http-errors": "*", @@ -16117,24 +18323,53 @@ "@types/node": "*" } }, + "@types/sinonjs__fake-timers": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", + "integrity": "sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==", + "dev": true + }, + "@types/sizzle": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.8.tgz", + "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==", + "dev": true + }, "@types/sockjs": { - "version": "0.3.34", - "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.34.tgz", - "integrity": "sha512-R+n7qBFnm/6jinlteC9DBL5dGiDGjWAvjo4viUanpnc/dG1y7uDoacXPIQ/PQEg1fI912SMHIa014ZjRpvDw4g==", + "version": "0.3.36", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz", + "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", "dev": true, "requires": { "@types/node": "*" } }, "@types/ws": { - "version": "8.5.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.7.tgz", - "integrity": "sha512-6UrLjiDUvn40CMrAubXuIVtj2PEfKDffJS7ychvnPU44j+KVeXmdHHTgqcM/dxLUTHxlXHiFM8Skmb8ozGdTnQ==", + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", + "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/yauzl": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", "dev": true, + "optional": true, "requires": { "@types/node": "*" } }, + "@vitejs/plugin-basic-ssl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", + "integrity": "sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==", + "dev": true, + "requires": {} + }, "@webassemblyjs/ast": { "version": "1.11.6", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", @@ -16368,9 +18603,9 @@ } }, "acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==" + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==" }, "acorn-globals": { "version": "6.0.0", @@ -16440,9 +18675,9 @@ } }, "ajv": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", - "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "requires": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -16517,6 +18752,12 @@ "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "dev": true }, + "arch": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz", + "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", + "dev": true + }, "are-we-there-yet": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", @@ -16525,6 +18766,19 @@ "requires": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } } }, "argparse": { @@ -16542,12 +18796,45 @@ "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", "dev": true }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", + "dev": true + }, + "astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true + }, + "async": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "dev": true + }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, + "at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true + }, "autoprefixer": { "version": "10.4.14", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", @@ -16562,6 +18849,18 @@ "postcss-value-parser": "^4.2.0" } }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", + "dev": true + }, + "aws4": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.12.0.tgz", + "integrity": "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==", + "dev": true + }, "babel-loader": { "version": "9.1.3", "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz", @@ -16604,13 +18903,13 @@ } }, "babel-plugin-polyfill-corejs3": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.5.tgz", - "integrity": "sha512-Q6CdATeAvbScWPNLB8lzSO7fgUVBkQt6zLgNlfyeCr/EQaEQR+bWiBYYPYAFyE528BMjRhL+1QBMOI4jc/c5TA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.6.tgz", + "integrity": "sha512-leDIc4l4tUgU7str5BWLS2h8q2N4Nf6lGZP6UrNDxdtfF2g69eJ5L0H7S8A5Ln/arfFAfHor5InAdZuIOwZdgQ==", "dev": true, "requires": { "@babel/helper-define-polyfill-provider": "^0.4.3", - "core-js-compat": "^3.32.2" + "core-js-compat": "^3.33.1" } }, "babel-plugin-polyfill-regenerator": { @@ -16646,6 +18945,15 @@ "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, "big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -16667,16 +18975,41 @@ "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } } }, + "blob-util": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz", + "integrity": "sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==", + "dev": true + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, "body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "requires": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -16684,7 +19017,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -16703,6 +19036,15 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true + }, + "qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dev": true, + "requires": { + "side-channel": "^1.0.4" + } } } }, @@ -16770,6 +19112,12 @@ "ieee754": "^1.1.13" } }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "dev": true + }, "buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -16855,14 +19203,21 @@ } } }, + "cachedir": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.4.0.tgz", + "integrity": "sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ==", + "dev": true + }, "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" } }, "callsites": { @@ -16878,9 +19233,15 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001547", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001547.tgz", - "integrity": "sha512-W7CrtIModMAxobGhz8iXmDfuJiiKg1WADMO/9x7/CLNin5cpSbuBjooyoIUVB5eyCc36QuTVlkVa1iB2S5+/eA==" + "version": "1.0.30001564", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001564.tgz", + "integrity": "sha512-DqAOf+rhof+6GVx1y+xzbFPeOumfQnhYzVnZD6LAXijR77yPtm9mfOcqOnT3mpnJiZVT+kwLAFnRlZcIz+c6bg==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", + "dev": true }, "chalk": { "version": "2.4.2", @@ -16898,6 +19259,12 @@ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, + "check-more-types": { + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", + "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==", + "dev": true + }, "chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", @@ -16925,6 +19292,12 @@ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" }, + "ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true + }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -16941,11 +19314,31 @@ } }, "cli-spinners": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.1.tgz", + "integrity": "sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==", "dev": true }, + "cli-table3": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", + "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", + "dev": true, + "requires": { + "@colors/colors": "1.5.0", + "string-width": "^4.2.0" + } + }, + "cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "dev": true, + "requires": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + } + }, "cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", @@ -17015,15 +19408,22 @@ } }, "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true }, "common-path-prefix": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==" }, + "common-tags": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.2.tgz", + "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", + "dev": true + }, "compressible": { "version": "2.0.18", "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", @@ -17068,6 +19468,12 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true } } }, @@ -17125,29 +19531,19 @@ "dev": true, "requires": { "safe-buffer": "5.2.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - } } }, "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "dev": true }, "convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "requires": { - "safe-buffer": "~5.1.1" - } + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true }, "cookie": { "version": "0.4.2", @@ -17196,9 +19592,9 @@ } }, "core-js-compat": { - "version": "3.33.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.33.0.tgz", - "integrity": "sha512-0w4LcLXsVEuNkIqwjjf9rjCoPhK8uqA4tMRh4Ge26vfLtUutshn+aRJU21I9LCJlh2QQHfisNToLjw1XEJLTWw==", + "version": "3.33.3", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.33.3.tgz", + "integrity": "sha512-cNzGqFsh3Ot+529GIXacjTJ7kegdt5fPXxCBVS1G0iaZpuo/tBz399ymceLJveQhFFZ8qThHiP3fzuoQjKN2ow==", "dev": true, "requires": { "browserslist": "^4.22.1" @@ -17219,6 +19615,35 @@ "vary": "^1" } }, + "cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "requires": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + } + } + }, "critters": { "version": "0.0.20", "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.20.tgz", @@ -17294,17 +19719,6 @@ "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" - }, - "dependencies": { - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - } } }, "css-loader": { @@ -17377,6 +19791,137 @@ "integrity": "sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==", "dev": true }, + "cypress": { + "version": "13.6.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.6.0.tgz", + "integrity": "sha512-quIsnFmtj4dBUEJYU4OH0H12bABJpSujvWexC24Ju1gTlKMJbeT6tTO0vh7WNfiBPPjoIXLN+OUqVtiKFs6SGw==", + "dev": true, + "requires": { + "@cypress/request": "^3.0.0", + "@cypress/xvfb": "^1.2.4", + "@types/node": "^18.17.5", + "@types/sinonjs__fake-timers": "8.1.1", + "@types/sizzle": "^2.3.2", + "arch": "^2.2.0", + "blob-util": "^2.0.2", + "bluebird": "^3.7.2", + "buffer": "^5.6.0", + "cachedir": "^2.3.0", + "chalk": "^4.1.0", + "check-more-types": "^2.24.0", + "cli-cursor": "^3.1.0", + "cli-table3": "~0.6.1", + "commander": "^6.2.1", + "common-tags": "^1.8.0", + "dayjs": "^1.10.4", + "debug": "^4.3.4", + "enquirer": "^2.3.6", + "eventemitter2": "6.4.7", + "execa": "4.1.0", + "executable": "^4.1.1", + "extract-zip": "2.0.1", + "figures": "^3.2.0", + "fs-extra": "^9.1.0", + "getos": "^3.2.1", + "is-ci": "^3.0.0", + "is-installed-globally": "~0.4.0", + "lazy-ass": "^1.6.0", + "listr2": "^3.8.3", + "lodash": "^4.17.21", + "log-symbols": "^4.0.0", + "minimist": "^1.2.8", + "ospath": "^1.2.2", + "pretty-bytes": "^5.6.0", + "process": "^0.11.10", + "proxy-from-env": "1.0.0", + "request-progress": "^3.0.0", + "semver": "^7.5.3", + "supports-color": "^8.1.1", + "tmp": "~0.2.1", + "untildify": "^4.0.0", + "yauzl": "^2.10.0" + }, + "dependencies": { + "@types/node": { + "version": "18.18.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.12.tgz", + "integrity": "sha512-G7slVfkwOm7g8VqcEF1/5SXiMjP3Tbt+pXDU3r/qhlM2KkGm786DUD4xyMA2QzEElFrv/KZV9gjygv4LnkpbMQ==", + "dev": true, + "requires": { + "undici-types": "~5.26.4" + } + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, "data-urls": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", @@ -17394,6 +19939,12 @@ "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==", "dev": true }, + "dayjs": { + "version": "1.11.10", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==", + "dev": true + }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -17415,6 +19966,37 @@ "dev": true, "requires": { "execa": "^5.0.0" + }, + "dependencies": { + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + } } }, "defaults": { @@ -17426,6 +20008,17 @@ "clone": "^1.0.2" } }, + "define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, "define-lazy-prop": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", @@ -17564,6 +20157,16 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -17571,9 +20174,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.4.551", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.551.tgz", - "integrity": "sha512-/Ng/W/kFv7wdEHYzxdK7Cv0BHEGSkSB3M0Ssl8Ndr1eMiYeas/+Mv4cNaDqamqWx6nd2uQZfPz6g25z25M/sdw==" + "version": "1.4.591", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.591.tgz", + "integrity": "sha512-vLv/P7wwAPKQoY+CVMyyI6rsTp+A14KGtPXx92oz1FY41AAqa9l6Wkizcixg0LDuJgyeo8xgNN9+9hsnGp66UA==" }, "emoji-regex": { "version": "8.0.0", @@ -17615,10 +20218,19 @@ } } }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, "engine.io": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.3.tgz", - "integrity": "sha512-IML/R4eG/pUS5w7OfcDE0jKrljWS9nwnEfsxWCIJF5eO6AHo6+Hlv+lQbdlAYsiJPHzUthLm1RUjnBzWOs45cw==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.4.tgz", + "integrity": "sha512-KdVSDKhVKyOi+r5uEabrDLZw2qXStVvCsEB/LN3mw4WFi6Gx50jTyuxYVCwAAC0U46FdnzP/ScKRBTXb/NiEOg==", "dev": true, "requires": { "@types/cookie": "^0.4.1", @@ -17631,6 +20243,15 @@ "debug": "~4.3.1", "engine.io-parser": "~5.2.1", "ws": "~8.11.0" + }, + "dependencies": { + "ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "requires": {} + } } }, "engine.io-parser": { @@ -17648,6 +20269,16 @@ "tapable": "^2.2.0" } }, + "enquirer": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", + "dev": true, + "requires": { + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" + } + }, "ent": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", @@ -17692,9 +20323,9 @@ } }, "es-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", - "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==" }, "esbuild": { "version": "0.18.17", @@ -17746,7 +20377,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" }, "escodegen": { "version": "2.1.0", @@ -17760,12 +20391,6 @@ "source-map": "~0.6.1" }, "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -17782,6 +20407,13 @@ "requires": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" + }, + "dependencies": { + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + } } }, "esprima": { @@ -17796,19 +20428,12 @@ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "requires": { "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" - } } }, "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" }, "esutils": { "version": "2.0.3", @@ -17828,6 +20453,12 @@ "integrity": "sha512-39F7TBIV0G7gTelxwbEqnwhp90eqCPON1k0NwNfwhgKn4Co4ybUbj2pECcXT0B3ztRKZ7Pw1JujUUgmQJHcVAQ==", "dev": true }, + "eventemitter2": { + "version": "6.4.7", + "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz", + "integrity": "sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg==", + "dev": true + }, "eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", @@ -17840,22 +20471,31 @@ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" }, "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", "strip-final-newline": "^2.0.0" } }, + "executable": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz", + "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==", + "dev": true, + "requires": { + "pify": "^2.2.0" + } + }, "exponential-backoff": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", @@ -17907,6 +20547,26 @@ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "dev": true }, + "body-parser": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", + "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "dev": true, + "requires": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + } + }, "cookie": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", @@ -17943,11 +20603,26 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true + "qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dev": true, + "requires": { + "side-channel": "^1.0.4" + } + }, + "raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dev": true, + "requires": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } }, "statuses": { "version": "2.0.1", @@ -17972,8 +20647,37 @@ "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" + }, + "dependencies": { + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + } + } + }, + "extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, + "requires": { + "@types/yauzl": "^2.9.1", + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" } }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", + "dev": true + }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -18015,6 +20719,15 @@ "websocket-driver": ">=0.5.1" } }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, + "requires": { + "pend": "~1.2.0" + } + }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -18094,15 +20807,15 @@ } }, "flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", "dev": true }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "dev": true }, "foreground-child": { @@ -18123,14 +20836,20 @@ } } }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", + "dev": true + }, "form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", + "combined-stream": "^1.0.6", "mime-types": "^2.1.12" } }, @@ -18141,9 +20860,9 @@ "dev": true }, "fraction.js": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", - "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true }, "fresh": { @@ -18151,16 +20870,17 @@ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "dev": true - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + }, + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, "requires": { + "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" } }, "fs-minipass": { @@ -18193,16 +20913,16 @@ "dev": true }, "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "optional": true }, "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true }, "gauge": { @@ -18233,14 +20953,15 @@ "dev": true }, "get-intrinsic": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", - "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" } }, "get-package-type": { @@ -18250,21 +20971,42 @@ "dev": true }, "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "getos": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz", + "integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==", + "dev": true, + "requires": { + "async": "^3.2.0" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } }, "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } @@ -18283,6 +21025,23 @@ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, + "global-dirs": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz", + "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==", + "dev": true, + "requires": { + "ini": "2.0.0" + }, + "dependencies": { + "ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "dev": true + } + } + }, "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -18301,10 +21060,19 @@ "slash": "^4.0.0" } }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.3" + } + }, "graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "guess-parser": { "version": "0.4.22", @@ -18321,20 +21089,26 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" }, + "has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.2" + } + }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true + }, "has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", @@ -18347,6 +21121,15 @@ "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", "dev": true }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "requires": { + "function-bind": "^1.1.2" + } + }, "hdr-histogram-js": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/hdr-histogram-js/-/hdr-histogram-js-2.0.3.tgz", @@ -18391,32 +21174,6 @@ "obuf": "^1.0.0", "readable-stream": "^2.0.1", "wbuf": "^1.1.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } } }, "html-encoding-sniffer": { @@ -18526,6 +21283,17 @@ "micromatch": "^4.0.2" } }, + "http-signature": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.3.6.tgz", + "integrity": "sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^2.0.2", + "sshpk": "^1.14.1" + } + }, "https-proxy-agent": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", @@ -18537,9 +21305,9 @@ } }, "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true }, "humanize-ms": { @@ -18574,9 +21342,9 @@ "dev": true }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true }, "ignore-walk": { @@ -18656,6 +21424,12 @@ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true }, + "infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true + }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -18778,13 +21552,22 @@ "binary-extensions": "^2.0.0" } }, + "is-ci": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", + "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", + "dev": true, + "requires": { + "ci-info": "^3.2.0" + } + }, "is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "requires": { - "has": "^1.0.3" + "hasown": "^2.0.0" } }, "is-docker": { @@ -18814,6 +21597,16 @@ "is-extglob": "^2.1.1" } }, + "is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "dev": true, + "requires": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + } + }, "is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", @@ -18832,6 +21625,12 @@ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, "is-plain-obj": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", @@ -18859,6 +21658,12 @@ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "dev": true + }, "is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -18903,10 +21708,16 @@ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", + "dev": true + }, "istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true }, "istanbul-lib-instrument": { @@ -18931,13 +21742,13 @@ } }, "istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "requires": { "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", + "make-dir": "^4.0.0", "supports-color": "^7.1.0" }, "dependencies": { @@ -18978,9 +21789,9 @@ } }, "istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", "dev": true, "requires": { "html-escaper": "^2.0.0", @@ -19029,9 +21840,9 @@ } }, "jiti": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.20.0.tgz", - "integrity": "sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", "dev": true }, "js-tokens": { @@ -19049,6 +21860,12 @@ "esprima": "^4.0.0" } }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==", + "dev": true + }, "jsdom": { "version": "16.7.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", @@ -19084,18 +21901,22 @@ "xml-name-validator": "^3.0.0" }, "dependencies": { + "form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, "parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", "dev": true - }, - "ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "requires": {} } } }, @@ -19109,11 +21930,23 @@ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, "json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true + }, "json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -19126,12 +21959,13 @@ "dev": true }, "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "requires": { - "graceful-fs": "^4.1.6" + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" } }, "jsonparse": { @@ -19140,6 +21974,18 @@ "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true }, + "jsprim": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-2.0.2.tgz", + "integrity": "sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, "jszip": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", @@ -19149,30 +21995,6 @@ "pako": "~1.0.2", "readable-stream": "~2.3.6", "setimmediate": "^1.0.5" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } } }, "karma": { @@ -19218,30 +22040,12 @@ "wrap-ansi": "^7.0.0" } }, - "mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "requires": { - "minimist": "^1.2.6" - } - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, - "tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, - "requires": { - "rimraf": "^3.0.0" - } - }, "yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -19272,6 +22076,17 @@ "dev": true, "requires": { "which": "^1.2.1" + }, + "dependencies": { + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } } }, "karma-coverage": { @@ -19343,6 +22158,12 @@ "shell-quote": "^1.8.1" } }, + "lazy-ass": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", + "integrity": "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw==", + "dev": true + }, "less": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", @@ -19379,6 +22200,13 @@ "dev": true, "optional": true }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "optional": true + }, "semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", @@ -19427,10 +22255,26 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, + "listr2": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.14.0.tgz", + "integrity": "sha512-TyWI8G99GX9GjE54cJ+RrNMcIFBfwMPxc3XTFiAYGN4s10hWROGtOg7+O6u6LE3mNkyld7RSLE6nrKBvTfcs3g==", + "dev": true, + "requires": { + "cli-truncate": "^2.1.0", + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.5.1", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" + } + }, "loader-runner": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", - "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==" + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==" }, "loader-utils": { "version": "3.2.1", @@ -19458,6 +22302,12 @@ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "dev": true + }, "log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -19519,26 +22369,85 @@ } } }, + "log-update": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", + "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "dev": true, + "requires": { + "ansi-escapes": "^4.3.0", + "cli-cursor": "^3.1.0", + "slice-ansi": "^4.0.0", + "wrap-ansi": "^6.2.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + } + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } + } + }, "log4js": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.7.1.tgz", - "integrity": "sha512-lzbd0Eq1HRdWM2abSD7mk6YIVY0AogGJzb/z+lqzRk+8+XJP+M6L1MS5FUSc3jjGru4dbKjEMJmqlsoYYpuivQ==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", + "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", "dev": true, "requires": { "date-format": "^4.0.14", "debug": "^4.3.4", "flatted": "^3.2.7", "rfdc": "^1.3.0", - "streamroller": "^3.1.3" + "streamroller": "^3.1.5" } }, "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "requires": { - "yallist": "^4.0.0" + "yallist": "^3.0.2" } }, "magic-string": { @@ -19548,62 +22457,114 @@ "dev": true, "requires": { "@jridgewell/sourcemap-codec": "^1.4.15" - }, - "dependencies": { - "@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true - } } }, "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true - } + "semver": "^7.5.3" } }, "make-fetch-happen": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", - "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", + "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", "dev": true, "requires": { "agentkeepalive": "^4.2.1", - "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.1", + "cacache": "^16.1.0", + "http-cache-semantics": "^4.1.0", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^5.0.0", - "minipass-fetch": "^3.0.0", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^2.0.3", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^0.6.3", "promise-retry": "^2.0.1", "socks-proxy-agent": "^7.0.0", - "ssri": "^10.0.0" + "ssri": "^9.0.0" }, "dependencies": { + "@npmcli/fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", + "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "dev": true, + "requires": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + } + }, "@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "cacache": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", + "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", + "dev": true, + "requires": { + "@npmcli/fs": "^2.1.0", + "@npmcli/move-file": "^2.0.0", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "glob": "^8.0.1", + "infer-owner": "^1.0.4", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "mkdirp": "^1.0.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11", + "unique-filename": "^2.0.0" + } + }, + "fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, "http-proxy-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", @@ -19620,6 +22581,63 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + }, + "ssri": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "dev": true, + "requires": { + "minipass": "^3.1.1" + } + }, + "unique-filename": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", + "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", + "dev": true, + "requires": { + "unique-slug": "^3.0.0" + } + }, + "unique-slug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", + "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -19683,9 +22701,9 @@ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" }, "mime-types": { - "version": "2.1.34", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", - "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "requires": { "mime-db": "1.52.0" } @@ -19712,18 +22730,18 @@ "dev": true }, "minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true }, "minipass": { @@ -19749,25 +22767,40 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, "minipass-fetch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", - "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", + "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", "dev": true, "requires": { "encoding": "^0.1.13", - "minipass": "^7.0.3", + "minipass": "^3.1.6", "minipass-sized": "^1.0.3", "minizlib": "^2.1.2" }, "dependencies": { "minipass": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", - "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true } } @@ -19789,6 +22822,12 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -19810,6 +22849,12 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -19830,6 +22875,12 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -19850,6 +22901,12 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -19871,14 +22928,23 @@ "requires": { "yallist": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "requires": { + "minimist": "^1.2.6" + } }, "mrmime": { "version": "1.0.1", @@ -19908,9 +22974,9 @@ "dev": true }, "nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", "dev": true }, "needle": { @@ -19983,39 +23049,28 @@ "dev": true }, "node-gyp": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", - "integrity": "sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz", + "integrity": "sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==", "dev": true, "requires": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", "glob": "^7.1.4", "graceful-fs": "^4.2.6", - "make-fetch-happen": "^11.0.3", + "make-fetch-happen": "^10.0.3", "nopt": "^6.0.0", "npmlog": "^6.0.0", "rimraf": "^3.0.2", "semver": "^7.3.5", "tar": "^6.1.2", "which": "^2.0.2" - }, - "dependencies": { - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - } } }, "node-gyp-build": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz", - "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.7.0.tgz", + "integrity": "sha512-PbZERfeFdrHQOOXiAKOY0VPbykZy90ndPKk0d+CFDegTKmWp1VgOTz2xACVbr1BjCWxrQp68CXtvNsveFhqDJg==", "dev": true, "optional": true }, @@ -20127,6 +23182,74 @@ "minizlib": "^2.1.2", "npm-package-arg": "^10.0.0", "proc-log": "^3.0.0" + }, + "dependencies": { + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "requires": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true + } + } + } } }, "npm-run-path": { @@ -20172,9 +23295,9 @@ "dev": true }, "object-inspect": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", "dev": true }, "object-path": { @@ -20307,6 +23430,12 @@ "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", "dev": true }, + "ospath": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz", + "integrity": "sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA==", + "dev": true + }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -20486,9 +23615,9 @@ }, "dependencies": { "lru-cache": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", - "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", "dev": true } } @@ -20505,6 +23634,18 @@ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "dev": true + }, "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -20517,11 +23658,10 @@ "dev": true }, "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "optional": true + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true }, "piscina": { "version": "4.0.0", @@ -20603,35 +23743,6 @@ "cosmiconfig": "^8.2.0", "jiti": "^1.18.2", "semver": "^7.3.8" - }, - "dependencies": { - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "cosmiconfig": { - "version": "8.3.6", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", - "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", - "dev": true, - "requires": { - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0", - "path-type": "^4.0.0" - } - }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } - } } }, "postcss-modules-extract-imports": { @@ -20698,6 +23809,12 @@ "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", "dev": true }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true + }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -20737,6 +23854,12 @@ } } }, + "proxy-from-env": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz", + "integrity": "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A==", + "dev": true + }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -20750,10 +23873,20 @@ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", "dev": true }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" }, "qjobs": { "version": "1.2.0", @@ -20762,9 +23895,9 @@ "dev": true }, "qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.10.4", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz", + "integrity": "sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==", "dev": true, "requires": { "side-channel": "^1.0.4" @@ -20797,9 +23930,9 @@ "dev": true }, "raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "requires": { "bytes": "3.1.2", @@ -20878,14 +24011,24 @@ } }, "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + } } }, "readdirp": { @@ -20969,6 +24112,15 @@ } } }, + "request-progress": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-3.0.0.tgz", + "integrity": "sha512-MnWzEHHaxHO2iWiQuHrUPBi/1WeBf5PkxQqNyNvLl9VAYSdXkP8tQ3pBSeCPD+yw0v0Aq1zosWLz0BdeXpWwZg==", + "dev": true, + "requires": { + "throttleit": "^1.0.0" + } + }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -21115,9 +24267,9 @@ } }, "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, "safer-buffer": { "version": "2.1.2", @@ -21167,14 +24319,14 @@ } }, "schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "requires": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" } }, "select-hose": { @@ -21184,11 +24336,12 @@ "dev": true }, "selfsigned": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.1.1.tgz", - "integrity": "sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", + "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", "dev": true, "requires": { + "@types/node-forge": "^1.3.0", "node-forge": "^1" } }, @@ -21199,6 +24352,23 @@ "dev": true, "requires": { "lru-cache": "^6.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } } }, "send": { @@ -21347,6 +24517,18 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, + "set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dev": true, + "requires": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, "setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -21416,6 +24598,74 @@ "@sigstore/sign": "^1.0.0", "@sigstore/tuf": "^1.0.3", "make-fetch-happen": "^11.0.1" + }, + "dependencies": { + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "requires": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true + } + } + } } }, "slash": { @@ -21424,6 +24674,43 @@ "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", "dev": true }, + "slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + } + } + }, "smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -21452,6 +24739,15 @@ "dev": true, "requires": { "ws": "~8.11.0" + }, + "dependencies": { + "ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "requires": {} + } } }, "socket.io-parser": { @@ -21496,6 +24792,12 @@ "socks": "^2.6.2" } }, + "source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true + }, "source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", @@ -21597,6 +24899,19 @@ "obuf": "^1.1.2", "readable-stream": "^3.0.6", "wbuf": "^1.7.3" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } } }, "sprintf-js": { @@ -21605,6 +24920,23 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, + "sshpk": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", + "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, "ssri": { "version": "10.0.5", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", @@ -21629,30 +24961,56 @@ "dev": true }, "streamroller": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.3.tgz", - "integrity": "sha512-CphIJyFx2SALGHeINanjFRKQ4l7x2c+rXYJ4BMq0gd+ZK0gi4VT8b+eHe2wi58x4UayBAKx4xtHpXT/ea1cz8w==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz", + "integrity": "sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==", "dev": true, "requires": { "date-format": "^4.0.14", "debug": "^4.3.4", "fs-extra": "^8.1.0" + }, + "dependencies": { + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + } } }, "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { - "safe-buffer": "~5.2.0" + "safe-buffer": "~5.1.0" }, "dependencies": { "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" } } }, @@ -21766,18 +25124,37 @@ } } } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, "terser": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.22.0.tgz", - "integrity": "sha512-hHZVLgRA2z4NWcN6aS5rQDc+7Dcy58HOf2zbYwmFcQ+ua3h6eEFf5lIDKTzbWwlazPyOZsFQO8V80/IjVNExEw==", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.24.0.tgz", + "integrity": "sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + } } }, "terser-webpack-plugin": { @@ -21843,6 +25220,12 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "throttleit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.1.tgz", + "integrity": "sha512-vDZpf9Chs9mAdfY046mcPt8fg5QSZr37hEH4TXYBnDF+izxgrbRGUAAaBvIk/fJm9aOFCGFd1EsNg5AZCbnQCQ==", + "dev": true + }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -21856,12 +25239,12 @@ "dev": true }, "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "dev": true, "requires": { - "os-tmpdir": "~1.0.2" + "rimraf": "^3.0.0" } }, "to-fast-properties": { @@ -21933,8 +25316,91 @@ "@tufjs/models": "1.0.4", "debug": "^4.3.4", "make-fetch-happen": "^11.1.1" + }, + "dependencies": { + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "requires": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true + } + } + } + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" } }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", + "dev": true + }, "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", @@ -21964,15 +25430,15 @@ "dev": true }, "ua-parser-js": { - "version": "0.7.33", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.33.tgz", - "integrity": "sha512-s8ax/CeZdK9R/56Sui0WM6y9OFREJarMRHqLB2EwkovemBxNQ+Bqu8GAsUnVcXKgphb++ghr/B2BZx4mahujPw==", + "version": "0.7.37", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.37.tgz", + "integrity": "sha512-xV8kqRKM+jhMvcHWUKthV9fNebIzrNy//2O9ZwWcfiBFR5f25XVZPLlEajk/sf3Ra15V92isyQqnIEXRDaZWEA==", "dev": true }, "undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==" + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", @@ -22021,9 +25487,9 @@ } }, "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true }, "unpipe": { @@ -22032,6 +25498,12 @@ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", "dev": true }, + "untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true + }, "update-browserslist-db": { "version": "1.0.13", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", @@ -22101,6 +25573,37 @@ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "dev": true }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + }, + "dependencies": { + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", + "dev": true + } + } + }, + "vite": { + "version": "4.4.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.7.tgz", + "integrity": "sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==", + "dev": true, + "requires": { + "esbuild": "^0.18.10", + "fsevents": "~2.3.2", + "postcss": "^8.4.26", + "rollup": "^3.25.2" + } + }, "void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", @@ -22159,9 +25662,10 @@ "dev": true }, "webpack": { - "version": "5.88.2", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", - "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "peer": true, "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -22193,6 +25697,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "peer": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -22204,17 +25709,20 @@ "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peer": true, "requires": {} }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "peer": true }, "schema-utils": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "peer": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -22364,9 +25872,9 @@ } }, "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -22468,9 +25976,9 @@ "dev": true }, "ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", "dev": true, "requires": {} }, @@ -22493,10 +26001,9 @@ "dev": true }, "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" }, "yargs": { "version": "17.7.2", @@ -22519,6 +26026,16 @@ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "yocto-queue": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", diff --git a/ui/package.json b/ui/package.json index cb9b63101..bcd7d8309 100644 --- a/ui/package.json +++ b/ui/package.json @@ -35,6 +35,7 @@ "@angular/compiler-cli": "~16.2.10", "@types/jasmine": "~5.1.1", "@types/node": "^20.8.7", + "cypress": "^13.3.0", "jasmine-core": "~5.1.1", "karma": "~6.4.2", "karma-chrome-launcher": "~3.2.0", diff --git a/ui/src/app/components/direct-connection/direct-connection.component.html b/ui/src/app/components/direct-connection/direct-connection.component.html index 598ff6cac..df390dba1 100644 --- a/ui/src/app/components/direct-connection/direct-connection.component.html +++ b/ui/src/app/components/direct-connection/direct-connection.component.html @@ -64,7 +64,7 @@

Connection Detail


Spanner Dialect

- Select a spanner dialect + Spanner dialect {{ element.displayName }} @@ -79,7 +79,7 @@

Spanner Dialect

- diff --git a/ui/src/app/components/header/header.component.html b/ui/src/app/components/header/header.component.html index a511d86dc..78148f5c0 100644 --- a/ui/src/app/components/header/header.component.html +++ b/ui/src/app/components/header/header.component.html @@ -14,6 +14,7 @@ Spanner Instance Id: {{ spannerConfig.SpannerInstanceID }} - edit diff --git a/ui/src/app/components/object-explorer/object-explorer.component.html b/ui/src/app/components/object-explorer/object-explorer.component.html index 26af66499..f1d0a4693 100644 --- a/ui/src/app/components/object-explorer/object-explorer.component.html +++ b/ui/src/app/components/object-explorer/object-explorer.component.html @@ -217,7 +217,7 @@
- +
Status diff --git a/ui/src/app/components/update-spanner-config-form/update-spanner-config-form.component.html b/ui/src/app/components/update-spanner-config-form/update-spanner-config-form.component.html index 17d61f7f0..e2d01f819 100644 --- a/ui/src/app/components/update-spanner-config-form/update-spanner-config-form.component.html +++ b/ui/src/app/components/update-spanner-config-form/update-spanner-config-form.component.html @@ -4,7 +4,7 @@

Connect to Spanner

Project ID - +
Connect to Spanner maxlength="64" pattern="^[a-z]([-a-z0-9]*[a-z0-9])?" formControlName="SpannerInstanceID" + id="instance-id" /> {{ updateConfigForm.value.SpannerInstanceID?.length || 0 }}/64Connect to Spanner